-
Couldn't load subscription status.
- Fork 8
feat: complete homepage redesign with Intersect MBO branding #87
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
danbaruka
wants to merge
3
commits into
IntersectMBO:main
Choose a base branch
from
danbaruka:main
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.
+1,144
−93
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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
130 changes: 120 additions & 10 deletions
130
website/src/components/HomepageFeatures/styles.module.css
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,15 +1,125 @@ | ||
| .features { | ||
| display: flex; | ||
| align-items: center; | ||
| padding: 2rem 0; | ||
| width: 100%; | ||
| padding: 6rem 0; | ||
| background: #ffffff; | ||
| } | ||
|
|
||
| .featureIcon { | ||
| font-size: 4rem; | ||
| .featuresHeader { | ||
| text-align: center; | ||
| margin-bottom: 4rem; | ||
| } | ||
|
|
||
| .featuresTitle { | ||
| font-size: 2.5rem; | ||
| font-weight: 700; | ||
| color: var(--ifm-color-primary); | ||
| margin-bottom: 1rem; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| height: 120px; | ||
| line-height: 1.2; | ||
| } | ||
|
|
||
| .featuresSubtitle { | ||
| font-size: 1.25rem; | ||
| color: var(--ifm-color-content-secondary); | ||
| margin: 0; | ||
| line-height: 1.5; | ||
| } | ||
|
|
||
| .featureCard { | ||
| background: #ffffff; | ||
| border: 1px solid rgba(1, 40, 170, 0.1); | ||
| border-radius: 16px; | ||
| padding: 2.5rem 2rem; | ||
| height: 100%; | ||
| transition: all 0.3s ease; | ||
| box-shadow: 0 2px 8px rgba(1, 40, 170, 0.05); | ||
| } | ||
|
|
||
| .featureCard:hover { | ||
| border-color: var(--ifm-color-primary); | ||
| box-shadow: 0 8px 32px rgba(1, 40, 170, 0.15); | ||
| transform: translateY(-4px); | ||
| } | ||
|
|
||
| .featureContent { | ||
| text-align: center; | ||
| } | ||
|
|
||
| .featureTitle { | ||
| font-size: 1.5rem; | ||
| font-weight: 600; | ||
| color: var(--ifm-color-primary); | ||
| margin-bottom: 1.5rem; | ||
| line-height: 1.3; | ||
| } | ||
|
|
||
| .featureDescription { | ||
| font-size: 1rem; | ||
| color: var(--ifm-color-content-secondary); | ||
| line-height: 1.6; | ||
| margin: 0; | ||
| } | ||
|
|
||
| /* Dark mode styles */ | ||
| [data-theme='dark'] .features { | ||
| background: var(--ifm-background-color); | ||
| } | ||
|
|
||
| [data-theme='dark'] .featureCard { | ||
| background: var(--ifm-background-surface-color); | ||
| border-color: rgba(77, 102, 209, 0.2); | ||
| } | ||
|
|
||
| [data-theme='dark'] .featureCard:hover { | ||
| border-color: var(--ifm-color-primary); | ||
| box-shadow: 0 8px 32px rgba(77, 102, 209, 0.2); | ||
| } | ||
|
|
||
| /* Responsive design */ | ||
| @media screen and (max-width: 996px) { | ||
| .features { | ||
| padding: 4rem 0; | ||
| } | ||
|
|
||
| .featuresTitle { | ||
| font-size: 2rem; | ||
| } | ||
|
|
||
| .featuresSubtitle { | ||
| font-size: 1.125rem; | ||
| } | ||
|
|
||
| .featureCard { | ||
| padding: 2rem 1.5rem; | ||
| } | ||
| } | ||
|
|
||
| @media (max-width: 768px) { | ||
| .features { | ||
| padding: 3rem 0; | ||
| } | ||
|
|
||
| .featuresHeader { | ||
| margin-bottom: 3rem; | ||
| } | ||
|
|
||
| .featuresTitle { | ||
| font-size: 1.75rem; | ||
| } | ||
|
|
||
| .featuresSubtitle { | ||
| font-size: 1rem; | ||
| } | ||
|
|
||
| .featureCard { | ||
| padding: 1.5rem 1rem; | ||
| margin-bottom: 1.5rem; | ||
| } | ||
|
|
||
| .featureTitle { | ||
| font-size: 1.25rem; | ||
| margin-bottom: 1rem; | ||
| } | ||
|
|
||
| .featureDescription { | ||
| font-size: 0.95rem; | ||
| } | ||
| } |
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.
I would keep the link to the channel somewhere, but it is ok to remove it, if there is not a way to cleanly advise that the link may be dead if they have not already joined Intersect and thereby the Discord.