Skip to content

Commit

Permalink
Replace AnnouncementBanner by SunriseCountdownBanner (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
benface authored Jun 1, 2024
1 parent 89cdfba commit 033a4f2
Show file tree
Hide file tree
Showing 7 changed files with 215 additions and 197 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"eslint": "^8.57.0",
"eslint-plugin-mdx": "^2.3.4",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.14",
"prettier-plugin-tailwindcss": "^0.6.1",
"remark-frontmatter": "^5.0.0",
"remark-lint-first-heading-level": "^3.1.2",
"remark-lint-heading-increment": "^3.1.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/nextra-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"react-use": "^17.5.0"
},
"devDependencies": {
"@edgeandnode/gds": "^5.12.0",
"@edgeandnode/go": "^6.18.1",
"@edgeandnode/gds": "^5.15.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
"@edgeandnode/go": "^6.21.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
"@emotion/react": "^11.11.4",
"@types/lodash": "^4.17.4",
"@types/react": "^18.3.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/og-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"yoga-wasm-web": "0.3.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240524.0",
"@cloudflare/workers-types": "^4.20240529.0",
"@types/react": "^18.3.3",
"jest-image-snapshot": "^6.4.0",
"tsx": "^4.11.0",
"typescript": "^5.4.5",
"vitest": "^1.6.0",
"wrangler": "^3.57.2"
"wrangler": "^3.58.0"
}
}
388 changes: 202 additions & 186 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module.exports = {
proseWrap: 'never',
plugins: ['prettier-plugin-tailwindcss'],
tailwindConfig: './website/tailwind.config.ts',
tailwindPreserveWhitespace: true,
tailwindFunctions: ['classNames'],
overrides: [
{
files: ['**/tsconfig.json'],
Expand Down
8 changes: 4 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@edgeandnode/common": "^6.8.0",
"@edgeandnode/gds": "^5.12.0",
"@edgeandnode/go": "^6.18.1",
"@edgeandnode/common": "^6.8.1",
"@edgeandnode/gds": "^5.15.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
"@edgeandnode/go": "^6.21.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
"@emotion/react": "^11.11.4",
"@graphprotocol/contracts": "6.2.1",
"@graphprotocol/nextra-theme": "workspace:*",
"@phosphor-icons/react": "^2.1.5",
"mixpanel-browser": "^2.50.0",
"mixpanel-browser": "^2.51.0",
"next": "^14.2.3",
"next-seo": "^6.5.0",
"next-sitemap": "^4.2.3",
Expand Down
4 changes: 2 additions & 2 deletions website/src/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
Link,
type NestedStrings,
} from '@edgeandnode/gds'
import { AnnouncementBanner, CookieBanner, GlobalFooter, GlobalHeader } from '@edgeandnode/go'
import { CookieBanner, GlobalFooter, GlobalHeader, SunriseCountdownBanner } from '@edgeandnode/go'

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

Expand Down Expand Up @@ -152,7 +152,7 @@ function MyAppWithLocale({ Component, router, pageProps }: AppProps) {
/>
</div>
<Layout
preheader={<AnnouncementBanner />}
preheader={<SunriseCountdownBanner />}
header={
<GlobalHeader
activeProduct="THE_GRAPH"
Expand Down

0 comments on commit 033a4f2

Please sign in to comment.