From 25f4b7f93218d9de3d16ba1eda5dea2fc04bac8a Mon Sep 17 00:00:00 2001 From: nutcas3 Date: Fri, 4 Oct 2024 11:44:37 +0300 Subject: [PATCH] renamed AGenda to schedule --- frontend/src/components/Navbar.tsx | 8 ++++---- .../components/{Agenda.tsx => Schedule.tsx} | 4 ++-- frontend/src/main.tsx | 6 +++--- frontend/src/pages/Agenda.tsx | 18 ------------------ frontend/src/pages/Schedule.tsx | 18 ++++++++++++++++++ 5 files changed, 27 insertions(+), 27 deletions(-) rename frontend/src/components/{Agenda.tsx => Schedule.tsx} (96%) delete mode 100644 frontend/src/pages/Agenda.tsx create mode 100644 frontend/src/pages/Schedule.tsx diff --git a/frontend/src/components/Navbar.tsx b/frontend/src/components/Navbar.tsx index 8fc61f2..b91cd92 100644 --- a/frontend/src/components/Navbar.tsx +++ b/frontend/src/components/Navbar.tsx @@ -41,10 +41,10 @@ const Navbar: React.FC = () => { Home `border-b-2 w-fit p-3 ${isActive ? 'border-secondary' : 'border-white'}`} > - Agenda + Schedule { Home `border-b-2 p-3 ${isActive ? 'border-secondary' : 'border-white'}`} > - Agenda + Schedule { const [activeDay, setActiveDay] = useState('all') @@ -20,7 +20,7 @@ const Sessions = () => { className="container mx-auto px-6 py-12 md:py-24 flex flex-col items-center text-center text-secondary" >

- GopherCon Africa Agenda + GopherCon Africa Schedule

diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index e7c0026..f8d9caa 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -10,7 +10,7 @@ import SpeakersList from './pages/SpeakersList.tsx'; import TicketList from './pages/TicketsList.tsx'; import SocialsList from './pages/SocialsList.tsx'; import TravelInfo from "./pages/TravelInfo.tsx"; -import Agenda from "./pages/Agenda.tsx"; +import Schedule from "./pages/Schedule.tsx"; const router = createBrowserRouter([ @@ -24,8 +24,8 @@ const router = createBrowserRouter([ element: , }, { - path: "/agenda", - element: , + path: "/schedule", + element: , }, { path: "/sponsors", diff --git a/frontend/src/pages/Agenda.tsx b/frontend/src/pages/Agenda.tsx deleted file mode 100644 index 9220901..0000000 --- a/frontend/src/pages/Agenda.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import ConnectWithUs from '../components/ConnectWithUs'; -import { Footer } from '../components/Footer'; -import Navbar from '../components/Navbar'; -import Sessions from "../components/Agenda.tsx"; - -const Agenda: React.FC = () => { - return ( -
- - - -
-
- ); -}; - -export default Agenda; diff --git a/frontend/src/pages/Schedule.tsx b/frontend/src/pages/Schedule.tsx new file mode 100644 index 0000000..19c15e4 --- /dev/null +++ b/frontend/src/pages/Schedule.tsx @@ -0,0 +1,18 @@ +import React from 'react'; +import ConnectWithUs from '../components/ConnectWithUs.tsx'; +import { Footer } from '../components/Footer.tsx'; +import Navbar from '../components/Navbar.tsx'; +import Sessions from "../components/Schedule.tsx"; + +const Schedule: React.FC = () => { + return ( +
+ + + +
+ ); +}; + +export default Schedule;