From 4b7910e7a7002bfdc0059b9d2ac284c6cb8c8212 Mon Sep 17 00:00:00 2001 From: Mathis Date: Wed, 15 May 2024 17:03:18 +0200 Subject: [PATCH] Add generated system configs, theme and page elements This commit adds the necessary configuration files for the system, including components for the Tailwind CSS and version control. It also includes code for creating a basic user interface with theme and page elements. Additionally, the commit includes new SVG resources for design elements. --- .gitignore | 36 + .idea/tailwindcss.xml | 6 + .idea/vcs.xml | 12 + .idea/workspace.xml | 92 ++ components.json | 17 + next.config.mjs | 4 + package.json | 40 + pnpm-lock.yaml | 1762 ++++++++++++++++++++++++ postcss.config.mjs | 8 + public/next.svg | 1 + public/vercel.svg | 1 + src/app/favicon.ico | Bin 0 -> 25931 bytes src/app/globals.css | 61 + src/app/layout.tsx | 36 + src/app/page.tsx | 22 + src/components/header.tsx | 15 + src/components/theme-provider.tsx | 9 + src/components/theme-selector.tsx | 58 + src/components/ui/background-beams.tsx | 141 ++ src/components/ui/button.tsx | 56 + src/components/ui/dropdown-menu.tsx | 200 +++ src/components/ui/toast.tsx | 129 ++ src/components/ui/toaster.tsx | 35 + src/components/ui/tooltip.tsx | 30 + src/components/ui/use-toast.ts | 194 +++ src/lib/utils.ts | 6 + tailwind.config.ts | 117 ++ tsconfig.json | 26 + 28 files changed, 3114 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/tailwindcss.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 components.json create mode 100644 next.config.mjs create mode 100644 package.json create mode 100644 pnpm-lock.yaml create mode 100644 postcss.config.mjs create mode 100644 public/next.svg create mode 100644 public/vercel.svg create mode 100644 src/app/favicon.ico create mode 100644 src/app/globals.css create mode 100644 src/app/layout.tsx create mode 100644 src/app/page.tsx create mode 100644 src/components/header.tsx create mode 100644 src/components/theme-provider.tsx create mode 100644 src/components/theme-selector.tsx create mode 100644 src/components/ui/background-beams.tsx create mode 100644 src/components/ui/button.tsx create mode 100644 src/components/ui/dropdown-menu.tsx create mode 100644 src/components/ui/toast.tsx create mode 100644 src/components/ui/toaster.tsx create mode 100644 src/components/ui/tooltip.tsx create mode 100644 src/components/ui/use-toast.ts create mode 100644 src/lib/utils.ts create mode 100644 tailwind.config.ts create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fd3dbb5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js +.yarn/install-state.gz + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/.idea/tailwindcss.xml b/.idea/tailwindcss.xml new file mode 100644 index 0000000..55ecedc --- /dev/null +++ b/.idea/tailwindcss.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..7ddfc9e --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..854d6e5 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + { + "associatedIndex": 2 +} + + + + { + "keyToString": { + "ASKED_ADD_EXTERNAL_FILES": "true", + "ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "last_opened_file_path": "/home/avnyr/workspace/Simplon/brief-06-front", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_package_manager_path": "npm", + "npm.dev.executor": "Run", + "settings.editor.selected.configurable": "preferences.pluginManager", + "ts.external.directory.path": "/home/avnyr/workspace/Simplon/brief-06-front/node_modules/typescript/lib", + "vue.rearranger.settings.migration": "true" + } +} + + + + + +