diff --git a/.husky/pre-commit b/.husky/pre-commit index 9cbfef9..e290538 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,2 @@ #!/usr/bin/env sh -npx lint-staged && npm run build \ No newline at end of file +npx lint-staged && npm run build diff --git a/app/Home.tsx b/app/Home.tsx index a69c37a..f3e9807 100644 --- a/app/Home.tsx +++ b/app/Home.tsx @@ -1,5 +1,7 @@ import Header from '../components/custom/header'; import Footer from '../components/custom/footer'; +import Test from '../components/scripts/Test'; +import MetaMask from '../components/scripts/MetaMask'; export default function Home() { return ( @@ -52,6 +54,27 @@ export default function Home() { - > + + + Featured Events + No events available at the moment. + + + Upcoming Events + + Event 1 - Date + Event 2 - Date + Event 3 - Date + + + + + + + + + + + ); } diff --git a/app/page.tsx b/app/page.tsx index 03b69a9..5146df6 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,3 +1,4 @@ +import EventDescription from '@/components/custom/EventDescription'; import Home from './Home'; export default function Page() { diff --git a/components/Confirmation.tsx b/components/Confirmation.tsx new file mode 100644 index 0000000..66eca11 --- /dev/null +++ b/components/Confirmation.tsx @@ -0,0 +1,64 @@ +'use client'; +import React from 'react'; +import { + Card, + CardHeader, + CardContent, + CardFooter, +} from '@/components/ui/card'; +import { Badge } from '@/components/ui/badge'; +import { Separator } from '@/components/ui/separator'; +import { Button } from '@/components/ui/button'; +import { CheckCircle } from 'lucide-react'; + +interface props { + ticketTitle: string; + eventDate: string; + ticketID: string; +} + +const ConfirmationTicket = ({ ticketTitle, eventDate, ticketID }: props) => { + return ( + + + + + Ticket Confirmed! + + + #{ticketID} + + + + + + {ticketTitle} + Event Date: {eventDate} + + + + + + View Ticket + + + Download PDF + + + + ); +}; + +export default ConfirmationTicket; diff --git a/components/EventPage.tsx b/components/EventPage.tsx new file mode 100644 index 0000000..0c7e0eb --- /dev/null +++ b/components/EventPage.tsx @@ -0,0 +1,18 @@ +import React from 'react'; + +const EventPage = () => { + return ( + // <>Header> + // + //
No events available at the moment.
Event Date: {eventDate}