Skip to content

Commit

Permalink
Clean up unnecessary files and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Powerlated committed Aug 4, 2024
1 parent a522fe4 commit cfe1f42
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 245 deletions.
23 changes: 0 additions & 23 deletions src/components/widgets/Announcement.astro

This file was deleted.

64 changes: 0 additions & 64 deletions src/components/widgets/BlogHighlightedPosts.astro

This file was deleted.

63 changes: 0 additions & 63 deletions src/components/widgets/BlogLatestPosts.astro

This file was deleted.

40 changes: 0 additions & 40 deletions src/components/widgets/Contact.astro

This file was deleted.

19 changes: 1 addition & 18 deletions src/components/widgets/SubteamHero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const {
tagline,
content = await Astro.slots.render('content'),
actions = await Astro.slots.render('actions'),
image = await Astro.slots.render('image'),
id,
Expand All @@ -28,7 +27,7 @@ const {
<div class="relative max-w-7xl mx-auto px-4 sm:px-6">
<div class="pt-0 md:pt-[76px] pointer-events-none"></div>
<div class="py-12 md:pt-20 lg:pt-0 lg:flex lg:items-center lg:mt-10 lg:gap-8">
<div class="basis-1/2 text-center lg:text-left pb-10 md:pb-16 mx-auto">
<div class="basis-1/2 text-center lg:text-left mx-auto">
{
tagline && (
<p
Expand All @@ -47,22 +46,6 @@ const {
}
<div class="max-w-3xl mx-auto lg:max-w-none">
{subtitle && <p class="text-xl mb-6 dark:--aw-color-text-muted" set:html={subtitle} />}

{
actions && (
<div class="max-w-xs sm:max-w-md m-auto flex flex-nowrap flex-col sm:flex-row sm:justify-center gap-4 lg:justify-start lg:m-0 lg:max-w-7xl">
{Array.isArray(actions) ? (
actions.map((action) => (
<div class="flex w-full sm:w-auto">
<Button {...(action || {})} class="w-full sm:mb-0" />
</div>
))
) : (
<Fragment set:html={actions} />
)}
</div>
)
}
</div>
{content && <Fragment set:html={content} />}
</div>
Expand Down
13 changes: 0 additions & 13 deletions src/pages/projects/liquids.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@ import Layout from "~/layouts/PageLayout.astro";
import SubteamHero from "~/components/widgets/SubteamHero.astro";
import SubteamBlurb from "~/components/widgets/SubteamBlurb.astro";
import Note from "~/components/widgets/Note.astro";
import Features from "~/components/widgets/Features.astro";
import Features2 from "~/components/widgets/Features2.astro";
import Steps from "~/components/widgets/Steps.astro";
import WeAreBsli from "~/components/widgets/WeAreBsli.astro";
import Content from "~/components/widgets/Content.astro";
import OurProjects from "~/components/widgets/OurProjects.astro";
import BlogLatestPosts from "~/components/widgets/BlogLatestPosts.astro";
import FAQs from "~/components/widgets/FAQs.astro";
import Stats from "~/components/widgets/Stats.astro";
import CallToAction from "~/components/widgets/CallToAction.astro";
import { getPermalink } from "~/utils/permalinks";
const metadata = {
title: "BSLI — The Ohio State University",
Expand Down
12 changes: 0 additions & 12 deletions src/pages/projects/nasa.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,7 @@ import Layout from "~/layouts/PageLayout.astro";
import SubteamHero from "~/components/widgets/SubteamHero.astro";
import SubteamBlurb from "~/components/widgets/SubteamBlurb.astro";
import Note from "~/components/widgets/Note.astro";
import Features from "~/components/widgets/Features.astro";
import Features2 from "~/components/widgets/Features2.astro";
import Steps from "~/components/widgets/Steps.astro";
import WeAreBsli from "~/components/widgets/WeAreBsli.astro";
import Content from "~/components/widgets/Content.astro";
import OurProjects from "~/components/widgets/OurProjects.astro";
import BlogLatestPosts from "~/components/widgets/BlogLatestPosts.astro";
import FAQs from "~/components/widgets/FAQs.astro";
import Stats from "~/components/widgets/Stats.astro";
import CallToAction from "~/components/widgets/CallToAction.astro";
import { getPermalink } from "~/utils/permalinks";
const metadata = {
title: "BSLI — The Ohio State University",
Expand Down
12 changes: 0 additions & 12 deletions src/pages/projects/sac.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,7 @@ import Layout from "~/layouts/PageLayout.astro";
import SubteamHero from "~/components/widgets/SubteamHero.astro";
import SubteamBlurb from "~/components/widgets/SubteamBlurb.astro";
import Note from "~/components/widgets/Note.astro";
import Features from "~/components/widgets/Features.astro";
import Features2 from "~/components/widgets/Features2.astro";
import Steps from "~/components/widgets/Steps.astro";
import WeAreBsli from "~/components/widgets/WeAreBsli.astro";
import Content from "~/components/widgets/Content.astro";
import OurProjects from "~/components/widgets/OurProjects.astro";
import BlogLatestPosts from "~/components/widgets/BlogLatestPosts.astro";
import FAQs from "~/components/widgets/FAQs.astro";
import Stats from "~/components/widgets/Stats.astro";
import CallToAction from "~/components/widgets/CallToAction.astro";
import { getPermalink } from "~/utils/permalinks";
const metadata = {
title: "BSLI — The Ohio State University",
Expand Down

0 comments on commit cfe1f42

Please sign in to comment.