Skip to content

Commit

Permalink
sunset minwaste, modify landing page to point to flavrai :( :)
Browse files Browse the repository at this point in the history
  • Loading branch information
htothenan1 committed May 15, 2024
1 parent e334b5f commit 8b3ebb0
Show file tree
Hide file tree
Showing 5 changed files with 320 additions and 295 deletions.
4 changes: 2 additions & 2 deletions app/components/GuestNavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const GuestNavBar = () => {
<nav className={styles.navContainer}>
<Image className={styles.logo} src={logo} alt="Your Company" />

<Link className={styles.logIn} href={"/login"}>
{/* <Link className={styles.logIn} href={"/login"}>
Log In
</Link>
</Link> */}
</nav>
)
}
Expand Down
26 changes: 19 additions & 7 deletions app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,38 @@ import ideas from "../public/ideas.json"
import styles from "./page.module.css"
import Link from "next/link"

export default async function Home() {
export default function Home() {
return (
<>
<GuestNavBar />
<div class={styles.container}>
<div class={styles.headerContainer}>
<h2 class={styles.headerText}>Do you want to stop wasting food?</h2>
<h2 class={styles.headerText}>
Try <span class={styles.orangeText}>MinWaste!</span>
MinWaste is no longer being updated or maintained.
</h2>
<h2 class={styles.subHeadertext}>
If this project interests you, check out
<a
target="/blank"
href="https://www.flavrai.com"
class={styles.orangeText}
>
{" "}
www.FlavrAi.com
</a>{" "}
(the developer's new app!)
</h2>

<p class={styles.subheaderText}>
{/* <p class={styles.subheaderText}>
Our website will help you throw away less food.
</p>
<p class={styles.subheaderText}>
Start saving money (and the planet) today!
</p>
<Link href={"/login"} class={styles.ctaButton}>
See It In Action!
</Link>
</Link>
*/}
</div>
<div class={styles.contentContainer}>
<div class={styles.sectionContainer}>
Expand Down Expand Up @@ -96,11 +108,11 @@ export default async function Home() {
></svg>
</div>
</div>
<div class={styles.signupButton}>
{/* <div class={styles.signupButton}>
<Link href={"/register"} class={styles.ctaButton}>
Sign Up For Free!
</Link>
</div>
</div> */}
</div>
</div>
<Footer />
Expand Down
1 change: 1 addition & 0 deletions app/page.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

.orangeText {
color: #ff9f67;
text-decoration: none;
}

.ctaButton {
Expand Down
Loading

0 comments on commit 8b3ebb0

Please sign in to comment.