-
-
Notifications
You must be signed in to change notification settings - Fork 29
feat: Landing page update (Revised version) #120
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
bee869f
Reset Hero section
shamimbinnur d78c789
Removed github mock image
shamimbinnur cc1037f
Removed first CTA section
shamimbinnur ca296f8
Removed second CTA
shamimbinnur 2fe52b0
Reset Features.tsx
shamimbinnur c88ac2b
Reset Feature.tsx
shamimbinnur a5786f2
Reset Feature.tsx
shamimbinnur c373e5b
Corrected spelling of BackgroundWrapper
shamimbinnur 5c5ff0c
Added px as an optional parameter to the SectionWrapper
shamimbinnur 1e555bc
Created ContainerWithLine.tsx
shamimbinnur 4d881e4
Implemented hero section
shamimbinnur ac76f2c
Implemented logo section
shamimbinnur a9d1ede
Partially feature implemented
shamimbinnur 3451fdc
More work on feature section
shamimbinnur a1464a2
Fixed padding
shamimbinnur a0f3347
Added endling line
shamimbinnur b570eda
spelling correction
shamimbinnur c7ab6a4
Added newsletter section
shamimbinnur 59b161c
Removed previous subscription section from homepage
shamimbinnur ef65b52
Added hot repo image for mobile view
shamimbinnur 08b4564
Added some background stroke
shamimbinnur 3a03503
Adjusted padding
shamimbinnur 9f539db
Changed URL on the hero
shamimbinnur a63ec24
Update components/sections/home-page/Hero.tsx
bdougie f6de6da
Update components/sections/home-page/Hero.tsx
bdougie 644a3e3
Update components/sections/home-page/Hero.tsx
bdougie 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from 'react' | ||
|
||
const ContainerWithLine: React.FC = ({ children }) => { | ||
return ( | ||
<div className="flex w-full"> | ||
<div className="relative w-[1.5px] mx-1 largeTablet:mx-6"> | ||
<div className="absolute inset-0 bg-[#F87216] blur-sm "></div> | ||
<div className="bg-[#F87216] h-full relative"></div> | ||
</div> | ||
|
||
<div className="w-full"> | ||
{children} | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default ContainerWithLine |
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,14 @@ | ||
import React from 'react' | ||
|
||
const EndingLine = () => { | ||
return ( | ||
<div className="w-full flex px-1 largeTablet:px-6 mb-10"> | ||
<div className="relative flex-1 bg-gradient-to-b border-b-0 border-l-0 border-r-[#F87216] border-t-[#F87216] border h-[200px] w-full to-gray-800"> | ||
<img className="absolute -right-[28px] -top-[28px]" src="/icons/quote.svg" alt="Endling line" /> | ||
</div> | ||
<div className="flex-1"></div> | ||
</div> | ||
) | ||
} | ||
|
||
export default EndingLine |
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
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,65 @@ | ||
import React from 'react' | ||
import SectionWrapper from '../../common/layout/SectionWrapper' | ||
import { Heading, Typography } from '../../common/text' | ||
import GradientBorderWrapper from '../../common/GradientBorderWrapper' | ||
import Image from 'next/image' | ||
|
||
import StrokeR3 from '../../../public/_3_rightStroke.svg' | ||
import StrokeL3 from '../../../public/_3_leftStroke.svg' | ||
|
||
const Newsletter = () => { | ||
return ( | ||
<SectionWrapper pt={100} pb={250}> | ||
<div className="relative w-screen"> | ||
<div className="absolute largeTablet:block top-[-14rem] largeTablet:-top-[10rem] left-[-30rem] largeTablet:left-[-15rem]"> | ||
<Image alt="Doodles" src={StrokeL3} /> | ||
</div> | ||
<div className="absolute largeTablet:block top-[-14rem] largeTablet:-top-[22rem] right-[-34rem] largeTablet:-right-[32rem]"> | ||
<Image alt="Doodles" src={StrokeR3} /> | ||
</div> | ||
</div> | ||
|
||
<div className="flex flex-col items-center gap-y-8"> | ||
<Heading alignSmall="center"> | ||
$orange-to-yellowThe fast track$orange-to-yellow to open source | ||
</Heading> | ||
|
||
<Typography alignSmall="center" variant="body1" > | ||
Stay up to date with the latest OpenSauced news and trends. | ||
</Typography> | ||
|
||
<GradientBorderWrapper> | ||
<form | ||
className="relative box-border px-4 flex items-center w-[280px] h-[38px] text-[#FEEADD] pr-4 py-3 text-sm font-medium bg-[#211E1C] rounded-md largeTablet:w-[394px]" | ||
name="newsletter" | ||
action="?success=true" | ||
data-netlify="true" | ||
data-netlify-honeypot="bot-field" | ||
autoComplete="off" | ||
> | ||
<div hidden aria-hidden="true"> | ||
<label> | ||
Try your luck | ||
<input type="hidden" value="bot-field" name="newsletter" /> | ||
</label> | ||
</div> | ||
<input | ||
placeholder="Email" | ||
name="Your email" | ||
type="email" | ||
className="pr-4 outline-none focus:outline-none bg-[#211E1C] w-[180px] largeTablet:w-[290px]" | ||
></input> | ||
<button | ||
className=" text-brandOrange text-sm cursor-pointer" | ||
type="submit" | ||
> | ||
Subscribe | ||
</button> | ||
</form> | ||
</GradientBorderWrapper> | ||
</div> | ||
</SectionWrapper> | ||
) | ||
} | ||
|
||
export default Newsletter |
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.