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

Rebranding UI new landing page #8207

Merged
merged 45 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
90f424d
Squash merge "Add Mesh Hero #8159"
hasparus Dec 30, 2024
05fc4a4
Squash merge "Add Datasources Illustration #8181"
hasparus Dec 30, 2024
c1992f4
Remove images and the old landing page
hasparus Dec 30, 2024
19c92ae
Add all sections (sandbox is BAD)
hasparus Dec 30, 2024
0a94929
Add fonts, fix paddings for mobiles
hasparus Dec 30, 2024
44c2642
Add .light class to body
hasparus Dec 30, 2024
bbd508c
Remove Plugins link
hasparus Dec 30, 2024
18b497f
Tweak styles, add meta
hasparus Dec 30, 2024
b26903d
Set @theguild/components version to 7.4.0
hasparus Dec 30, 2024
caf15f7
Hack around CodeSandbox stealing focus. We need something better
hasparus Jan 1, 2025
cf1c186
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Jan 1, 2025
c4db35e
Style the select, add a lazy prop
hasparus Jan 1, 2025
47f5e00
Fix padding
hasparus Jan 2, 2025
aa5cd3b
Work around iframe autoscroll with nested iframe and position:fixed
hasparus Jan 2, 2025
d35c595
Update website/src/components/mesh-hero.tsx
hasparus Jan 2, 2025
da8c5e3
Format
hasparus Jan 2, 2025
6825b16
Remove redundant tailwind classes
hasparus Jan 2, 2025
bec0262
Add target=_blank
hasparus Jan 2, 2025
9fe563d
Fix Datasources List z-index
hasparus Jan 2, 2025
13335ee
Add the links I forgot about
hasparus Jan 2, 2025
0839e41
Use whole width of the screen in Comparison Table on mobile
hasparus Jan 2, 2025
e4e6df5
Move shrink-0 to Mesh logo
hasparus Jan 2, 2025
3fd4aad
Add new favicon
hasparus Jan 2, 2025
6b515b6
Remove InstallButton
hasparus Jan 2, 2025
d9ce99c
Use VersionDropdown
hasparus Jan 4, 2025
c71c53d
Make one small ugly CSS fix
hasparus Jan 4, 2025
99cc051
Merge branch 'master' into rebranding-ui-new-landing-page
hasparus Jan 4, 2025
815bbf1
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Jan 4, 2025
c35a77e
Merge branch 'master' into rebranding-ui-new-landing-page
hasparus Jan 6, 2025
1262107
Move chevron to the right, show newest version at the top
hasparus Jan 6, 2025
c55a747
Remove Pricing link
hasparus Jan 10, 2025
5b1b780
Switch the MDX anchor to fix underlines in Safari
hasparus Jan 10, 2025
18340b3
Add arrows to datasources list
hasparus Jan 10, 2025
4b6f7ed
Inline Mesh logo in Hero because of Safari blurry rendering
hasparus Jan 10, 2025
fe37020
Add color-scheme: light to landing page container
hasparus Jan 10, 2025
3f84610
Move color-scheme: light to html (has to be !important bcs of inline …
hasparus Jan 10, 2025
c013653
Style the scrollbar in Comparison Table
hasparus Jan 10, 2025
1408797
Merge branch 'master' into rebranding-ui-new-landing-page
hasparus Jan 10, 2025
e908e9a
Set autoImportThemeStyle to false
hasparus Jan 10, 2025
6a2bb11
Highlight some sections in Run Anywhere
hasparus Jan 10, 2025
52739da
Style focus in datasources list
hasparus Jan 10, 2025
67ca6d6
Style focus in comparison table
hasparus Jan 10, 2025
b82f6fd
Add z-index: 40 for $crisp-chatbox
hasparus Jan 14, 2025
556fc32
Update Components to 7.6.0 and use themeVersion=hive-rebranding
hasparus Jan 15, 2025
3ca27be
Merge branch 'master' into rebranding-ui-new-landing-page
hasparus Jan 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export default withGuildDocs({
eslint: {
ignoreDuringBuilds: true,
},
nextraConfig: {
autoImportThemeStyle: false,
},
redirects: () =>
Object.entries({
'/api': '/docs',
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "next start"
},
"dependencies": {
"@theguild/components": "^7.0.0",
"@theguild/components": "^7.6.0",
"next": "^15.0.0",
"next-sitemap": "^4.2.3",
"react": "^19.0.0",
Expand Down
134 changes: 0 additions & 134 deletions website/public/assets/graphql-logo.svg

This file was deleted.

330 changes: 0 additions & 330 deletions website/public/assets/mesh-diagram.svg

This file was deleted.

Binary file removed website/public/assets/mesh-example.png
Binary file not shown.
40 changes: 0 additions & 40 deletions website/public/assets/open-source.svg

This file was deleted.

51 changes: 51 additions & 0 deletions website/public/codesandbox-iframe.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GraphQL Mesh Example</title>
<style>
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background-color: #0d0d0d;
}
iframe {
position: fixed;
border: 0;
width: 100%;
height: 100%;
}
.error {
padding: 1rem;
font-family: system-ui, sans-serif;
}
</style>
</head>
<body>
<noscript>JavaScript is required to load the example.</noscript>
<iframe
src="about:blank"
loading="eager"
title="Example"
allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
tabindex="-1"
onload="window.scrollTo(0,0)"
></iframe>
<script>
const params = new URLSearchParams(window.location.search);
const example = params.get('example');
if (!example) {
document.body.innerHTML = '<div class="error">Error: No source URL provided</div>';
} else {
const iframe = document.querySelector('iframe');
iframe.src = `https://codesandbox.io/embed/github/ardatan/graphql-mesh/tree/master/examples/${example}`;
}
</script>
</body>
</html>
Binary file removed website/public/favicon.ico
Binary file not shown.
22 changes: 22 additions & 0 deletions website/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 9 additions & 5 deletions website/src/components/comparison-table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,21 @@ const headers = Object.keys(data[0]);
export interface ComparisonTableProps extends React.HTMLAttributes<HTMLDivElement> {}
export function ComparisonTable({ children, className, ...rest }: ComparisonTableProps) {
return (
<section className={cn('py-6 sm:py-12 md:px-6 xl:px-[120px]', className)} {...rest}>
<header className="text-center text-balance">
<section
className={cn('py-6 sm:py-12 md:px-6 xl:px-[120px] lg:py-[120px]', className)}
{...rest}
>
<header className="sm:text-center sm:text-balance">
<Heading as="h3" size="md">
Consider switching from other tools?
</Heading>
<p className="mt-4 mb-8 sm:mb-16 text-green-800 text-balance">
<p className="mt-4 mb-8 sm:mb-16 text-green-800">
Learn the differences between Mesh, Apollo Federation, Hasura and GraphQL Tools
</p>
</header>
<div className="overflow-x-scroll max-sm:p-4 max-sm:-my-4">
<Table className="max-sm:text-sm sm:table-fixed">
{/* this is focusable (by default) because a keyboard user will scroll through the overflowing table with arrows */}
<div className="hive-focus overflow-x-auto nextra-scrollbar [scrollbar-width:auto] max-sm:p-4 max-sm:-my-4 max-sm:-mx-8">
<Table className="max-sm:text-sm sm:table-fixed max-sm:rounded-none">
<thead>
<TableRow>
{headers.map(header => (
Expand Down
Loading
Loading