Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextra 4 Migration 3: layouts and fixes #8118

Open
wants to merge 22 commits into
base: rebranding-2-nextra-4-filemoves
Choose a base branch
from

Conversation

hasparus
Copy link
Collaborator

@hasparus hasparus commented Dec 10, 2024

(Part of a PR stack starting from #8115)

Description

This PR contains migration to Nextra 4 and @theguild/components v8 besides the file moves.
The Navigation and Footer here already have the new Hive Rebranding design.

Per @dimaMachina's suggestion I've added layout files for content pages and landing pages (light-mode only, narrower) in parenthesised dirs.

https://nextjs.org/docs/app/building-your-application/routing/route-groups#creating-multiple-root-layouts

If you like what's inside hive-inner-layout.tsx and hive-outer-layout.tsx, we can promote it to components package.

Type of change

  • New feature (moves to new designs and server components)

Screenshots/Sandbox (if appropriate/relevant):

image

@hasparus hasparus mentioned this pull request Dec 10, 2024
@hasparus hasparus force-pushed the rebranding-3-nextra-4-fixes branch 2 times, most recently from 576466b to 6ac2040 Compare December 10, 2024 18:16
@hasparus hasparus force-pushed the rebranding-2-nextra-4-filemoves branch from 4f61db0 to 2a19ce3 Compare December 16, 2024 10:51
@hasparus hasparus force-pushed the rebranding-3-nextra-4-fixes branch from da15217 to 4e27b21 Compare December 16, 2024 10:51
@hasparus hasparus force-pushed the rebranding-3-nextra-4-fixes branch from 81400e9 to efba5ba Compare December 16, 2024 14:42
@hasparus hasparus force-pushed the rebranding-2-nextra-4-filemoves branch from 2a19ce3 to deccea0 Compare December 16, 2024 14:42
@@ -24,7 +24,7 @@ function Hero() {
return (
<div className="w-full">
<div className="py-20 sm:py-24 lg:py-32 my-6">
<h1 className="max-w-screen-md mx-auto font-extrabold text-5xl sm:text-5xl lg:text-6xl text-center bg-gradient-to-r from-cyan-400 to-sky-500 dark:from-cyan-400 dark:to-sky-600 bg-clip-text text-transparent">
<h1 className="max-w-screen-md mx-auto font-extrabold text-5xl sm:text-5xl lg:text-6xl text-center bg-gradient-to-r from-cyan-400 to-sky-500 dark:from-cyan-400 dark:to-sky-600 bg-clip-text text-transparent leading-normal">
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was weirdly clipped and I'm removing it in next PR anyway.

@@ -1,157 +0,0 @@
import { Callout } from '@theguild/components'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't rendered anywhere, I'm not sure if it's needed, and it was crashing my build.

We can always get it back from git history.

@hasparus hasparus requested a review from dimaMachina December 16, 2024 16:18
Copy link
Contributor

github-actions bot commented Dec 16, 2024

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

github-actions bot commented Dec 16, 2024

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-mesh/cache-cfw-kv 0.104.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-file 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-inmemory-lru 0.0.6-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-localforage 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-redis 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/compose-cli 1.3.3-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/fusion-composition 0.7.16-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/include 0.2.9-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/apollo-link 0.105.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/cli 0.98.14-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/config 0.106.14-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/graphql 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/grpc 0.106.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/json-schema 0.108.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/mongoose 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/mysql 0.104.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/neo4j 0.105.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/odata 0.105.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/openapi 0.108.12-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/postgraphile 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/raml 0.108.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/soap 0.105.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/supergraph 0.9.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/thrift 0.105.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/tuql 0.104.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/http 0.105.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/merger-bare 0.104.13-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/merger-stitching 0.104.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/migrate-config-cli 1.4.6-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/runtime 0.105.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/store 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-cache 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-encapsulate 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-extend 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-federation 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-filter-schema 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-hive 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-hoist-field 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-naming-convention 0.103.12-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-prefix 0.103.12-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-prune 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-rate-limit 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-rename 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-replace-field 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-resolvers-composition 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-transfer-schema 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-type-merging 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/types 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/urql-exchange 0.105.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/utils 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@omnigraph/json-schema 0.108.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@omnigraph/mysql 0.8.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@omnigraph/neo4j 0.9.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@omnigraph/odata 0.1.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@omnigraph/openapi 0.108.12-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@omnigraph/raml 0.108.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@omnigraph/soap 0.105.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@omnigraph/sqlite 0.7.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@omnigraph/thrift 0.8.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-deduplicate-request 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-hive 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-http-cache 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-http-details-extensions 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-jit 0.1.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-jwt-auth 1.3.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-live-query 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-mock 0.103.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-newrelic 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-operation-field-permissions 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-operation-headers 1.3.11-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-rate-limit 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-response-cache 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-snapshot 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-statsd 0.103.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-grpc 0.1.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-mysql 0.8.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-neo4j 0.8.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-odata 0.1.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-rest 0.8.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-soap 0.8.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-sqlite 0.8.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-thrift 0.8.10-alpha-20241230162218-8b132f0d80da720eeb85eabedda8a08edd33ef41 npm ↗︎ unpkg ↗︎

@hasparus hasparus changed the title Rebranding 3: Nextra 4 layouts and fixes Nextra 4 Migration 3: layouts and fixes Dec 16, 2024
Comment on lines +11 to +13
turbo: {
treeShaking: true,
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be under experimental

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants