From 6cbe277c8c3d5b20bffcabaa96e4d8d13fad5d38 Mon Sep 17 00:00:00 2001 From: chark1es Date: Wed, 5 Feb 2025 14:05:33 -0800 Subject: [PATCH] new sections --- .../{profile.astro => profile/index.astro} | 22 +- src/pages/profile/officer.astro | 327 ++++++++++++++++++ src/pages/profile/sponsor.astro | 0 3 files changed, 338 insertions(+), 11 deletions(-) rename src/pages/{profile.astro => profile/index.astro} (94%) create mode 100644 src/pages/profile/officer.astro create mode 100644 src/pages/profile/sponsor.astro diff --git a/src/pages/profile.astro b/src/pages/profile/index.astro similarity index 94% rename from src/pages/profile.astro rename to src/pages/profile/index.astro index 495729f..c2742a8 100644 --- a/src/pages/profile.astro +++ b/src/pages/profile/index.astro @@ -1,13 +1,13 @@ --- -import Layout from "../layouts/Layout.astro"; -import UserProfile from "../components/auth/UserProfile.astro"; -import DefaultProfileView from "../components/profile/DefaultProfileView.astro"; -import OfficerProfileView from "../components/profile/OfficerView.astro"; -import UserSettings from "../components/profile/UserSettings.astro"; -import FileViewerModal from "../components/modals/FileViewerModal"; +import Layout from "../../layouts/Layout.astro"; +import UserProfile from "../../components/auth/UserProfile.astro"; +import DefaultProfileView from "../../components/profile/DefaultProfileView.astro"; +import OfficerProfileView from "../../components/profile/OfficerView.astro"; +import UserSettings from "../../components/profile/UserSettings.astro"; +import FileViewerModal from "../../components/modals/FileViewerModal"; import yaml from "js-yaml"; -import profileConfig from "../config/profileConfig.yaml?raw"; -import textConfig from "../config/text.yml?raw"; +import profileConfig from "../../config/profileConfig.yaml?raw"; +import textConfig from "../../config/text.yml?raw"; const title = "User Profile"; const config = yaml.load(profileConfig) as any; @@ -202,10 +202,10 @@ const text = yaml.load(textConfig) as any; + + diff --git a/src/pages/profile/sponsor.astro b/src/pages/profile/sponsor.astro new file mode 100644 index 0000000..e69de29