Changeset 44a42b8 for frontend/src
- Timestamp:
- 02/06/26 22:39:32 (5 months ago)
- Branches:
- master
- Children:
- 59ed25c
- Parents:
- 72053b5
- Location:
- frontend/src
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/App.css
r72053b5 r44a42b8 1 #root {2 max-width: 1280px;3 margin: 0 auto;4 padding: 2rem;5 text-align: center;6 }7 1 8 .logo {9 height: 6em;10 padding: 1.5em;11 will-change: filter;12 transition: filter 300ms;13 }14 .logo:hover {15 filter: drop-shadow(0 0 2em #646cffaa);16 }17 .logo.react:hover {18 filter: drop-shadow(0 0 2em #61dafbaa);19 }20 21 @keyframes logo-spin {22 from {23 transform: rotate(0deg);24 }25 to {26 transform: rotate(360deg);27 }28 }29 30 @media (prefers-reduced-motion: no-preference) {31 a:nth-of-type(2) .logo {32 animation: logo-spin infinite 20s linear;33 }34 }35 36 .card {37 padding: 2em;38 }39 40 .read-the-docs {41 color: #888;42 } -
frontend/src/App.jsx
r72053b5 r44a42b8 1 import { useState } from 'react' 2 import reactLogo from './assets/react.svg' 3 import viteLogo from '/vite.svg' 4 import './App.css' 1 import LandingPage from "./pages/LandingPage.jsx"; 5 2 6 3 function App() { 7 const [count, setCount] = useState(0) 8 9 return ( 10 <> 11 <div> 12 <a href="https://vite.dev" target="_blank"> 13 <img src={viteLogo} className="logo" alt="Vite logo" /> 14 </a> 15 <a href="https://react.dev" target="_blank"> 16 <img src={reactLogo} className="logo react" alt="React logo" /> 17 </a> 18 </div> 19 <h1>Vite + React</h1> 20 <div className="card"> 21 <button onClick={() => setCount((count) => count + 1)}> 22 count is {count} 23 </button> 24 <p> 25 Edit <code>src/App.jsx</code> and save to test HMR 26 </p> 27 </div> 28 <p className="read-the-docs"> 29 Click on the Vite and React logos to learn more 30 </p> 31 </> 32 ) 4 return <LandingPage />; 33 5 } 34 6 35 export default App 7 export default App; -
frontend/src/index.css
r72053b5 r44a42b8 1 @import "tailwindcss"; 2 1 3 :root { 2 4 font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
Note:
See TracChangeset
for help on using the changeset viewer.
