firq-dev-website/src/components/fgotaHero.astro

44 lines
900 B
Text
Raw Normal View History

2024-01-19 09:18:05 +00:00
---
2024-07-19 20:52:15 +00:00
export interface Props {
fadeout?: boolean
}
const { fadeout } = Astro.props
const display = fadeout ? "": "display: none"
2024-01-19 09:18:05 +00:00
---
<div>
<span>
I am currently working on a site to catalogue past and future TAs.<br/>
Check it out at <a href="https://fgo-ta.com">fgo-ta.com</a>
</span>
2024-07-19 20:52:15 +00:00
<div class="fade" style={display}></div>
2024-01-19 09:18:05 +00:00
</div>
<style>
div {
display: flex;
width: 100%;
2024-07-19 20:52:15 +00:00
flex-wrap: nowrap;
flex-flow: column;
background-color: var(--c-darkergray);
2024-01-19 09:18:05 +00:00
text-align: center;
align-items: center;
justify-content: center;
color: white;
font-size: 1.5em;
2024-07-19 20:52:15 +00:00
padding: 2rem 0rem 0rem 0rem;
2024-01-19 09:18:05 +00:00
}
a {
2024-07-19 20:52:15 +00:00
text-align: center;
2024-01-19 09:18:05 +00:00
text-decoration: none;
2024-07-19 20:52:15 +00:00
color: var(--c-darkpurple);
}
.fade {
margin-top: 3rem;
background: linear-gradient(to bottom, transparent, var(--c-lightgray));
height: 2.5rem;
width: 100%;
2024-01-19 09:18:05 +00:00
}
</style>