Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskls committed Nov 18, 2024
1 parent f19ad51 commit d30f91f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 43 deletions.
7 changes: 6 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BrowserRouter as Router, Route, Routes,} from 'react-router-dom';
import { BrowserRouter as Router, Route, Routes, Navigate } from 'react-router-dom';
import { HelmetProvider } from 'react-helmet-async';
import { Home } from '../pages/home';
import { Product } from '../pages/products';
Expand All @@ -20,11 +20,16 @@ export function App() {
<Router>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/product" element={<Navigate to="/flisiniai-dzemperiai" replace state={{from: '/product'}} />} />
<Route path="/flisiniai-dzemperiai" element={<Product />} />
<Route path="/repair" element={<Navigate to="/drabuziu-taisymas" replace state={{from: '/repair'}} />} />
<Route path="/drabuziu-taisymas" element={<Repairing />} />
<Route path="/sewing" element={<Navigate to="/siuvykla" replace state={{from: '/sewing'}} />} />
<Route path="/siuvykla" element={<Sew />} />
<Route path="/design" element={<Designing />} />
<Route path="/prices" element={<Navigate to="/drabuziu-taisymo-kainos" replace state={{from: '/prices'}} />} />
<Route path="/drabuziu-taisymo-kainos" element={<Pricing />} />
<Route path="/contacts" element={<Navigate to="/kontaktai" replace state={{from: '/contacts'}} />} />
<Route path="/kontaktai" element={<Contacting />} />
<Route path="/gallery" element={<Gallery />
} />
Expand Down
42 changes: 0 additions & 42 deletions src/components/kopija.jsx

This file was deleted.

0 comments on commit d30f91f

Please sign in to comment.