Skip to content

Commit

Permalink
add initial project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
MargoMarm committed Sep 14, 2023
1 parent f9ac73d commit 6dfdf09
Show file tree
Hide file tree
Showing 52 changed files with 50,294 additions and 232 deletions.
1,304 changes: 1,285 additions & 19 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,19 @@
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/x-date-pickers": "^6.13.0",
"@reduxjs/toolkit": "^1.9.5",
"@table-library/react-table-library": "^4.1.7",
"@vitejs/plugin-react-swc": "^3.3.2",
"axios": "^1.5.0",
"formik": "^2.4.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-loader-spinner": "^5.4.5",
"react-router-dom": "^6.15.0",
"styled-components": "^6.0.7"
"redux-persist": "^6.0.0",
"styled-components": "^6.0.7",
"yup": "^1.2.0"
},
"devDependencies": {
"@types/react": "^18.2.15",
Expand Down
20 changes: 6 additions & 14 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
import { Route, Routes } from 'react-router-dom';
import SharedLayout from './components/SharedLayout/SharedLayout';
import FirstPage from './pages/FirstPage/FirstPage';
import SecondPage from './pages/SecondPage/SecondPage';
import HalfPage from './pages/HalfPage/HalfPage';
import ErrorPage from './pages/ErrorPage/ErrorPage';
import { lazy } from 'react';
// import SharedLayout from './components/SharedLayout/SharedLayout';

const Home = lazy(() => import('../src/pages/Home/Home'));

const test = import.meta.env.VITE_API_TEST;

function App() {
console.log(test);
// console.log(test);
return (
<Routes>
<Route path="/" element={<SharedLayout />}>
<Route path="/first" element={<FirstPage />} />
<Route path="/second" element={<SecondPage />}>
<Route path=":half" element={<HalfPage />} />
</Route>

<Route path="*" element={<ErrorPage />} />
</Route>
<Route path="/" element={<Home />} />
</Routes>
);
}
Expand Down
Binary file removed src/assets/background.png
Binary file not shown.
Binary file removed src/assets/deploy-status.png
Binary file not shown.
Binary file removed src/assets/gh-actions-perm-1.png
Binary file not shown.
Binary file removed src/assets/gh-actions-perm-2.png
Binary file not shown.
Binary file removed src/assets/gh-pages-url.png
Binary file not shown.
Binary file removed src/assets/repo-settings.png
Binary file not shown.
Binary file removed src/assets/secrets.png
Binary file not shown.
Binary file removed src/assets/template-step-1.png
Binary file not shown.
Binary file removed src/assets/template-step-2.png
Binary file not shown.
File renamed without changes.
Empty file.
Empty file added src/components/Header/.gitkeep
Empty file.
12 changes: 0 additions & 12 deletions src/components/Header/Header.jsx

This file was deleted.

37 changes: 0 additions & 37 deletions src/components/Header/Header.styled.jsx

This file was deleted.

Empty file.
Empty file.
Empty file added src/components/Navink/.gitkeep
Empty file.
Empty file.
16 changes: 0 additions & 16 deletions src/components/SharedLayout/SharedLayout.jsx

This file was deleted.

Empty file added src/components/Title/.gitkeep
Empty file.
Loading

0 comments on commit 6dfdf09

Please sign in to comment.