File size: 877 Bytes
801f06c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Routes, Route, Navigate, Link } from 'react-router-dom';
import { AudioLines } from 'lucide-react';
import { StudioPage } from '../features/generations/studio.page';

export function App() {
  return (
    <div className="simple-shell">
      <header className="simple-app-header">
        <div className="simple-app-nav">
          <Link className="simple-brand" to="/">
            <AudioLines size={23} />
            <span>Character Studio</span>
          </Link>
        </div>
      </header>
      <main>
        <Routes>
          <Route path="/" element={<StudioPage />} />
          <Route path="/characters" element={<Navigate to="/" replace />} />
          <Route path="*" element={<Navigate to="/" replace />} />
        </Routes>
      </main>
      <footer className="simple-app-footer">Original fictional characters · MVP</footer>
    </div>
  );
}