diff --git a/.eslintrc.json b/.eslintrc.json index 3722418..1a1ad7a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,6 @@ { - "extends": ["next/core-web-vitals", "next/typescript"] + "extends": ["next/core-web-vitals", "next/typescript"], + "rules": { + "@next/next/no-img-element": "off" + } } diff --git a/app/Home.tsx b/app/Home.tsx deleted file mode 100644 index 75eb149..0000000 --- a/app/Home.tsx +++ /dev/null @@ -1,67 +0,0 @@ -'use client'; -import { useEffect, useState } from 'react'; -import Header from '../components/custom/header'; -import Footer from '../components/custom/footer'; - -export default function Home() { - const [isClient, setIsClient] = useState(false); - - useEffect(() => { - setIsClient(true); - }, []); - - return ( - <> -
-
- {/* Video Background */} - {isClient && ( - - )} - - {/* Dark Overlay for Enhanced Readability */} -
- - {/* Page Content Over the Video */} -
-
- -
-
-

- Featured Events -

-

- No events available at the moment. -

-
-
-

- Upcoming Events -

-
    -
  • Event 1 - Date
  • -
  • Event 2 - Date
  • -
  • Event 3 - Date
  • -
-
-
-
-
-
-
- - ); -} diff --git a/app/TicketListings/page.tsx b/app/TicketListings/page.tsx deleted file mode 100644 index 42e8cd6..0000000 --- a/app/TicketListings/page.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import TicketListings from './TicketListings'; - -export default function Page() { - return ( - <> - - - ); -} diff --git a/app/contact/page.tsx b/app/contact/page.tsx new file mode 100644 index 0000000..b998cdb --- /dev/null +++ b/app/contact/page.tsx @@ -0,0 +1,19 @@ +'use client'; +import React from 'react'; +import Header from '../../components/custom/header'; +import Footer from '../../components/custom/footer'; + +const ContactPage: React.FC = () => { + return ( +
+
+
+ {/* implement contact page here */} +

Page to be implemented

+
+
+
+ ); +}; + +export default ContactPage; diff --git a/app/TicketListings/TicketListings.tsx b/app/events/page.tsx similarity index 99% rename from app/TicketListings/TicketListings.tsx rename to app/events/page.tsx index 46efa5f..7bda79c 100644 --- a/app/TicketListings/TicketListings.tsx +++ b/app/events/page.tsx @@ -59,7 +59,7 @@ const fetchEvents = (): Event[] => { ]; }; -const TicketListing: React.FC = () => { +const EventsPage: React.FC = () => { const [events, setEvents] = useState([]); const [filteredEvents, setFilteredEvents] = useState([]); const [searchQuery, setSearchQuery] = useState(''); @@ -340,4 +340,4 @@ const TicketListing: React.FC = () => { ); }; -export default TicketListing; +export default EventsPage; diff --git a/app/page.tsx b/app/page.tsx index 03b69a9..75eb149 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,9 +1,67 @@ -import Home from './Home'; +'use client'; +import { useEffect, useState } from 'react'; +import Header from '../components/custom/header'; +import Footer from '../components/custom/footer'; + +export default function Home() { + const [isClient, setIsClient] = useState(false); + + useEffect(() => { + setIsClient(true); + }, []); -export default function Page() { return ( <> - +
+
+ {/* Video Background */} + {isClient && ( + + )} + + {/* Dark Overlay for Enhanced Readability */} +
+ + {/* Page Content Over the Video */} +
+
+ +
+
+

+ Featured Events +

+

+ No events available at the moment. +

+
+
+

+ Upcoming Events +

+
    +
  • Event 1 - Date
  • +
  • Event 2 - Date
  • +
  • Event 3 - Date
  • +
+
+
+
+
+
+
); } diff --git a/components/custom/header.tsx b/components/custom/header.tsx index 910e978..01ce86c 100644 --- a/components/custom/header.tsx +++ b/components/custom/header.tsx @@ -46,7 +46,7 @@ const Header = () => {
  • - + Events