govorov/frontend/src/App.tsx

29 lines
707 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from 'react';
import { Link } from 'react-router-dom';
import AppRouter from './router';
import './App.css';
const App: React.FC = () => {
return (
<div className="App">
<header className="App-header">
<div className="App-header-content">
<h1>Раскройка Стекла</h1>
<nav className="App-nav">
<Link to="/calculate">Новый расчет</Link>
<Link to="/history">История</Link>
</nav>
</div>
</header>
<main>
<AppRouter />
</main>
<footer>
<p>&copy; 2024 Система Раскройки</p>
</footer>
</div>
);
}
export default App;