Frontend
From Rsewiki
Frontend
The frontend is mainly structured around components, each responsible for specific functions. These components are used within pages, where they are combined to create complete pages with the required functionality.
Components
Currently, the frontend consists of seven different components, organized as follows:
button
- button.tsx:** Defines the button's properties and functionality, including its type, size, color, and whether it is disabled. This file also creates the HTML button element (`<button>`).
- button.ts:** Defines the button's styling using Tailwind CSS, including colors, text sizes, rounded corners, and hover effects. This file does not contain any HTML.