feat: convert hero section to use randomly selected images stored in directus
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user