diff --git a/src/components/widgets/Footer.astro b/src/components/widgets/Footer.astro index 906ee6c..4ec105b 100644 --- a/src/components/widgets/Footer.astro +++ b/src/components/widgets/Footer.astro @@ -11,23 +11,24 @@ interface Link { icon?: string; } -interface Links { - title?: string; - links: Array; +interface Sponsor { + ariaLabel: string, + src: string, + href: string, } export interface Props { - links: Array; - secondaryLinks: Array; - socialLinks: Array; + sponsors1: Sponsor[], + sponsors2: Sponsor[], + socialLinks: Link[]; footNote?: string; theme?: string; } const { + sponsors1 = [], + sponsors2 = [], socialLinks = [], - secondaryLinks = [], - links = [], footNote = "", theme = "light", } = Astro.props; @@ -45,46 +46,25 @@ const {
- SAS Logo - Altium Logo - Altium Logo - Ansys Logo - Ohio Space Grant Consortium Logo + { + sponsors1.map(({ ariaLabel, src, href }) => ( + + {ariaLabel} + + )) + }
- OSU College of Engineering Logo - OSU Battelle Center Logo + { + sponsors2.map(({ ariaLabel, src, href }) => ( + + {ariaLabel} + + )) + }
diff --git a/src/components/widgets/Socials.astro b/src/components/widgets/Socials.astro index d42bbbc..0e1bb40 100644 --- a/src/components/widgets/Socials.astro +++ b/src/components/widgets/Socials.astro @@ -6,6 +6,7 @@ const { emails = [], facebooks = [], youtubes = [], + instagrams = [], classes = [], } = Astro.props; --- @@ -14,6 +15,15 @@ const { class="font-normal flex flex-row flex-wrap gap-x-3 my-2 text-muted" class:list={classes} > + { + instagrams.map((instagram) => ( + + +

Instagram

+
+ )) + } + { linkedins.map((linkedin) => ( diff --git a/src/navigation.js b/src/navigation.js index 7b5f888..0891d26 100644 --- a/src/navigation.js +++ b/src/navigation.js @@ -40,18 +40,51 @@ export const headerData = { }; export const footerData = { - links: [ - + sponsors1: [ + { + src: "~/assets/images/sponsors/SAS.webp", + ariaLabel: "SAS Logo", + href: "https://specialaerospaceservices.com/" + }, + { + src: "~/assets/images/sponsors/redwire.webp", + ariaLabel: "Redwire Logo", + href: "https://redwirespace.com/" + }, + { + src: "~/assets/images/sponsors/altium.webp", + ariaLabel: "Altium Logo", + href: "https://www.altium.com/" + }, + { + src: "~/assets/images/sponsors/ansys.webp", + ariaLabel: "Ansys Logo", + href: "https://www.ansys.com/" + }, + { + src: "~/assets/images/sponsors/OSGC.webp", + ariaLabel: "Ohio Space Grant Consortium Logo", + href: "https://osgc.org/" + } ], - secondaryLinks: [ - + sponsors2: [ + { + src:"~/assets/images/sponsors/OSUCOE.webp", + ariaLabel :"OSU College of Engineering Logo", + href: "https://engineering.osu.edu/" + }, + { + src: "~/assets/images/sponsors/osu battelle center.webp", + ariaLabel: "OSU Battelle Center Logo", + href: "https://battellecenter.osu.edu/" + } ], socialLinks: [ - { ariaLabel: 'X', icon: 'tabler:brand-x', href: '#' }, - { ariaLabel: 'Instagram', icon: 'tabler:brand-instagram', href: '#' }, - { ariaLabel: 'Facebook', icon: 'tabler:brand-facebook', href: '#' }, - { ariaLabel: 'RSS', icon: 'tabler:rss', href: getAsset('/rss.xml') }, - { ariaLabel: 'Github', icon: 'tabler:brand-github', href: 'https://github.com/onwidget/astrowind' }, + { ariaLabel: 'LinkedIn', icon: 'tabler:brand-linkedin', href: 'https://www.linkedin.com/company/the-buckeye-space-launch-initiative' }, + { ariaLabel: 'Facebook', icon: 'tabler:brand-facebook', href: 'https://www.facebook.com/spacelaunchinitiative/' }, + { ariaLabel: 'YouTube', icon: 'tabler:brand-youtube', href: 'https://www.youtube.com/@buckeyesli1865/videos' }, + { ariaLabel: 'Instagram', icon: 'tabler:brand-instagram', href: 'https://www.instagram.com/buckeye_sli/' }, + { ariaLabel: 'Github', icon: 'tabler:brand-github', href: 'https://github.com/osu-bsli' }, ], footNote: ` © 2024 Buckeye Space Launch Initiative · All rights reserved. diff --git a/src/pages/contact.astro b/src/pages/contact.astro index a86df07..1553da1 100644 --- a/src/pages/contact.astro +++ b/src/pages/contact.astro @@ -51,6 +51,7 @@ const title = "Contact us"; ]} facebooks={["https://www.facebook.com/spacelaunchinitiative/"]} youtubes={["https://www.youtube.com/@buckeyesli1865/videos"]} + instagrams={["https://www.instagram.com/buckeye_sli/"]} /> diff --git a/src/pages/sponsor.astro b/src/pages/sponsor.astro index 6aa7755..e1c4a75 100644 --- a/src/pages/sponsor.astro +++ b/src/pages/sponsor.astro @@ -46,8 +46,8 @@ const title = "Sponsor us";

Hi, I'm Hana Winchester! I'm the Sponsorship Chair for the Buckeye - Space Launch Initiative. If you just want to learn more or want to sponsor - us, email me to get in touch. + Space Launch Initiative. If you want to sponsor us or just want to learn + more, email me or Marc, our Business Operations Director.

+ +