Skip to content

Commit

Permalink
fix: update footer
Browse files Browse the repository at this point in the history
  • Loading branch information
divya-binil committed Dec 8, 2023
1 parent 5cba519 commit 5fbdcbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 77 deletions.
8 changes: 4 additions & 4 deletions src/components/widgets/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ export interface Props {
const { socialLinks = [], secondaryLinks = [], links = [], footNote = '', theme = 'light' } = Astro.props;
---

<footer class:list={[{ dark: theme === 'dark' }, 'relative border-t border-gray-200 dark:border-slate-800 not-prose']}>
<div class="dark:bg-dark absolute inset-0 pointer-events-none" aria-hidden="true"></div>
<div class="relative max-w-7xl mx-auto px-4 sm:px-6 dark:text-slate-300">
<div class="relative max-w-5xl mx-auto px-4 sm:px-6 dark:text-slate-300">
<div class="grid grid-cols-12 gap-4 gap-y-8 sm:gap-8 py-8 md:py-12">
<div class="col-span-12 lg:col-span-4">
<div class="col-span-12 lg:col-span-6">
<div class="mb-2">
<a class="inline-block font-bold text-xl" href="#">Intellectual
Frontiers</a>
Expand All @@ -55,7 +54,7 @@ const { socialLinks = [], secondaryLinks = [], links = [], footNote = '', theme
</div>
{
links.map(({ title, links }) => (
<div class="col-span-6 md:col-span-3 lg:col-span-2">
<div class="col-span-12 lg:col-span-3">
<div class="dark:text-gray-300 font-medium mb-2">{title}</div>
{links && Array.isArray(links) && links.length > 0 && (
<ul class="text-sm">
Expand Down Expand Up @@ -124,3 +123,4 @@ const { socialLinks = [], secondaryLinks = [], links = [], footNote = '', theme
</div>
</div>
</footer>

73 changes: 0 additions & 73 deletions src/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,41 +26,10 @@ export const headerData = {
},
{
text: 'About Us',
// links: [
// {
// text: 'Features (Anchor Link)',
// href: getPermalink('/#features'),
// },
// {
// text: 'Services',
// href: getPermalink('/services'),
// },
// {
// text: 'Pricing',
// href: getPermalink('/pricing'),
// },
// {
// text: 'About us',
// href: getPermalink('/about'),
// },
// {
// text: 'Contact',
// href: getPermalink('/contact'),
// },
// {
// text: 'Terms',
// href: getPermalink('/terms'),
// },
// {
// text: 'Privacy policy',
// href: getPermalink('/privacy'),
// },
// ],
href: '#',
},
{
text: 'Patient Assets',
// links: [
// {
// text: 'Lead Generation',
// href: getPermalink('/landing/lead-generation'),
Expand Down Expand Up @@ -90,28 +59,6 @@ export const headerData = {
},
{
text: 'FAQs',
// links: [
// {
// text: 'Blog List',
// href: getBlogPermalink(),
// },
// {
// text: 'Article',
// href: getPermalink('get-started-website-with-astro-tailwind-css', 'post'),
// },
// {
// text: 'Article (with MDX)',
// href: getPermalink('markdown-elements-demo-post', 'post'),
// },
// {
// text: 'Category Page',
// href: getPermalink('tutorials', 'category'),
// },
// {
// text: 'Tag Page',
// href: getPermalink('astro', 'tag'),
// },
// ],
href: '#',
},
{
Expand Down Expand Up @@ -140,26 +87,6 @@ export const footerData = {
// { text: 'Resources', href: '#' },
],
},
{
title: '',
// links: [
// { text: 'Developer API', href: '#' },
// { text: 'Partners', href: '#' },
// { text: 'Atom', href: '#' },
// { text: 'Electron', href: '#' },
// { text: 'AstroWind Desktop', href: '#' },
// ],
},
{
title: '',
// links: [
// { text: 'Docs', href: '#' },
// { text: 'Community Forum', href: '#' },
// { text: 'Professional Services', href: '#' },
// { text: 'Skills', href: '#' },
// { text: 'Status', href: '#' },
// ],
},
{
title: 'Contact/Chatbot',
links: [
Expand Down

0 comments on commit 5fbdcbb

Please sign in to comment.