|
|
|
@ -12,11 +12,13 @@ |
|
|
|
* - "change hero colors" -> modify the styles below or variables.css |
|
|
|
* - "change hero colors" -> modify the styles below or variables.css |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
import { hero } from "@/content/site-data"; |
|
|
|
import { hero } from "@/content/site-data"; |
|
|
|
|
|
|
|
import logo from "@/assets/logo.jpg"; |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<section class="hero-section"> |
|
|
|
<section class="hero-section"> |
|
|
|
<div class="hero-container"> |
|
|
|
<div class="hero-container"> |
|
|
|
|
|
|
|
<img :src="logo" alt="Logo" class="hero-logo" /> |
|
|
|
<h1 class="hero-title">{{ hero.title.value }}</h1> |
|
|
|
<h1 class="hero-title">{{ hero.title.value }}</h1> |
|
|
|
<p class="hero-tagline">{{ hero.tagline.value }}</p> |
|
|
|
<p class="hero-tagline">{{ hero.tagline.value }}</p> |
|
|
|
<p class="hero-description">{{ hero.description.value }}</p> |
|
|
|
<p class="hero-description">{{ hero.description.value }}</p> |
|
|
|
@ -41,6 +43,13 @@ import { hero } from "@/content/site-data"; |
|
|
|
margin: 0 auto; |
|
|
|
margin: 0 auto; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hero-logo { |
|
|
|
|
|
|
|
display: block; |
|
|
|
|
|
|
|
max-width: 150px; |
|
|
|
|
|
|
|
height: auto; |
|
|
|
|
|
|
|
margin: 0 auto var(--space-md); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.hero-title { |
|
|
|
.hero-title { |
|
|
|
font-size: clamp(2.5rem, 8vw, 4rem); |
|
|
|
font-size: clamp(2.5rem, 8vw, 4rem); |
|
|
|
color: var(--color-primary-dark); |
|
|
|
color: var(--color-primary-dark); |
|
|
|
|