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

Redesigned website #10179

Merged
merged 55 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
9d69fb2
Bump @theguild/components
hasparus Oct 17, 2024
ececb93
Bump components to snapshot
hasparus Oct 17, 2024
880844b
Modify Tailwind config
hasparus Oct 17, 2024
2acae8b
Add a font, footer and navmenu
hasparus Oct 17, 2024
2d68c1e
Bump Components
hasparus Oct 17, 2024
069d992
Disable autoImportThemeStyle
hasparus Oct 17, 2024
fbf3cc3
Add draft FAQs
hasparus Oct 17, 2024
93c4b49
Add sections reused between websites
hasparus Oct 17, 2024
cd9fef1
Comment out FrequentlyAskedQuestions
hasparus Oct 17, 2024
d72ef34
Add dev-ex-cards
hasparus Oct 17, 2024
d70dfd0
Add favicon.svg
hasparus Oct 22, 2024
6b6edc6
Add eslint-plugin-tailwindcss
hasparus Oct 22, 2024
39323f3
Add a hero section
hasparus Oct 22, 2024
25a1429
Remove FAQs until they are needed
hasparus Oct 22, 2024
7c42066
Fix spacing
hasparus Oct 22, 2024
dbfcd47
Add TypeSafeCards
hasparus Oct 22, 2024
77a859f
Add a todo comment
hasparus Oct 28, 2024
b8f58d7
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Oct 28, 2024
efa6094
Merge branch 'master' into new-website
hasparus Oct 31, 2024
525949e
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Oct 31, 2024
b8f818f
Add plugins search, tweak plugins icons
hasparus Oct 31, 2024
82dffb0
Add postcss-nesting
hasparus Oct 31, 2024
2d8faf5
Add products, the-guild and gql foundation to _meta.ts
hasparus Oct 31, 2024
cfcf358
Tweak margin
hasparus Oct 31, 2024
2dea03f
Add ExploreMainProductCards and update texts
hasparus Nov 1, 2024
76549f7
Colocate plugin icons with plugins.ts
hasparus Nov 5, 2024
2cecc8e
Update modules icon to a temp one
hasparus Nov 5, 2024
42b2224
Tweak Vue icon
hasparus Nov 5, 2024
b8b29d7
Update Hasura icon
hasparus Nov 5, 2024
02c0df5
Update icons
hasparus Nov 7, 2024
d717a64
Change logos in navmenu and footer
hasparus Nov 8, 2024
73a985b
Tweak footer logo
hasparus Nov 8, 2024
e5be4e0
Remove the yellow CTA section
hasparus Nov 8, 2024
ac50626
Use stable version, tweak margins, hide hamburger menu footer with th…
hasparus Nov 8, 2024
e9f0c5f
Update website/src/components/hero/index.tsx
hasparus Nov 11, 2024
fe249ac
Update website/src/components/hero/index.tsx
hasparus Nov 11, 2024
9e18038
Update website/src/components/hero/index.tsx
hasparus Nov 11, 2024
fbfa561
Update website/public/favicon.svg
hasparus Nov 11, 2024
0953703
Update website/public/favicon.svg
hasparus Nov 11, 2024
a86f0cb
Move eslint plugin dep and use a version that works
hasparus Nov 11, 2024
2d587bf
Update lockfile
hasparus Nov 11, 2024
341568d
Update ESLint and Tailwind configs
hasparus Nov 11, 2024
4b9295a
Merge branch 'master' into new-website
hasparus Nov 11, 2024
170e2ef
Add missing Tailwind dependency, remove promoted line from config, bu…
hasparus Nov 11, 2024
d72f6da
Turn PostCSS config to mjs
hasparus Nov 11, 2024
f4dbd31
Add a missing dependency postcss-lightningcss
hasparus Nov 11, 2024
ebf6ad8
Update website/src/components/hero/index.tsx
hasparus Nov 11, 2024
44ef94c
Bump and format
hasparus Nov 11, 2024
b10947e
Move CSS vars to body
hasparus Nov 11, 2024
28a1a48
Bump components
hasparus Nov 11, 2024
c655213
Build again
hasparus Nov 11, 2024
f9a5746
Configure .developerMenu in navigation
hasparus Nov 11, 2024
cb21993
Merge branch 'master' into new-website
hasparus Nov 13, 2024
41e156c
Bump Components
hasparus Nov 13, 2024
6a73f39
Bump Components to include wider navmenu
hasparus Nov 13, 2024
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
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
root: true,
extends: ['@theguild'],
extends: ['@theguild', 'plugin:tailwindcss/recommended'],
rules: {
'no-empty': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@babel/preset-typescript": "7.24.7",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.7",
"@theguild/eslint-config": "0.12.0",
"@theguild/eslint-config": "0.13.0",
"@theguild/prettier-config": "0.1.1",
"@types/jest": "28.1.8",
"babel-jest": "29.7.0",
Expand All @@ -69,7 +69,8 @@
"ts-node": "10.9.2",
"tslib": "2.6.3",
"tsx": "4.17.0",
"typescript": "5.5.4"
"typescript": "5.5.4",
"eslint-plugin-tailwindcss": "npm:@hasparus/[email protected]"
},
"lint-staged": {
"packages/**/src/**/*.{ts,tsx}": [
Expand Down
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 @@ const PLUGINS_REDIRECTS = Object.entries(CategoryToPackages).flatMap(([category,
);

export default withGuildDocs({
nextraConfig: {
autoImportThemeStyle: false,
},
output: 'export',
experimental: {
urlImports: [
Expand Down
12 changes: 9 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@
"generate-json-config": "tsx generate-config-json-schema.ts"
},
"devDependencies": {
"@theguild/tailwind-config": "0.4.2",
"@theguild/tailwind-config": "0.6.0",
"@types/dedent": "0.7.2",
"@types/jsonpath": "0.2.4",
"@types/node": "20.16.1",
"@types/react": "18.3.3",
"fast-xml-parser": "4.4.1",
"jsonpath": "1.1.1",
"prettier-plugin-tailwindcss": "0.2.8"
"postcss-import": "^16.1.0",
"postcss-lightningcss": "^1.0.1",
"prettier-plugin-tailwindcss": "0.2.8",
"tailwindcss": "^3.4.14"
},
"dependencies": {
"@graphql-codegen/add": "5.0.3",
Expand Down Expand Up @@ -67,7 +70,9 @@
"@graphql-codegen/urql-introspection": "2.2.1",
"@mizdra/graphql-codegen-typescript-fabbrica": "^0.6.0",
"@monaco-editor/react": "4.6.0",
"@theguild/components": "6.6.3",
"@radix-ui/react-accordion": "^1.2.1",
"@radix-ui/react-icons": "^1.3.0",
"@theguild/components": "7.2.6-alpha-20241113150056-4fde1eeb45f35f58300f9d846528945f771121df",
"classnames": "2.5.1",
"date-fns": "2.30.0",
"dedent": "1.5.3",
Expand All @@ -76,6 +81,7 @@
"next": "14.2.3",
"next-mdx-remote": "4.4.1",
"next-sitemap": "4.2.3",
"postcss-nesting": "^13.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "8.0.7",
Expand Down
1 change: 0 additions & 1 deletion website/postcss.config.cjs

This file was deleted.

9 changes: 9 additions & 0 deletions website/postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import config from '@theguild/tailwind-config/postcss.config';

export default {
...config,
plugins: {
...config.plugins,
'postcss-nesting': {},
},
};
1,989 changes: 0 additions & 1,989 deletions website/public/assets/illustrations/gql-codegen-cover.svg

This file was deleted.

492 changes: 0 additions & 492 deletions website/public/assets/illustrations/gql-generate-code-illustration.svg

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion website/public/assets/img/icons/apollo.svg

This file was deleted.

9 changes: 0 additions & 9 deletions website/public/assets/img/icons/codegen.svg

This file was deleted.

1 change: 0 additions & 1 deletion website/public/assets/img/icons/graphql.svg

This file was deleted.

1 change: 0 additions & 1 deletion website/public/assets/img/icons/java.svg

This file was deleted.

1 change: 0 additions & 1 deletion website/public/assets/img/icons/vue.svg

This file was deleted.

Binary file removed website/public/favicon.ico
Binary file not shown.
19 changes: 19 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.
47 changes: 47 additions & 0 deletions website/src/components/dev-ex-cards.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import { cn, Heading, InfoCard } from '@theguild/components';

import boxSvg from './icons/box.svg';
import checkmarksSvg from './icons/checkmarks.svg';
import speedometerSvg from './icons/speedometer.svg';

export function DevExCards(props: { className?: string }) {
return (
<section className={cn('px-4 py-6 sm:py-12 md:px-6 lg:py-24 xl:px-[120px]', props.className)}>
<Heading as="h3" size="md" className="text-balance text-center">
Your chance to fully use GraphQL.
</Heading>
<p className="mx-auto mt-4 max-w-[700px] text-center text-green-800">
Codegen enhances your GraphQL development with fully typed client and server code, generating robust,
error-resistant solutions in seconds
</p>
<ul className="mt-6 flex flex-row flex-wrap justify-center gap-2 md:mt-16 md:gap-6">
<InfoCard
as="li"
heading="Typed Queries, Mutations, and Subscriptions"
icon={<img src={boxSvg.src} alt="" />}
hasparus marked this conversation as resolved.
Show resolved Hide resolved
className="flex-1 rounded-2xl md:rounded-3xl"
>
Automate the creation of typed queries, mutations, and subscriptions for frameworks like React, Vue, Angular,
and more.
</InfoCard>
<InfoCard
as="li"
heading="Typed GraphQL resolvers"
icon={<img src={speedometerSvg.src} alt="" />}
className="flex-1 basis-full rounded-2xl md:basis-0 md:rounded-3xl"
>
Generate typed GraphQL resolvers for any Node.js or Java GraphQL server, ensuring compatibility and
efficiency.
</InfoCard>
<InfoCard
as="li"
heading="Fully-typed Node.js SDKs"
icon={<img src={checkmarksSvg.src} alt="" />}
className="flex-1 basis-full rounded-2xl md:rounded-3xl lg:basis-0"
>
Produce fully-typed Node.js SDKs, enhancing development with reliable, strongly typed software components.
</InfoCard>
</ul>
</section>
);
}
Loading
Loading