From e76e2e69791536673aa0f6863acd50614838e191 Mon Sep 17 00:00:00 2001 From: mario-guerra Date: Mon, 17 Mar 2025 13:28:54 -0500 Subject: [PATCH] mini website refresh --- website/src/components/Video.astro | 29 ++++++++ website/src/components/footer/footer.astro | 23 ++++-- website/src/components/header/header.astro | 1 + .../homepage/hero-illustration.astro | 3 +- website/src/components/homepage/hero.astro | 35 ++++++---- .../src/components/release-notification.astro | 13 ---- website/src/components/video-data.ts | 38 ++++++++++ website/src/pages/blog/index.astro | 3 + website/src/pages/community.astro | 37 ++++++++++ website/src/pages/community.md | 23 ------ website/src/pages/index.astro | 12 +++- website/src/pages/videos.astro | 70 +++++++++++++++++++ 12 files changed, 232 insertions(+), 55 deletions(-) create mode 100644 website/src/components/Video.astro create mode 100644 website/src/components/video-data.ts create mode 100644 website/src/pages/community.astro delete mode 100644 website/src/pages/community.md create mode 100644 website/src/pages/videos.astro diff --git a/website/src/components/Video.astro b/website/src/components/Video.astro new file mode 100644 index 00000000000..4377ac20f6f --- /dev/null +++ b/website/src/components/Video.astro @@ -0,0 +1,29 @@ +--- +const { url } = Astro.props; +--- + +
+ +
+ diff --git a/website/src/components/footer/footer.astro b/website/src/components/footer/footer.astro index 1e76bfa06f7..9b33823dd2c 100644 --- a/website/src/components/footer/footer.astro +++ b/website/src/components/footer/footer.astro @@ -1,5 +1,6 @@ --- import { Links } from "@site/src/constants"; +import { Icon } from "@astrojs/starlight/components"; import ThemePicker from "@typespec/astro-utils/components/theme-picker.astro"; import Link from "@typespec/astro-utils/components/link.astro"; import MicrosoftLogo from "./microsoft-logo.astro"; @@ -100,6 +101,14 @@ const { class: className } = Astro.props; background-color: var(--colorBrandForeground1); border-radius: 50%; } + + .icon { + color: var(--colorNeutralForeground1); /* Set icon color to black */ + } + + .icon:hover { + color: var(--colorNeutralForeground2); /* Set icon hover color to white */ + }