Frontend: Difference between revisions
From Rsewiki
Spring2026 (talk | contribs) |
Spring2026 (talk | contribs) No edit summary |
||
| Line 8: | Line 8: | ||
==== button ==== | ==== 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. | |||
==== dropdown ==== | ==== dropdown ==== | ||
Revision as of 10:17, 13 October 2026
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.