TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/nicolasgrajaleshoyos/portafolio/llms.txt
Use this file to discover all available pages before exploring further.
Footer component closes the portfolio page with a slim, centred bar in the site’s dark background colour. It requires no props and no state — its only logic is a single call to new Date().getFullYear() that ensures the copyright year is always current without any manual update. Below the copyright line sits a short motivational tagline in a slightly muted, smaller font.
Props
Footer accepts no external props and holds no state.
Behavior
Dynamic copyright year
The year displayed in the copyright notice is computed once at render time:Tagline
The line beneath the copyright reads:text-xs with opacity-70 to keep it visually secondary to the copyright text.
Full Component Source
Styling tokens
| Class | Value / purpose |
|---|---|
bg-dark | Tailwind custom token #0f172a — matches the page’s darkest background |
text-slate-400 | Muted grey for all text in both light and dark modes |
text-sm | 0.875 rem — copyright line |
text-xs | 0.75 rem — tagline |
opacity-70 | Slightly fades the tagline relative to the copyright |
Usage Example
Footer is placed outside <main> in App.tsx, as the final child of the root flex column:
The root
<div> uses flex flex-col min-h-screen and <main> uses flex-grow, so the Footer is always pushed to the very bottom of the viewport even on short content pages.Customization
Changing the developer name
Changing the developer name
Edit the name inline in the copyright paragraph:
Updating the tagline
Updating the tagline
Replace the string in the second
<p> tag:Changing the background colour
Changing the background colour
The
bg-dark token is defined in tailwind.config.js. To use a different colour without touching the config, replace the class directly:Adding social links or extra columns
Adding social links or extra columns