Skip to content

Commit

Permalink
Sunrise countdown banner tweaks (#703)
Browse files Browse the repository at this point in the history
* Update dependencies + enable `transition` on `SunriseCountdownBanner`

* Sunrise countdown banner tweaks
  • Loading branch information
benface authored Jun 10, 2024
1 parent 4884dc8 commit 6e18e7e
Show file tree
Hide file tree
Showing 7 changed files with 293 additions and 335 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV ENVIRONMENT=$ENVIRONMENT
ENV PNPM_HOME="/usr/bin"

RUN apk add --no-cache git
RUN npm install -g pnpm@9.1.0
RUN npm install -g pnpm@9.2.0

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "the-graph-docs-monorepo",
"private": true,
"packageManager": "pnpm@9.1.0",
"packageManager": "pnpm@9.2.0",
"scripts": {
"build": "NODE_OPTIONS='--max_old_space_size=4096' turbo run build",
"check": "pnpm typecheck && pnpm lint && pnpm prettier:check",
Expand All @@ -22,7 +22,7 @@
"eslint": "^8.57.0",
"eslint-plugin-mdx": "^2.3.4",
"prettier": "^3.3.1",
"prettier-plugin-tailwindcss": "^0.6.1",
"prettier-plugin-tailwindcss": "^0.6.2",
"remark-frontmatter": "^5.0.0",
"remark-lint-first-heading-level": "^3.1.2",
"remark-lint-heading-increment": "^3.1.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/nextra-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
"react-use": "^17.5.0"
},
"devDependencies": {
"@edgeandnode/gds": "5.15.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
"@edgeandnode/go": "6.21.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
"@edgeandnode/gds": "5.15.0-sunrise-countdown-banner-1718059604179-82fb449b35d2342bf73e99c32eb698f50355f914",
"@edgeandnode/go": "6.23.0-sunrise-countdown-banner-1718059604179-82fb449b35d2342bf73e99c32eb698f50355f914",
"@emotion/react": "^11.11.4",
"@types/lodash": "^4.17.4",
"@types/lodash": "^4.17.5",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"next": "^14.2.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 @@ -19,9 +19,9 @@
"@cloudflare/workers-types": "^4.20240605.0",
"@types/react": "^18.3.3",
"jest-image-snapshot": "^6.4.0",
"tsx": "^4.13.2",
"tsx": "^4.15.1",
"typescript": "^5.4.5",
"vitest": "^1.6.0",
"wrangler": "^3.60.0"
"wrangler": "^3.60.1"
}
}
600 changes: 279 additions & 321 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 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.9.2",
"@edgeandnode/gds": "5.15.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
"@edgeandnode/go": "6.21.0-sunrise-countdown-banner-1717224377798-b1bbf1b3777fe1360638f823941a169764039b97",
"@edgeandnode/common": "^6.10.0",
"@edgeandnode/gds": "5.15.0-sunrise-countdown-banner-1718059604179-82fb449b35d2342bf73e99c32eb698f50355f914",
"@edgeandnode/go": "6.23.0-sunrise-countdown-banner-1718059604179-82fb449b35d2342bf73e99c32eb698f50355f914",
"@emotion/react": "^11.11.4",
"@graphprotocol/contracts": "6.2.1",
"@graphprotocol/nextra-theme": "workspace:*",
"@phosphor-icons/react": "^2.1.5",
"mixpanel-browser": "^2.51.0",
"mixpanel-browser": "^2.52.0",
"next": "^14.2.3",
"next-seo": "^6.5.0",
"next-sitemap": "^4.2.3",
Expand All @@ -42,7 +42,7 @@
"graphql": "^16.8.1",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.4",
"tsx": "^4.13.2",
"tsx": "^4.15.1",
"unified": "^11.0.4"
},
"nextBundleAnalysis": {
Expand Down
2 changes: 1 addition & 1 deletion website/src/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function MyAppWithLocale({ Component, router, pageProps }: AppProps) {
/>
</div>
<Layout
preheader={<SunriseCountdownBanner />}
preheader={<SunriseCountdownBanner transition={true} />}
header={
<GlobalHeader
activeProduct="THE_GRAPH"
Expand Down

0 comments on commit 6e18e7e

Please sign in to comment.