Initial commit

This commit is contained in:
Yura Dupyn 2026-05-14 18:16:38 +02:00
commit 2137fcc776
16 changed files with 4057 additions and 0 deletions

12
src/App.tsx Normal file
View file

@ -0,0 +1,12 @@
import { CssBaseline, Typography } from '@mui/material';
export default function App() {
return (
<>
<CssBaseline />
<main>
<Typography variant="h1">Hello world</Typography>
</main>
</>
);
}

41
src/index.css Normal file
View file

@ -0,0 +1,41 @@
/* === Reset === */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
line-height: 1.45;
}
body {
margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
}
p {
margin: 0;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
button {
border: none;
padding: 0;
cursor: pointer;
}
/* === main === */

16
src/main.tsx Normal file
View file

@ -0,0 +1,16 @@
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import App from './App';
import './index.css';
const rootElement = document.getElementById('root');
if (rootElement === null) {
throw new Error('Root element #root was not found.');
}
createRoot(rootElement).render(
<StrictMode>
<App />
</StrictMode>,
);

1
src/vite-env.d.ts vendored Normal file
View file

@ -0,0 +1 @@
/// <reference types="vite/client" />