Skip to content

Commit c9887f0

Browse files
committed
Carousel removed
1 parent f250cc6 commit c9887f0

File tree

6 files changed

+0
-685
lines changed

6 files changed

+0
-685
lines changed

src/App.jsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ import { LanguageProvider, useLanguage } from './context/LanguageContext';
33
import Navbar from './components/Navbar';
44
import HomeEN from './pages_en/Home';
55
import PricesEN from './pages_en/Prices';
6-
import CarouselEN from './pages_en/Carousel';
76
import AboutEN from './pages_en/About';
87
import ContactEN from './pages_en/Contact';
98
import AppointmentEN from './pages_en/Appointment';
109
import HomePL from './pages_pl/Home';
1110
import PricesPL from './pages_pl/Prices';
12-
import CarouselPL from './pages_pl/Carousel';
1311
import AboutPL from './pages_pl/About';
1412
import ContactPL from './pages_pl/Contact';
1513
import AppointmentPL from './pages_pl/Appointment';
@@ -19,7 +17,6 @@ function AppContent() {
1917

2018
const Home = language === 'en' ? HomeEN : HomePL;
2119
const Prices = language === 'en' ? PricesEN : PricesPL;
22-
const Carousel = language === 'en' ? CarouselEN : CarouselPL;
2320
const About = language === 'en' ? AboutEN : AboutPL;
2421
const Contact = language === 'en' ? ContactEN : ContactPL;
2522
const Appointment = language === 'en' ? AppointmentEN : AppointmentPL;
@@ -30,7 +27,6 @@ function AppContent() {
3027
<Routes>
3128
<Route path="/" element={<Home />} />
3229
<Route path="/prices" element={<Prices />} />
33-
<Route path="/carousel" element={<Carousel />} />
3430
<Route path="/about" element={<About />} />
3531
<Route path="/contact" element={<Contact />} />
3632
<Route path="/appointment" element={<Appointment />} />

src/components/Navbar.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@ export default function Navbar() {
99
en: {
1010
home: 'Home',
1111
prices: 'Prices',
12-
carousel: 'Carousel',
1312
about: 'About',
1413
contact: 'Contact',
1514
appointment: 'Book Appointment'
1615
},
1716
pl: {
1817
home: 'Strona Główna',
1918
prices: 'Cennik',
20-
carousel: 'Karuzela',
2119
about: 'O Mnie',
2220
contact: 'Kontakt',
2321
appointment: 'Umów Wizytę'
@@ -31,7 +29,6 @@ export default function Navbar() {
3129
<ul className="nav-menu">
3230
<li><Link to="/">{text[language].home}</Link></li>
3331
<li><Link to="/prices">{text[language].prices}</Link></li>
34-
<li><strong><Link to="/carousel">{text[language].carousel}</Link></strong></li>
3532
<li><Link to="/about">{text[language].about}</Link></li>
3633
<li><Link to="/contact">{text[language].contact}</Link></li>
3734
<li><Link to="/prices" className="nav-cta">{text[language].appointment}</Link></li>

src/pages_en/Carousel.css

Lines changed: 0 additions & 222 deletions
This file was deleted.

src/pages_en/Carousel.jsx

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)