diff --git a/CSS libraries/odkazy.txt b/CSS libraries/odkazy.txt new file mode 100644 index 0000000..e86421a --- /dev/null +++ b/CSS libraries/odkazy.txt @@ -0,0 +1,11 @@ +Ikony +https://react-icons.github.io/react-icons/ + +Lepší bootstrap +https://tailwindcss.com/docs/installation/using-vite + +Animace +https://examples.motion.dev/react#ui + +Inputy +https://mantine.dev/dates/date-picker/#display-week-numbers \ No newline at end of file diff --git a/frontend/src/components/main/Footer.tsx b/frontend/src/components/main/footer/Footer.tsx similarity index 71% rename from frontend/src/components/main/Footer.tsx rename to frontend/src/components/main/footer/Footer.tsx index 8ee26c4..12db305 100644 --- a/frontend/src/components/main/Footer.tsx +++ b/frontend/src/components/main/footer/Footer.tsx @@ -1,4 +1,6 @@ import { motion } from "framer-motion"; +import styles from "./footer.module.css"; + export default function Footer() { return ( @@ -6,7 +8,7 @@ export default function Footer() { initial={{ y: 80, opacity: 0 }} animate={{ y: 0, opacity: 1 }} transition={{ duration: 0.4, delay: 0.2 }} - className="bg-white shadow-inner py-4 px-6 mt-8 text-center text-gray-500" + className={`${styles.footer} bg-white shadow-inner py-4 px-6 mt-8 text-center text-gray-500`} > © {new Date().getFullYear()} MyDashboard. All rights reserved. diff --git a/frontend/src/components/main/footer/footer.module.css b/frontend/src/components/main/footer/footer.module.css new file mode 100644 index 0000000..8186510 --- /dev/null +++ b/frontend/src/components/main/footer/footer.module.css @@ -0,0 +1,4 @@ +.footer { + /* optional local styles */ + /* e.g., outline: 1px solid transparent; */ +} diff --git a/frontend/src/layout/Home.tsx b/frontend/src/layout/Home.tsx index b0c61bc..ca60374 100644 --- a/frontend/src/layout/Home.tsx +++ b/frontend/src/layout/Home.tsx @@ -1,5 +1,5 @@ import { Outlet } from "react-router-dom"; -import Footer from "../components/main/Footer.tsx"; +import Footer from "../components/main/footer/Footer.tsx"; import { motion } from "framer-motion"; export default function HomeLayout() { diff --git a/frontend/src/styles/global.css b/frontend/src/styles/global.css new file mode 100644 index 0000000..38935da --- /dev/null +++ b/frontend/src/styles/global.css @@ -0,0 +1,2 @@ +@import "tailwindcss"; +/* ...existing code... */ \ No newline at end of file diff --git a/frontend/vite.config.js b/frontend/vite.config.js new file mode 100644 index 0000000..2d09449 --- /dev/null +++ b/frontend/vite.config.js @@ -0,0 +1,10 @@ +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react'; +import tailwind from '@tailwindcss/vite'; + +export default defineConfig({ + plugins: [react(), tailwind()], + server: { + port: 3000, // Set the development server port to 3000 + }, +}); diff --git a/venv/Scripts/python.exe b/venv/Scripts/python.exe deleted file mode 100644 index 1801c03..0000000 Binary files a/venv/Scripts/python.exe and /dev/null differ