Add date list component #50

Merged
BobdaFett merged 37 commits from feat/date-component into main 2026-01-16 14:02:18 +00:00
Showing only changes of commit 5e9e9bcf58 - Show all commits
+3 -3
View File
@@ -1,4 +1,4 @@
use crate::common::DateInfo;
use crate::common::{DateInfo, DateRange};
use crate::components::{DashboardButton, Date};
use leptos::prelude::*;
@@ -40,7 +40,7 @@ pub fn TestPage() -> impl IntoView {
important_dates=vec!{
DateInfo {
title: "Title".to_string(),
date: "Nov 4".to_string(),
date: DateRange::Range("February 2nd, 2026".to_string(), "February 10th, 2026".to_string()),
description: "This is a test".to_string(),
}
}
@@ -51,7 +51,7 @@ pub fn TestPage() -> impl IntoView {
important_dates=vec!{
DateInfo {
title: "Scholarships Due".to_string(),
date: "Nov 4".to_string(),
date: DateRange::Single("November 4th, 2025".to_string()),
description: "This is a test".to_string(),
}
}