From c6c6f57c9f121667253e60d52c81481bb94a7893 Mon Sep 17 00:00:00 2001 From: Chad Kruse <314653+chadokruse@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:38:55 -0600 Subject: [PATCH] Reorganize components, prep for /profiles root --- .../src/lib/components/profiles/Profile.svelte | 2 +- .../profiles/SummaryBoxHeaderBadge.svelte | 18 ------------------ .../profiles/{ => alerts}/Banner.svelte | 0 .../profiles/{ => root}/DevLinks.svelte | 0 apps/web/src/routes/profiles/+page.svelte | 2 +- 5 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 apps/web/src/lib/components/profiles/SummaryBoxHeaderBadge.svelte rename apps/web/src/lib/components/profiles/{ => alerts}/Banner.svelte (100%) rename apps/web/src/lib/components/profiles/{ => root}/DevLinks.svelte (100%) diff --git a/apps/web/src/lib/components/profiles/Profile.svelte b/apps/web/src/lib/components/profiles/Profile.svelte index 81c6398..6445996 100644 --- a/apps/web/src/lib/components/profiles/Profile.svelte +++ b/apps/web/src/lib/components/profiles/Profile.svelte @@ -3,7 +3,7 @@ import People from './people/People.svelte'; import ContentBoxWrapper from './ContentBoxWrapper.svelte'; import ContentBoxHeader from './ContentBoxHeader.svelte'; - import Banner from './Banner.svelte'; + import Banner from './alerts/Banner.svelte'; import NavSearch from './topnav/Nav.svelte'; import SurpriseMe from './topnav/SurpriseMe.svelte'; import FoundationHeader from './header/FoundationHeader.svelte'; diff --git a/apps/web/src/lib/components/profiles/SummaryBoxHeaderBadge.svelte b/apps/web/src/lib/components/profiles/SummaryBoxHeaderBadge.svelte deleted file mode 100644 index e740783..0000000 --- a/apps/web/src/lib/components/profiles/SummaryBoxHeaderBadge.svelte +++ /dev/null @@ -1,18 +0,0 @@ - - - - {@render children?.()} - diff --git a/apps/web/src/lib/components/profiles/Banner.svelte b/apps/web/src/lib/components/profiles/alerts/Banner.svelte similarity index 100% rename from apps/web/src/lib/components/profiles/Banner.svelte rename to apps/web/src/lib/components/profiles/alerts/Banner.svelte diff --git a/apps/web/src/lib/components/profiles/DevLinks.svelte b/apps/web/src/lib/components/profiles/root/DevLinks.svelte similarity index 100% rename from apps/web/src/lib/components/profiles/DevLinks.svelte rename to apps/web/src/lib/components/profiles/root/DevLinks.svelte diff --git a/apps/web/src/routes/profiles/+page.svelte b/apps/web/src/routes/profiles/+page.svelte index d20c200..7f9378b 100644 --- a/apps/web/src/routes/profiles/+page.svelte +++ b/apps/web/src/routes/profiles/+page.svelte @@ -1,5 +1,5 @@