generated from acm-ucr/acm-ucr-website
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Title.tsx #11
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Number of props: 1, title
Location: All except home and about
Description: This component should include a title and a line under. Title have font "font-title." Make sure the line is the same width no matter how long the text is. So view width such as w-[5vw] might be helpful. To test the component, make sure to assign an value to the props when calling the component. (title = "TITLE") This component is call in almost all pages such as src\app\boards\page.tsx
Path: src\components\Title.tsx
This example is in Javascript. Check Quin's pr on how to use prop in typescript
Example
The text was updated successfully, but these errors were encountered: