Skip to content
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

Open
ysh0305 opened this issue Oct 3, 2024 · 0 comments
Open

Implement Title.tsx #11

ysh0305 opened this issue Oct 3, 2024 · 0 comments

Comments

@ysh0305
Copy link
Collaborator

ysh0305 commented Oct 3, 2024

image

image

image

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

@ysh0305 ysh0305 added the boards label Oct 3, 2024
@ysh0305 ysh0305 transferred this issue from acm-ucr/robosub-website Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants