-
Notifications
You must be signed in to change notification settings - Fork 0
[FRONTEND] Build Landing Page #2 #13
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
Closed
Closed
Changes from all commits
Commits
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 @@ | ||
| export default { | ||
| plugins: { | ||
| tailwindcss: {}, | ||
| autoprefixer: {}, | ||
| }, | ||
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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,35 @@ | ||
| const Content = () => { | ||
| return ( | ||
| <div className="py-20 bg-custom-radial group"> | ||
| <div> | ||
| <h1 className="text-4xl text-center font-semibold pb-8">WinSave is for Saving & Winning</h1> | ||
| {/* Parent container */} | ||
| <div className="flex justify-center my-20 space-x-[-5%] group-hover:space-x-8 transition-all duration-300"> | ||
| {/* Card 1 */} | ||
| <div className="bg-[#232429]/40 text-white w-fit px-8 py-20 border border-[#FAFAFA52] rounded-2xl transform rotate-[-20deg] group-hover:rotate-0 z-10 transition-transform duration-300"> | ||
| <p className="font-bold text-2xl">Deposit</p> | ||
| <p>Deposit for a chance to win big</p> | ||
| <img src="../../public/Images/mail.png" alt="" /> | ||
| </div> | ||
|
|
||
| {/* Card 2 */} | ||
| <div className="bg-[#0F1725] text-white w-fit px-12 py-20 border border-[#FAFAFA52] rounded-2xl z-50 transform group-hover:rotate-0 transition-transform duration-300"> | ||
| <p className="font-bold text-2xl">Win Prizes</p> | ||
| <p>Deposit for a chance to win big</p> | ||
| <img src="../../public/Images/percentage.png" alt="" /> | ||
| </div> | ||
|
|
||
| {/* Card 3 */} | ||
| <div className="bg-[#232429]/40 text-white w-fit px-8 py-20 border border-[#FAFAFA52] rounded-2xl transform rotate-[20deg] group-hover:rotate-0 z-10 transition-transform duration-300"> | ||
| <p className="font-bold text-2xl">No Loss</p> | ||
| <p>Deposit for a chance to win big</p> | ||
| <img src="../../public/Images/safe.png" alt="" /> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| ); | ||
| } | ||
|
|
||
| export default Content; |
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,50 @@ | ||
| const Footer = () => { | ||
| const footerSections = [ | ||
| { | ||
| title: 'COMPANY', | ||
| links: ['About Us', 'Partnerships', 'Games', 'Branding', 'FAQ'] | ||
| }, | ||
| { | ||
| title: 'SOCIAL', | ||
| links: ['Facebook', 'Twitter', 'Instagram', 'TikTok', 'Our Discord'] | ||
| }, | ||
| { | ||
| title: 'SUPPORTED GAMES', | ||
| links: ['League of Legends', 'Counter-Strike 2', 'Valorant', 'TeamFight Tactics', 'Apex Legends'] | ||
| } | ||
| ]; | ||
|
|
||
| return ( | ||
| <footer className="bg-[#030817] py-12"> | ||
| <div className="container mx-auto px-6"> | ||
| <div className="flex flex-wrap"> | ||
| {/* Logo Section */} | ||
| <div className="w-full md:w-1/4 mb-8 md:mb-0"> | ||
| <span className="text-[#02C0FF] text-xl font-semibold">LOGO</span> | ||
| </div> | ||
|
|
||
| {/* Links Sections */} | ||
| {footerSections.map((section, index) => ( | ||
| <div key={index} className="w-full md:w-1/4 mb-8 md:mb-0"> | ||
| <h3 className="text-white text-sm font-medium mb-4">{section.title}</h3> | ||
| <ul className="space-y-2"> | ||
| {section.links.map((link, linkIndex) => ( | ||
| <li key={linkIndex}> | ||
| <a | ||
| href="#" | ||
| className="text-gray-400 hover:text-white text-sm transition-colors duration-200" | ||
| > | ||
| {link} | ||
| </a> | ||
| </li> | ||
| ))} | ||
| </ul> | ||
| </div> | ||
| ))} | ||
| </div> | ||
| </div> | ||
| </footer> | ||
| ); | ||
| }; | ||
|
|
||
| export default Footer; |
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,22 @@ | ||
| const Heropage = () => { | ||
| return ( | ||
| <div className="my-20 relative py-24"> | ||
|
|
||
| <div className="flex justify-center items-center"> | ||
| <h1 className="text-[90px] font-semibold w-[45%] text-center leading-[80px]">The #1 Protocol for Real Adoption</h1> | ||
| </div> | ||
| <p className="text-center pt-4 text-white/80">The permissionless protocol 86,000 people are using to win by saving</p> | ||
|
|
||
| <div className="flex justify-center items-center mt-10"> | ||
| <button className="bg-[#2594E4] py-2 px-3 rounded-lg">Launch DApp</button> | ||
| </div> | ||
| <img src="/Images/gemstoneblue.png" alt="Gem Stone" className='absolute right-[25%] top-[2%]' /> | ||
| <img src="/Images/starknet.png" alt="Starknet" className="absolute right-[18%] top-[30%] animate-slow-bounce" width={70} /> | ||
| <img src="/Images/starknet.png" alt="Starknet" className="absolute top-[30%] left-[10%] animate-slow-bounce" width={120} /> | ||
| <img src="/Images/goldcoin.png" alt="Gold coin" className='absolute right-[25%] bottom-[10%]' /> | ||
| <img src="/Images/diamondblue.png" alt="Diamond Blue" className='absolute left-[15%] bottom-0' /> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export default Heropage; |
DanielEmmanuel1 marked this conversation as resolved.
Show resolved
Hide resolved
|
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,24 @@ | ||
| const Metrics = () => { | ||
| return ( | ||
| <div className="flex justify-around py-10 px-40 text-white text-2xl bg-[#020a1dde]"> | ||
| <div className="flex flex-col text-center"> | ||
| <p className="text-3xl">$5.1 Million</p> | ||
| <p className="text-sm text-white/60">Total Prizes Awarded</p> | ||
| </div> | ||
| <div className="flex flex-col text-center"> | ||
| <p className="text-3xl">$21 Million</p> | ||
| <p className="text-sm text-white/60">Locked with WinSaved</p> | ||
| </div> | ||
| <div className="flex flex-col text-center"> | ||
| <p className="text-3xl">86,000+</p> | ||
| <p className="text-sm text-white/60">Unique Wallets</p> | ||
| </div> | ||
| <div className="flex flex-col text-center"> | ||
| <p className="text-3xl">0</p> | ||
| <p className="text-sm text-white/60">Losses</p> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export default Metrics; |
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,21 @@ | ||
| const Navbar = () => { | ||
| return ( | ||
| <div className="flex justify-between items-center py-10 px-28"> | ||
| <div> | ||
| <p className="font-bold text-lg">LOGO</p> | ||
| </div> | ||
|
|
||
| <div className="flex space-x-5"> | ||
| <p>Home</p> | ||
| <p>Winners</p> | ||
| <p>Docs</p> | ||
| </div> | ||
|
|
||
| <div> | ||
| <button className="bg-[#2594E4] py-2 px-3 rounded-lg">Launch DApp</button> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export default Navbar; |
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,68 +1,13 @@ | ||
| @tailwind base; | ||
| @tailwind components; | ||
| @tailwind utilities; | ||
|
|
||
| :root { | ||
| font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; | ||
| line-height: 1.5; | ||
| font-weight: 400; | ||
|
|
||
| color-scheme: light dark; | ||
| color: rgba(255, 255, 255, 0.87); | ||
| background-color: #242424; | ||
|
|
||
| font-synthesis: none; | ||
| text-rendering: optimizeLegibility; | ||
| -webkit-font-smoothing: antialiased; | ||
| -moz-osx-font-smoothing: grayscale; | ||
| } | ||
|
|
||
| a { | ||
| font-weight: 500; | ||
| color: #646cff; | ||
| text-decoration: inherit; | ||
| } | ||
| a:hover { | ||
| color: #535bf2; | ||
| } | ||
|
|
||
| body { | ||
| margin: 0; | ||
| display: flex; | ||
| place-items: center; | ||
| min-width: 320px; | ||
| min-height: 100vh; | ||
| } | ||
|
|
||
| h1 { | ||
| font-size: 3.2em; | ||
| line-height: 1.1; | ||
| } | ||
|
|
||
| button { | ||
| border-radius: 8px; | ||
| border: 1px solid transparent; | ||
| padding: 0.6em 1.2em; | ||
| font-size: 1em; | ||
| font-weight: 500; | ||
| font-family: inherit; | ||
| background-color: #1a1a1a; | ||
| cursor: pointer; | ||
| transition: border-color 0.25s; | ||
| } | ||
| button:hover { | ||
| border-color: #646cff; | ||
| } | ||
| button:focus, | ||
| button:focus-visible { | ||
| outline: 4px auto -webkit-focus-ring-color; | ||
| } | ||
|
|
||
| @media (prefers-color-scheme: light) { | ||
| :root { | ||
| color: #213547; | ||
| background-color: #ffffff; | ||
| } | ||
| a:hover { | ||
| color: #747bff; | ||
| } | ||
| button { | ||
| background-color: #f9f9f9; | ||
| } | ||
| } | ||
| background-color: black; | ||
| } |
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,24 @@ | ||
| /** @type {import('tailwindcss').Config} */ | ||
| export default { | ||
| content: [ | ||
| "./index.html", | ||
| "./src/**/*.{js,ts,jsx,tsx}", | ||
| ], | ||
| theme: { | ||
| extend: { | ||
| backgroundImage: { | ||
| 'custom-radial': 'radial-gradient(circle at 25% 40%, #02C0FF 0%, #001F40 40%, transparent 80%), radial-gradient(circle at 75% 75%, #02C0FF 0%, #001F40 25%, #020a1dde 60%)', | ||
| }, | ||
| animation: { | ||
| 'slow-bounce': 'bounce 2s infinite', | ||
| }, | ||
| keyframes: { | ||
| bounce: { | ||
| '0%, 100%': { transform: 'translateY(0)' }, | ||
| '50%': { transform: 'translateY(-10px)' }, | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| plugins: [], | ||
| }; |
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.