Skip to content

Commit 033a4f2

Browse files
authored
Replace AnnouncementBanner by SunriseCountdownBanner (#697)
1 parent 89cdfba commit 033a4f2

File tree

7 files changed

+215
-197
lines changed

7 files changed

+215
-197
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"eslint": "^8.57.0",
2323
"eslint-plugin-mdx": "^2.3.4",
2424
"prettier": "^3.2.5",
25-
"prettier-plugin-tailwindcss": "^0.5.14",
25+
"prettier-plugin-tailwindcss": "^0.6.1",
2626
"remark-frontmatter": "^5.0.0",
2727
"remark-lint-first-heading-level": "^3.1.2",
2828
"remark-lint-heading-increment": "^3.1.2",

packages/nextra-theme/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"react-use": "^17.5.0"
4444
},
4545
"devDependencies": {
46-
"@edgeandnode/gds": "^5.12.0",
47-
"@edgeandnode/go": "^6.18.1",
46+
"@edgeandnode/gds": "^5.15.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
47+
"@edgeandnode/go": "^6.21.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
4848
"@emotion/react": "^11.11.4",
4949
"@types/lodash": "^4.17.4",
5050
"@types/react": "^18.3.3",

packages/og-image/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"yoga-wasm-web": "0.3.3"
1717
},
1818
"devDependencies": {
19-
"@cloudflare/workers-types": "^4.20240524.0",
19+
"@cloudflare/workers-types": "^4.20240529.0",
2020
"@types/react": "^18.3.3",
2121
"jest-image-snapshot": "^6.4.0",
2222
"tsx": "^4.11.0",
2323
"typescript": "^5.4.5",
2424
"vitest": "^1.6.0",
25-
"wrangler": "^3.57.2"
25+
"wrangler": "^3.58.0"
2626
}
2727
}

pnpm-lock.yaml

+202-186
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prettier.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ module.exports = {
66
proseWrap: 'never',
77
plugins: ['prettier-plugin-tailwindcss'],
88
tailwindConfig: './website/tailwind.config.ts',
9+
tailwindPreserveWhitespace: true,
10+
tailwindFunctions: ['classNames'],
911
overrides: [
1012
{
1113
files: ['**/tsconfig.json'],

website/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"typecheck": "tsc --noEmit"
1414
},
1515
"dependencies": {
16-
"@edgeandnode/common": "^6.8.0",
17-
"@edgeandnode/gds": "^5.12.0",
18-
"@edgeandnode/go": "^6.18.1",
16+
"@edgeandnode/common": "^6.8.1",
17+
"@edgeandnode/gds": "^5.15.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
18+
"@edgeandnode/go": "^6.21.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
1919
"@emotion/react": "^11.11.4",
2020
"@graphprotocol/contracts": "6.2.1",
2121
"@graphprotocol/nextra-theme": "workspace:*",
2222
"@phosphor-icons/react": "^2.1.5",
23-
"mixpanel-browser": "^2.50.0",
23+
"mixpanel-browser": "^2.51.0",
2424
"next": "^14.2.3",
2525
"next-seo": "^6.5.0",
2626
"next-sitemap": "^4.2.3",

website/src/_app.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
Link,
1616
type NestedStrings,
1717
} from '@edgeandnode/gds'
18-
import { AnnouncementBanner, CookieBanner, GlobalFooter, GlobalHeader } from '@edgeandnode/go'
18+
import { CookieBanner, GlobalFooter, GlobalHeader, SunriseCountdownBanner } from '@edgeandnode/go'
1919

2020
import { supportedLocales, translations, useI18n } from '@/i18n'
2121

@@ -152,7 +152,7 @@ function MyAppWithLocale({ Component, router, pageProps }: AppProps) {
152152
/>
153153
</div>
154154
<Layout
155-
preheader={<AnnouncementBanner />}
155+
preheader={<SunriseCountdownBanner />}
156156
header={
157157
<GlobalHeader
158158
activeProduct="THE_GRAPH"

0 commit comments

Comments
 (0)