-
Notifications
You must be signed in to change notification settings - Fork 12
Redesign: Match homepage to Figma design and apply theme site-wide #68
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
basit3407
wants to merge
5
commits into
main
Choose a base branch
from
feature/website-redesign
base: main
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 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
5d81087
redesign: match homepage to Figma design and apply theme site-wide
basit3407 894a8bc
fix: keep Request Access visible on mobile homepage
basit3407 b2864e8
fix: remove duplicate site title in browser tab
basit3407 19c6ad7
feat: mobile Request Access as top hero button, Quick Start becomes o…
basit3407 2f699fe
fix: address PR review use design tokens and fix footer link paths
basit3407 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
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 |
|---|---|---|
| @@ -1,11 +1,123 @@ | ||
| /** | ||
| * HomepageFeatures – API card grid styles. | ||
| */ | ||
|
|
||
| .features { | ||
| padding: 3rem 0 4rem; | ||
| } | ||
|
|
||
| /* ── Section header ── */ | ||
| .sectionHeader { | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: baseline; | ||
| margin-bottom: 1.5rem; | ||
| flex-wrap: wrap; | ||
| gap: 0.5rem; | ||
| } | ||
|
|
||
| .sectionTitle { | ||
| font-size: 1.25rem; | ||
| font-weight: 700; | ||
| color: var(--qf-text-primary); | ||
| margin: 0; | ||
| } | ||
|
|
||
| .sectionLink { | ||
| font-size: 0.9rem; | ||
| font-weight: 500; | ||
| color: var(--ifm-color-primary); | ||
| text-decoration: underline; | ||
| text-underline-offset: 2px; | ||
| } | ||
|
|
||
| .sectionLink:hover { | ||
| color: var(--ifm-color-primary-dark); | ||
| } | ||
|
|
||
| /* ── Card grid ── */ | ||
| .cardGrid { | ||
| display: grid; | ||
| grid-template-columns: repeat(3, 1fr); | ||
| gap: 1.25rem; | ||
| } | ||
|
|
||
| /* ── Individual card ── */ | ||
| .card { | ||
| background: var(--qf-surface-card); | ||
| border: 1px solid var(--qf-border-card); | ||
| border-radius: var(--qf-radius-lg); | ||
| padding: 1.5rem; | ||
| display: flex; | ||
| flex-direction: column; | ||
| transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease; | ||
| } | ||
|
|
||
| .card:hover { | ||
| border-color: var(--ifm-color-primary); | ||
| box-shadow: var(--qf-shadow-md); | ||
| transform: translateY(-2px); | ||
| } | ||
|
|
||
| .cardHeader { | ||
| display: flex; | ||
| align-items: center; | ||
| padding: 2rem 0; | ||
| width: 100%; | ||
| gap: 0.6rem; | ||
| margin-bottom: 0.75rem; | ||
| } | ||
|
|
||
| .cardIcon { | ||
| font-size: 1.5rem; | ||
| line-height: 1; | ||
| } | ||
|
|
||
| .cardTitle { | ||
| font-size: 1.1rem; | ||
| font-weight: 700; | ||
| color: var(--qf-text-primary); | ||
| margin: 0; | ||
| } | ||
|
|
||
| .cardDescription { | ||
| font-size: 0.9rem; | ||
| color: var(--qf-text-secondary); | ||
| line-height: 1.6; | ||
| flex: 1; | ||
| margin: 0 0 1rem; | ||
| } | ||
|
|
||
| .cardLink { | ||
| font-size: 0.9rem; | ||
| font-weight: 600; | ||
| color: var(--ifm-color-primary); | ||
| text-decoration: none; | ||
| transition: color 150ms ease; | ||
| } | ||
|
|
||
| .cardLink:hover { | ||
| color: var(--ifm-color-primary-dark); | ||
| text-decoration: underline; | ||
| } | ||
|
|
||
| /* ── Responsive ── */ | ||
| @media screen and (max-width: 768px) { | ||
| .features { | ||
| padding: 2rem 0 3rem; | ||
| } | ||
|
|
||
| .cardGrid { | ||
| grid-template-columns: 1fr; | ||
| gap: 1rem; | ||
| } | ||
|
|
||
| .sectionHeader { | ||
| flex-direction: column; | ||
| gap: 0.25rem; | ||
| } | ||
| } | ||
|
|
||
| .featureSvg { | ||
| height: 200px; | ||
| width: 200px; | ||
| @media screen and (min-width: 769px) and (max-width: 996px) { | ||
| .cardGrid { | ||
| grid-template-columns: repeat(2, 1fr); | ||
| } | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.