feat: convert hero section to use randomly selected images stored in directus

This commit is contained in:
2026-03-09 21:49:37 -05:00
parent 74e9aff4cc
commit c9cb15f201
13 changed files with 71 additions and 40 deletions

View File

@@ -5,6 +5,7 @@ import type {
Weather,
Post,
Category,
HeaderImage,
Application,
Experience,
Education,
@@ -20,6 +21,7 @@ type Schema = {
site_weather: Weather;
posts: Post[];
categories: Category[];
header_images: HeaderImage[];
site_applications: Application;
site_experience: Experience;
site_education: Education;

View File

@@ -61,6 +61,12 @@ export type Category = {
logoDark: string;
};
export type HeaderImage = {
id: string;
image: string;
image_alt: string;
};
export type Application = {
id: string;
name: string;