diff --git a/Frontend/index.html b/Frontend/index.html index 0c589ec..a867caf 100644 --- a/Frontend/index.html +++ b/Frontend/index.html @@ -1,10 +1,10 @@ - + - Vite + React + Saket
diff --git a/Frontend/package.json b/Frontend/package.json index dda2828..ce265b5 100644 --- a/Frontend/package.json +++ b/Frontend/package.json @@ -17,10 +17,13 @@ "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.3.1", + "autoprefixer": "^10.4.19", "eslint": "^8.57.0", "eslint-plugin-react": "^7.34.2", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-refresh": "^0.4.7", - "vite": "^5.3.1" + "postcss": "^8.4.39", + "tailwindcss": "^3.4.4", + "vite": "^5.3.2" } } diff --git a/Frontend/postcss.config.js b/Frontend/postcss.config.js new file mode 100644 index 0000000..2e7af2b --- /dev/null +++ b/Frontend/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/Frontend/src/App.css b/Frontend/src/App.css deleted file mode 100644 index b9d355d..0000000 --- a/Frontend/src/App.css +++ /dev/null @@ -1,42 +0,0 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); -} - -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} diff --git a/Frontend/src/App.jsx b/Frontend/src/App.jsx index d89aae9..648688e 100644 --- a/Frontend/src/App.jsx +++ b/Frontend/src/App.jsx @@ -1,8 +1,10 @@ import React from 'react' - +import Body from './components/Body' const App = () => { return ( -
App
+
+ +
) } diff --git a/Frontend/src/components/Body.jsx b/Frontend/src/components/Body.jsx new file mode 100644 index 0000000..f507c10 --- /dev/null +++ b/Frontend/src/components/Body.jsx @@ -0,0 +1,22 @@ +import React from 'react' + +const body = () => { + return ( +
+
+
+ background +
+
+
+ +
+
+ ) +} + +export default body \ No newline at end of file diff --git a/Frontend/src/index.css b/Frontend/src/index.css index 6119ad9..2634c6e 100644 --- a/Frontend/src/index.css +++ b/Frontend/src/index.css @@ -1,68 +1,17 @@ -:root { - font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} +@tailwind base; +@tailwind components; +@tailwind utilities; +*{ + + margin: 0%; + padding: 0%; + box-sizing: border-box; + font-family: SF PRO DISPLAY;} + html, + body { + height: 100%; + width: 100%; +} +.footer-list{ + display : flex; +} \ No newline at end of file diff --git a/Frontend/tailwind.config.js b/Frontend/tailwind.config.js new file mode 100644 index 0000000..614c86b --- /dev/null +++ b/Frontend/tailwind.config.js @@ -0,0 +1,8 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], + theme: { + extend: {}, + }, + plugins: [], +};