added lockli screen
All checks were successful
Build & Deploy Vite App (Docker Compose) / build-and-deploy (push) Successful in 41s
All checks were successful
Build & Deploy Vite App (Docker Compose) / build-and-deploy (push) Successful in 41s
This commit is contained in:
12
src/App.jsx
12
src/App.jsx
@@ -2,10 +2,11 @@ import React from 'react';
|
||||
import { BrowserRouter as Router, Routes, Route, useLocation } from 'react-router-dom';
|
||||
import Home from './pages/Home';
|
||||
import Portal from './pages/Portal';
|
||||
import LockliPrivacy from './pages/LockliPrivacy'; // <-- YENİ EKLENDİ
|
||||
import LockliPrivacy from './pages/LockliPrivacy';
|
||||
import PasswordManagerDetail from './pages/PasswordManagerDetail';
|
||||
|
||||
import { AnimatePresence } from 'framer-motion';
|
||||
|
||||
// Animasyonlu geçişler için bir Wrapper bileşeni
|
||||
function AnimatedRoutes() {
|
||||
const location = useLocation();
|
||||
|
||||
@@ -14,9 +15,10 @@ function AnimatedRoutes() {
|
||||
<Routes location={location} key={location.pathname}>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/portal" element={<Portal />} />
|
||||
|
||||
{/* Lockli Privacy Policy – yalnızca URL'den erişilecek */}
|
||||
|
||||
<Route path="/lockli/privacy" element={<LockliPrivacy />} />
|
||||
|
||||
<Route path="/projects/lockli" element={<PasswordManagerDetail />} />
|
||||
</Routes>
|
||||
</AnimatePresence>
|
||||
);
|
||||
@@ -30,4 +32,4 @@ function App() {
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
export default App;
|
||||
Reference in New Issue
Block a user