diff --git a/config.yml b/config.yml index a65004a..4291c7d 100644 --- a/config.yml +++ b/config.yml @@ -29,6 +29,16 @@ menu: - title: Contact Us link: /contact +footer: + tagline: Open Alumn Portal - An alumni portal connecting NCIT Alumns maintained by NOSK and contributors. + items: + - title: About + link: # + - title: GitHub + link: https://github.com/noskofficial/ncitalums + - title: Contribute Now + link: https://github.com/noskofficial/ncitalums/blob/develop/CONTRIBUTING.md + featured: profiles: - "2005/nitesh-rijal" diff --git a/src/components/homepage/HeroSection.astro b/src/components/homepage/HeroSection.astro index 792347a..2b28502 100644 --- a/src/components/homepage/HeroSection.astro +++ b/src/components/homepage/HeroSection.astro @@ -1,6 +1,10 @@ -
+--- + +--- + +
-

+

Stay Connected, Build Networks

diff --git a/src/components/shared/Footer.astro b/src/components/shared/Footer.astro index e69de29..8a0372a 100644 --- a/src/components/shared/Footer.astro +++ b/src/components/shared/Footer.astro @@ -0,0 +1,24 @@ +--- +import { loadConfig } from '../../utils/loadconfig'; + +const config = loadConfig(); +const footer = config.footer; +--- + +

+ \ No newline at end of file diff --git a/src/utils/loadconfig.ts b/src/utils/loadconfig.ts index acd82c3..18b3196 100644 --- a/src/utils/loadconfig.ts +++ b/src/utils/loadconfig.ts @@ -6,6 +6,7 @@ import { getCollection } from 'astro:content'; export interface Root { menu: Menu featured: FeaturedDetails + footer: Footer } export interface Menu { @@ -13,6 +14,11 @@ export interface Menu { main: Main[] } +interface Footer { + tagline: string + items: Main[] +} + export interface Main { title: string link?: string