diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..f37dfc3 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,100 @@ +--- +function getCurrentYear() { + return new Date().getFullYear(); +} +--- + + + + diff --git a/src/components/GlobalStyles.astro b/src/components/GlobalStyles.astro index aa7869f..9a68737 100644 --- a/src/components/GlobalStyles.astro +++ b/src/components/GlobalStyles.astro @@ -14,13 +14,16 @@ --fs-page-title: clamp(3rem, 5.5vw + 1rem, 8rem); --leading-title: 1.1; + --ledaing-subtitle: 1.2; --leading-paragraph: 1.5; + --tracking-tight: -0.0625rem; --tracking-narrow: -0.09375rem; --base-grid: repeat(12, 1fr); --max-content-width: 1920px; --clr-light-400: hsl(0 10% 100%); + --clr-light-500: hsl(from var(--clr-light-400) h s calc(l - 10)); --clr-dark-400: hsl(0 17.6% 3.3%); --clr-ts-warm-red-400: hsl(3 94% 60%); @@ -88,4 +91,8 @@ background-clip: text; color: transparent; } + + p { + color: var(--clr-light-500); + } diff --git a/src/components/Header.astro b/src/components/Header.astro index 6640003..cdbbfb4 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,13 +1,71 @@ --- - +import ArrowUpRight from "./icons/ArrowUpRight.astro"; +import MenuIcon from "./icons/MenuIcon.astro"; ---
- + {/* Logo */} + - + {/* Contact Link */} + + Contact us + + - + {/* Menu Button */} +
- + diff --git a/src/components/icons/ArrowUpRight.astro b/src/components/icons/ArrowUpRight.astro index a0c3c6c..fcaa3d6 100644 --- a/src/components/icons/ArrowUpRight.astro +++ b/src/components/icons/ArrowUpRight.astro @@ -1,24 +1,57 @@ - +--- +const { class: classname, ...rest } = Astro.props; +--- + + - + - + - - - - - - - + + + + - + - \ No newline at end of file + diff --git a/src/components/icons/MenuIcon.astro b/src/components/icons/MenuIcon.astro new file mode 100644 index 0000000..52d5476 --- /dev/null +++ b/src/components/icons/MenuIcon.astro @@ -0,0 +1,158 @@ +--- +const { class: classname, ...rest } = Astro.props; +--- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/landing/AboutSection.astro b/src/components/landing/AboutSection.astro index d901889..8380a3e 100644 --- a/src/components/landing/AboutSection.astro +++ b/src/components/landing/AboutSection.astro @@ -67,7 +67,7 @@ import { Picture } from "astro:assets"; grid-column: -1 / -6; font-size: 1.125rem; - line-height: var(--leading-text); + line-height: var(--leading-paragraph); * + * { margin-top: 1.25rem; @@ -101,7 +101,7 @@ import { Picture } from "astro:assets"; grid-row: 1; max-width: 43ch; font-size: 2rem; - line-height: var(--leading-text); + line-height: var(--leading-paragraph); } } diff --git a/src/components/landing/ContactSection.astro b/src/components/landing/ContactSection.astro index 1acbb01..145fd21 100644 --- a/src/components/landing/ContactSection.astro +++ b/src/components/landing/ContactSection.astro @@ -39,7 +39,7 @@ import ArrowUpRight from "../icons/ArrowUpRight.astro"; picture { display: block; - /* width: 100%; */ + width: 100%; /* height: 100%; */ max-height: 500px; grid-column: 1 / 5; @@ -49,22 +49,30 @@ import ArrowUpRight from "../icons/ArrowUpRight.astro"; } .image { - /* width: 100%; */ - /* height: 100%; */ + width: 100%; + height: 100%; object-fit: cover; } .content { - grid-column: 5 / -1; + grid-column: 6 / -1; + align-content: center; } h2 { - grid-column: 1 / -1; - font-size: 4.75rem; - line-height: var(--leading-title); + max-width: 13ch; + font-size: 3rem; + line-height: var(--leading-subtitle); letter-spacing: var(--tracking-narrow); } + p { + max-width: 38ch; + margin-top: 2rem; + font-size: 1.5rem; + line-height: var(--leading-paragraph); + } + .link { display: flex; align-items: center; @@ -72,6 +80,8 @@ import ArrowUpRight from "../icons/ArrowUpRight.astro"; gap: 2rem; grid-column: 1 / -1; + margin-top: 12rem; + font-size: 6.25rem; font-weight: 600; text-transform: uppercase; diff --git a/src/components/landing/ServicesSection.astro b/src/components/landing/ServicesSection.astro index e2cfbc2..a0f17f4 100644 --- a/src/components/landing/ServicesSection.astro +++ b/src/components/landing/ServicesSection.astro @@ -81,7 +81,7 @@ const services: Array> = [ max-width: 32ch; font-size: 1.5rem; - line-height: var(--leading-text); + line-height: var(--leading-paragraph); } } diff --git a/src/components/landing/ValuesSection.astro b/src/components/landing/ValuesSection.astro index b1de899..33ec8de 100644 --- a/src/components/landing/ValuesSection.astro +++ b/src/components/landing/ValuesSection.astro @@ -89,7 +89,7 @@ function formatIndex(index: number) { p { margin-top: 1.875rem; font-size: 1.5rem; - line-height: var(--leading-text); + line-height: var(--leading-paragraph); } span { diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 487f478..0ef53f9 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,8 +1,7 @@ --- -// import GlobalStyles from "../components/GlobalStyles.astro"; -// import Header from "../components/Header.astro"; - +import Footer from "../components/Footer.astro"; import GlobalStyles from "../components/GlobalStyles.astro"; +import Header from "../components/Header.astro"; import PlausibleAnalytics from "../components/PlausibleAnalytics.astro"; const { pageTitle } = Astro.props; @@ -53,7 +52,12 @@ const title = pageTitle + +
+ + +