forked from blankoslo/Pizza.v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Lint * fix tweaks first saction to fit mobile * fix import error * feat: tweaks login button color and animates first section * fix overflow issue first section --------- Co-authored-by: Stian Sulebak <stianjsu@gmail.com>
- Loading branch information
1 parent
5ffba93
commit a501d83
Showing
18 changed files
with
275 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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
14 changes: 14 additions & 0 deletions
14
application/next-frontend/src/Landing/assets/AmalieRound.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions
12
application/next-frontend/src/Landing/assets/MathildeRound.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions
16
application/next-frontend/src/Landing/assets/blank/BlankLogoWhite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions
11
application/next-frontend/src/Landing/assets/blank/BlankLogoYellow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
application/next-frontend/src/Landing/assets/blank/BlankTextWhite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
application/next-frontend/src/Landing/assets/blank/BlankTextYellow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions
6
application/next-frontend/src/Landing/assets/illustrations/CustomCursor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions
11
...tion/next-frontend/src/Landing/assets/illustrations/MascotWithFourArmsGreen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions
12
application/next-frontend/src/Landing/assets/illustrations/SpeachBubble.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
27 changes: 27 additions & 0 deletions
27
application/next-frontend/src/Landing/components/firstSection/madeByBlank.tsx
This file contains 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,27 @@ | ||
import Image from 'next/image' | ||
import BlankTextWhite from '@/Landing/assets/blank/BlankTextWhite.svg' | ||
import BlankTextYellow from '@/Landing/assets/blank/BlankTextYellow.svg' | ||
import BlankLogoWhite from '@/Landing/assets/blank/BlankLogoWhite.svg' | ||
import BlankLogoYellow from '@/Landing/assets/blank/BlankLogoYellow.svg' | ||
|
||
import { useState } from 'react' | ||
|
||
const MadeByBlank = () => { | ||
const [hover, setHover] = useState(false) | ||
|
||
return ( | ||
<div | ||
className="mb-8 flex min-h-[70px] flex-row gap-3 text-xl text-white hover:text-yellow" | ||
onMouseEnter={() => setHover(true)} | ||
onMouseLeave={() => setHover(false)} | ||
> | ||
<Image src={hover ? BlankLogoYellow : BlankLogoWhite} alt="Blank"></Image> | ||
<div className="flex flex-col gap-3"> | ||
<span>Created by</span> | ||
<Image src={hover ? BlankTextYellow : BlankTextWhite} alt="Blank"></Image> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export { MadeByBlank } |
20 changes: 20 additions & 0 deletions
20
application/next-frontend/src/Landing/components/firstSection/quotesBubbles.tsx
This file contains 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,20 @@ | ||
import MathildeRound from '@/Landing/assets/MathildeRound.svg' | ||
import AmalieRound from '@/Landing/assets/AmalieRound.svg' | ||
import Image from 'next/image' | ||
|
||
const QuoteBubbles = () => { | ||
return ( | ||
<div className="flex flex-col gap-8"> | ||
<div className="relative flex flex-col pr-12"> | ||
<Image src={AmalieRound} alt="Citation pic" className="absolute -top-8 right-0 z-10 rounded-full" /> | ||
<span className="rounded-full bg-green-primary p-4 text-xl text-white"> Yes!!</span> | ||
</div> | ||
<div className="relative flex flex-col pr-12"> | ||
<Image src={MathildeRound} alt="Citation pic" className="absolute -top-8 right-0 z-10 rounded-full" /> | ||
<span className="rounded-full bg-green-primary p-4 text-xl text-white "> Woooo⭐️ </span> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export { QuoteBubbles } |
This file contains 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
53 changes: 42 additions & 11 deletions
53
application/next-frontend/src/Landing/scenarios/FirstSection.tsx
This file contains 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 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 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
Oops, something went wrong.