forked from graphql/graphql.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
new conf design — register today #5
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
Open
hasparus
wants to merge
7
commits into
new-conf-design--button
Choose a base branch
from
new-conf-design--register-today
base: new-conf-design--button
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
80bb199
Set text color in dark mode
hasparus 24ae065
Add RegisterToday section
hasparus 800b12f
Tweak RegisterToday section spacing
hasparus d09158e
Improve mobile styles
hasparus ef7237a
Improve paddings for medium screen sizes
hasparus 2ccc9c2
Add a global focus style className
hasparus acd4341
Improve medium screen size styles
hasparus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import { clsx } from "clsx" | ||
import NextImage from "next-image-export-optimizer" | ||
|
||
import { Button } from "../../_design-system/button" | ||
|
||
import speakerImage from "./speaker.webp" | ||
|
||
export interface RegisterTodayProps { | ||
className?: string | ||
} | ||
|
||
export function RegisterToday({ className }: RegisterTodayProps) { | ||
return ( | ||
<section | ||
className={clsx( | ||
"flex gap-10 px-4 max-lg:flex-col-reverse lg:px-12 xl:gap-x-24 xl:px-24", | ||
className, | ||
)} | ||
> | ||
{/* todo: test if the placeholder works in deploy preview */} | ||
<NextImage | ||
src={speakerImage} | ||
alt="GraphQL Conference" | ||
width="450" | ||
height="566" | ||
className="aspect-[312/392] w-full object-cover max-sm:hidden sm:aspect-[2] lg:aspect-[450/566] lg:h-[566px] lg:w-[450px]" | ||
/> | ||
<div className="flex flex-col justify-between"> | ||
<div> | ||
<h2 className="typography-h2 text-neu-900"> | ||
Let's celebrate 10 years of GraphQL together | ||
</h2> | ||
<p className="typography-h3 text-neu-800 mt-6 md:mt-10"> | ||
Join three transformative days of expert insights and innovation to | ||
shape the next decade of APIs! | ||
</p> | ||
</div> | ||
<div className="mt-10 flex gap-x-6 gap-y-4 max-sm:flex-col"> | ||
<Button href="https://cvent.me/PBNYEe?utm_source=graphql_conf_2025&utm_medium=website&utm_campaign=register_section"> | ||
Register today | ||
</Button> | ||
<Button | ||
variant="secondary" | ||
href="https://sessionize.com/graphqlconf-2025?utm_medium=website&utm_campaign=speaker_section" | ||
> | ||
Become a speaker | ||
</Button> | ||
</div> | ||
</div> | ||
</section> | ||
) | ||
} |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -503,3 +503,7 @@ div[id^="headlessui-menu-items"] { | |
@apply text-xl; | ||
@apply dark:border-neutral-700/80; | ||
} | ||
|
||
.gql-focus-visible { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
@apply focus-visible:outline-neu-900 focus-visible:outline-offset-[5px]; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is something we'll need to test because blur placeholders just don't work for me locally, and yet they seem to work in prod.