feat(frontend): update pages, components and branding
Refresh Astro frontend implementation including new pages (Portfolio, Teams, Services), components, and styling updates.
This commit is contained in:
95
apps/frontend/src/sections/TeamsHero.astro
Normal file
95
apps/frontend/src/sections/TeamsHero.astro
Normal file
@@ -0,0 +1,95 @@
|
||||
---
|
||||
/**
|
||||
* 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>
|
||||
Reference in New Issue
Block a user