-
Notifications
You must be signed in to change notification settings - Fork 159
Fix/fix nav on medium width devices #197
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
deveshru2712
wants to merge
8
commits into
apsinghdev:main
Choose a base branch
from
deveshru2712:fix/fix-nav-on-medium-width-devices
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 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
e9dd57f
fix: fix the responsivness of the navbar
deveshru2712 173bcdc
fix: some more fixes in the nav bar
deveshru2712 beb28fc
Merge branch 'main' of github.com:deveshru2712/opensox into fix/fix-n…
deveshru2712 414acfa
fix: change the link label from how it works to working and the contr…
deveshru2712 ab3b90c
Merge branch 'main' of github.com:deveshru2712/opensox into fix/fix-n…
deveshru2712 4c09013
refactor: change the navbar label from working to workflow and also c…
deveshru2712 b12c6e8
fix: fixed gap in nav link in the navbar
deveshru2712 93f1c5f
refactor: update navbar labels and logo alt text
deveshru2712 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
117 changes: 60 additions & 57 deletions
117
apps/web/src/components/landing-sections/how-it-works.tsx
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,66 +1,69 @@ | ||
|
|
||
| import { Sparkles, Upload, Zap } from "lucide-react"; | ||
| import Features from "../ui/features"; | ||
| import Header from "../ui/header"; | ||
|
|
||
| const data = [ | ||
| { | ||
| id: 1, | ||
| title: "1. Set Your Filters", | ||
| content: | ||
| "Choose the languages, stack, activity level, and other preferences that matter to you.", | ||
| image: "/assets/filter.webp", | ||
| icon: <Upload className="w-6 h-6 text-primary" />, | ||
| }, | ||
| { | ||
| id: 2, | ||
| title: "2. Search Instantly", | ||
| content: | ||
| "Hit search and explore thousands of open-source repositories matched to your criteria.", | ||
| image: "/assets/search.webp", | ||
| icon: <Zap className="w-6 h-6 text-primary" />, | ||
| }, | ||
| { | ||
| id: 3, | ||
| title: "3. Discover & Contribute", | ||
| content: | ||
| "Find the perfect project for your stack, start exploring the code, and make meaningful contributions.", | ||
| image: "/assets/contribute.webp", | ||
| icon: <Sparkles className="w-6 h-6 text-primary" />, | ||
| }, | ||
| { | ||
| id: 1, | ||
| title: "1. Set Your Filters", | ||
| content: | ||
| "Choose the languages, stack, activity level, and other preferences that matter to you.", | ||
| image: "/assets/filter.webp", | ||
| icon: <Upload className="w-6 h-6 text-primary" />, | ||
| }, | ||
| { | ||
| id: 2, | ||
| title: "2. Search Instantly", | ||
| content: | ||
| "Hit search and explore thousands of open-source repositories matched to your criteria.", | ||
| image: "/assets/search.webp", | ||
| icon: <Zap className="w-6 h-6 text-primary" />, | ||
| }, | ||
| { | ||
| id: 3, | ||
| title: "3. Discover & Contribute", | ||
| content: | ||
| "Find the perfect project for your stack, start exploring the code, and make meaningful contributions.", | ||
| image: "/assets/contribute.webp", | ||
| icon: <Sparkles className="w-6 h-6 text-primary" />, | ||
| }, | ||
| ]; | ||
|
|
||
| export default function HowItWorks() { | ||
| return ( | ||
| <div id="HIW" className="border-b border-[#252525]"> | ||
| <Header title="How it Works"/> | ||
| <div className="w-full relative px-[30px] lg:px-[50px]"> | ||
| <div | ||
| style={{ | ||
| height: "100%", | ||
| "--pattern-fg": "#252525", | ||
| borderRight: "1px solid #252525", | ||
| backgroundImage: | ||
| "repeating-linear-gradient(315deg, #252525 0, #252525 1px, transparent 0, transparent 50%)", | ||
| backgroundSize: "10px 10px", | ||
| backgroundAttachment: "fixed", | ||
| } as React.CSSProperties} | ||
| className='w-[30px] lg:w-[50px] absolute left-0 top-0' | ||
| /> | ||
| <div | ||
| style={{ | ||
| height: "100%", | ||
| "--pattern-fg": "#252525", | ||
| borderLeft: "1px solid #252525", | ||
| backgroundImage: | ||
| "repeating-linear-gradient(315deg, #252525 0, #252525 1px, transparent 0, transparent 50%)", | ||
| backgroundSize: "10px 10px", | ||
| backgroundAttachment: "fixed", | ||
| } as React.CSSProperties} | ||
| className='w-[30px] lg:w-[50px] absolute right-0 top-0 ' | ||
| /> | ||
| <Features data={data} /> | ||
| </div> | ||
| </div> | ||
| ); | ||
| return ( | ||
| <div id="workflow" className="border-b border-[#252525]"> | ||
| <Header title="How it Works" /> | ||
| <div className="w-full relative px-[30px] lg:px-[50px]"> | ||
| <div | ||
| style={ | ||
| { | ||
| height: "100%", | ||
| "--pattern-fg": "#252525", | ||
| borderRight: "1px solid #252525", | ||
| backgroundImage: | ||
| "repeating-linear-gradient(315deg, #252525 0, #252525 1px, transparent 0, transparent 50%)", | ||
| backgroundSize: "10px 10px", | ||
| backgroundAttachment: "fixed", | ||
| } as React.CSSProperties | ||
| } | ||
| className="w-[30px] lg:w-[50px] absolute left-0 top-0" | ||
| /> | ||
| <div | ||
| style={ | ||
| { | ||
| height: "100%", | ||
| "--pattern-fg": "#252525", | ||
| borderLeft: "1px solid #252525", | ||
| backgroundImage: | ||
| "repeating-linear-gradient(315deg, #252525 0, #252525 1px, transparent 0, transparent 50%)", | ||
| backgroundSize: "10px 10px", | ||
| backgroundAttachment: "fixed", | ||
| } as React.CSSProperties | ||
| } | ||
| className="w-[30px] lg:w-[50px] absolute right-0 top-0 " | ||
| /> | ||
| <Features data={data} /> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } |
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
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.