From 2a9fa4171452c673d6c278ea110342dac447b445 Mon Sep 17 00:00:00 2001 From: Mimmi Eriksson Date: Thu, 22 May 2025 10:19:33 +0200 Subject: [PATCH 01/22] setting up dependencies and basic file structure --- package.json | 5 ++++- src/App.jsx | 10 +++++++++- src/components/Controls.jsx | 9 +++++++++ src/components/ControlsButton.jsx | 9 +++++++++ src/components/Counter.jsx | 9 +++++++++ src/components/Task.jsx | 9 +++++++++ src/components/TaskButton.jsx | 9 +++++++++ src/components/TaskList.jsx | 9 +++++++++ src/index.css | 10 ++++++++++ src/sections/Footer.jsx | 9 +++++++++ src/sections/Header.jsx | 9 +++++++++ src/sections/MainSection.jsx | 15 +++++++++++++++ vite.config.js | 3 ++- 13 files changed, 112 insertions(+), 3 deletions(-) create mode 100644 src/components/Controls.jsx create mode 100644 src/components/ControlsButton.jsx create mode 100644 src/components/Counter.jsx create mode 100644 src/components/Task.jsx create mode 100644 src/components/TaskButton.jsx create mode 100644 src/components/TaskList.jsx create mode 100644 src/sections/Footer.jsx create mode 100644 src/sections/Header.jsx create mode 100644 src/sections/MainSection.jsx diff --git a/package.json b/package.json index caf6289..5e3b0ef 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,11 @@ "preview": "vite preview" }, "dependencies": { + "@tailwindcss/vite": "^4.1.7", "react": "^19.0.0", - "react-dom": "^19.0.0" + "react-dom": "^19.0.0", + "tailwindcss": "^4.1.7", + "zustand": "^5.0.5" }, "devDependencies": { "@eslint/js": "^9.21.0", diff --git a/src/App.jsx b/src/App.jsx index 5427540..b3d6162 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,5 +1,13 @@ +import Footer from "./sections/Footer" +import Header from "./sections/Header" +import MainSection from "./sections/MainSection" + export const App = () => { return ( -

React Boilerplate

+ <> +
+ +