Skip to content

Commit

Permalink
cleanup home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidhdhi committed Oct 18, 2023
1 parent 2b5a330 commit a6af994
Showing 1 changed file with 7 additions and 52 deletions.
59 changes: 7 additions & 52 deletions src/pages/Homepage.jsx
Original file line number Diff line number Diff line change
@@ -1,62 +1,17 @@

import React from "react";
import Button from "../components/Button";
import arrowRight from "../assets/arrow-right.svg";
import Accordion from "../components/Accordion";
import Modal from "../components/Modal";
import Feature6 from "../components/TopHeader";
import Footer from "../components/Footer";
import Login from "../components/Login";
import BottomNav from "../components/Bottom Nav bar/BottomNavBar";
const accordionItems = [
{ title: "Section 1", content: "Content for Section 1" },
{ title: "Section 2", content: "Content for Section 2" },
];


const Homepage = () => {
return (

<><div className="flex flex-col items-center space-y-4">
{/* Default Button */}
<Button>Default Button</Button>

{/* Customized Button 1 */}
<Button
iconURL={arrowRight}
borderColor={"border-black"}
textColor={"text-white"}
backgroundColor={"bg-black"}
>
Customized Button 1
</Button>

{/* Customized Button 2 */}
<Button
borderColor={"border-blue-500"}
textColor={"text-blue-500"}
backgroundColor={"bg-white"}
>
Customized Button 2
</Button>

{/* Customized Button 3 */}
<Button
borderColor={"border-green-500"}
textColor={"text-green-500"}
backgroundColor={"bg-white"}
>
Customized Button 3
</Button>

<Accordion items={accordionItems} />
<Login />
<Feature6 />
<Modal />
<Footer />
</div>
<BottomNav backUrl=" " nextUrl="/Button" backName=" " nextName="Button" /></>

<>
<div className="flex flex-col items-center space-y-4">
<Feature6 />
<Modal />
<Footer />
</div>
</>
);
};

Expand Down

0 comments on commit a6af994

Please sign in to comment.