-
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.
- Loading branch information
Showing
14 changed files
with
205 additions
and
22 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
'use client'; | ||
|
||
import Image from "next/image"; | ||
import { FormEvent } from "react"; | ||
|
||
export default function Header() { | ||
const onSubmit = (e: FormEvent) => { | ||
alert("Something really cool is coming soon!"); | ||
e.preventDefault(); | ||
return false; | ||
}; | ||
|
||
return ( | ||
<header className="flex py-8"> | ||
<a href="/" className="flex items-center"> | ||
<Image | ||
src="/wiseblend-logo.svg" | ||
width={173} | ||
height={36} | ||
alt="Picture of the author" | ||
/> | ||
</a> | ||
<form className="flex grow ml-5" onSubmit={onSubmit}> | ||
<input | ||
type="url" | ||
required | ||
className="grow px-4" | ||
placeholder="Enter product URL" | ||
/> | ||
<button> </button> | ||
</form> | ||
</header> | ||
); | ||
} |
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,17 @@ | ||
import { Spline_Sans, Playfair_Display } from "next/font/google"; | ||
|
||
const font = Spline_Sans({ subsets: ["latin"] }); | ||
const heading = Playfair_Display({ subsets: ["latin"] }); | ||
|
||
export default function Hero() { | ||
return ( | ||
<div className="hero relative mt-12"> | ||
<h1 className={`${heading.className}`}>Blend Smart<br/>Spend Wise</h1> | ||
<div className="my-8 text-xl">Never overspend on skincare again!</div> | ||
<div className={`banner p-6 w-3/5 ${font.className}`}> | ||
Use AI to find cheaper alternatives with<br/>the same function! | ||
</div> | ||
<div className="image absolute top-0 bg-no-repeat"></div> | ||
</div> | ||
); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
// import Image from "next/image"; | ||
import Header from "./header"; | ||
import Hero from "./hero"; | ||
|
||
export default function Home() { | ||
return ( | ||
<main className="flex min-h-screen flex-col items-center justify-between p-24 text-center"> | ||
Something really cool is coming soon! | ||
</main> | ||
<div className="flex flex-col max-w-5xl min-h-screen mx-auto"> | ||
<Header /> | ||
<main> | ||
<Hero /> | ||
</main> | ||
</div> | ||
); | ||
} |