Refresh Astro frontend implementation including new pages (Portfolio, Teams, Services), components, and styling updates.
96 lines
1.7 KiB
Plaintext
96 lines
1.7 KiB
Plaintext
---
|
|
/**
|
|
* TeamsHero - Hero section for Teams page
|
|
* Pixel-perfect implementation based on Webflow design
|
|
*/
|
|
interface Props {
|
|
title?: string
|
|
subtitle?: string
|
|
}
|
|
|
|
const {
|
|
title = '恩群大本營',
|
|
subtitle = 'Team members of Enchun',
|
|
} = Astro.props
|
|
---
|
|
|
|
<header class="hero-overlay-team">
|
|
<div class="centered-container w-container">
|
|
<div class="div-block">
|
|
<h1 class="hero_title_head-team">{title}</h1>
|
|
<p class="hero_sub_paragraph-team">{subtitle}</p>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<style>
|
|
/* Teams Hero Styles - Pixel-perfect from Webflow */
|
|
.hero-overlay-team {
|
|
background-color: var(--color-dark-blue);
|
|
padding: 120px 20px 80px;
|
|
text-align: center;
|
|
}
|
|
|
|
.centered-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.w-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.div-block {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.hero_title_head-team {
|
|
color: #ffffff;
|
|
font-family: "Noto Sans TC", sans-serif;
|
|
font-weight: 700;
|
|
font-size: 3.39em;
|
|
line-height: 1.2;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.hero_sub_paragraph-team {
|
|
color: var(--color-gray-100);
|
|
font-family: "Quicksand", "Noto Sans TC", sans-serif;
|
|
font-weight: 400;
|
|
font-size: 1.5em;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
/* Responsive Adjustments */
|
|
@media (max-width: 991px) {
|
|
.hero-overlay-team {
|
|
padding: 80px 20px 60px;
|
|
}
|
|
|
|
.hero_title_head-team {
|
|
font-size: 2.45em;
|
|
}
|
|
|
|
.hero_sub_paragraph-team {
|
|
font-size: 1.15em;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.hero-overlay-team {
|
|
padding: 60px 16px 40px;
|
|
}
|
|
|
|
.hero_title_head-team {
|
|
font-size: 7vw;
|
|
}
|
|
|
|
.hero_sub_paragraph-team {
|
|
font-size: 3.4vw;
|
|
}
|
|
}
|
|
</style>
|