diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/widgets/Footer.astro | 43 | ||||
| -rw-r--r-- | src/navigation.ts | 61 |
2 files changed, 4 insertions, 100 deletions
diff --git a/src/components/widgets/Footer.astro b/src/components/widgets/Footer.astro index 1e51d2a..70cac54 100644 --- a/src/components/widgets/Footer.astro +++ b/src/components/widgets/Footer.astro @@ -31,49 +31,6 @@ const { socialLinks = [], secondaryLinks = [], links = [], footNote = '', theme <div class="relative max-w-7xl mx-auto px-4 sm:px-6 dark:text-slate-300 intersect-once intersect-quarter intercept-no-queue motion-safe:md:opacity-0 motion-safe:md:intersect:animate-fade" > - <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="mb-2"> - <a class="inline-block font-bold text-xl" href={getHomePermalink()}>{SITE?.name}</a> - </div> - <div class="text-sm text-muted flex gap-1"> - { - secondaryLinks.map(({ text, href }, index) => ( - <> - {index !== 0 ? ' · ' : ''} - <a - class="text-muted hover:text-gray-700 dark:text-gray-400 hover:underline transition duration-150 ease-in-out" - href={href} - set:html={text} - /> - </> - )) - } - </div> - </div> - { - links.map(({ title, links }) => ( - <div class="col-span-6 md:col-span-3 lg:col-span-2"> - <div class="dark:text-gray-300 font-medium mb-2">{title}</div> - {links && Array.isArray(links) && links.length > 0 && ( - <ul class="text-sm"> - {links.map(({ text, href, ariaLabel }) => ( - <li class="mb-2"> - <a - class="text-muted hover:text-gray-700 hover:underline dark:text-gray-400 transition duration-150 ease-in-out" - href={href} - aria-label={ariaLabel} - > - <Fragment set:html={text} /> - </a> - </li> - ))} - </ul> - )} - </div> - )) - } - </div> <div class="md:flex md:items-center md:justify-between py-6 md:py-8"> { socialLinks?.length ? ( diff --git a/src/navigation.ts b/src/navigation.ts index d5cd65b..43a6f3f 100644 --- a/src/navigation.ts +++ b/src/navigation.ts @@ -119,65 +119,12 @@ export const headerData = { }; export const footerData = { - links: [ - { - title: 'Product', - links: [ - { text: 'Features', href: '#' }, - { text: 'Security', href: '#' }, - { text: 'Team', href: '#' }, - { text: 'Enterprise', href: '#' }, - { text: 'Customer stories', href: '#' }, - { text: 'Pricing', href: '#' }, - { text: 'Resources', href: '#' }, - ], - }, - { - title: 'Platform', - links: [ - { text: 'Developer API', href: '#' }, - { text: 'Partners', href: '#' }, - { text: 'Atom', href: '#' }, - { text: 'Electron', href: '#' }, - { text: 'AstroWind Desktop', href: '#' }, - ], - }, - { - title: 'Support', - links: [ - { text: 'Docs', href: '#' }, - { text: 'Community Forum', href: '#' }, - { text: 'Professional Services', href: '#' }, - { text: 'Skills', href: '#' }, - { text: 'Status', href: '#' }, - ], - }, - { - title: 'Company', - links: [ - { text: 'About', href: '#' }, - { text: 'Blog', href: '#' }, - { text: 'Careers', href: '#' }, - { text: 'Press', href: '#' }, - { text: 'Inclusion', href: '#' }, - { text: 'Social Impact', href: '#' }, - { text: 'Shop', href: '#' }, - ], - }, - ], - secondaryLinks: [ - { text: 'Terms', href: getPermalink('/terms') }, - { text: 'Privacy Policy', href: getPermalink('/privacy') }, - ], + links: [], + secondaryLinks: [], 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' }, + { text: 'Privacy Policy', href: getPermalink('/privacy') }, ], footNote: ` - <img class="w-5 h-5 md:w-6 md:h-6 md:-mt-0.5 bg-cover mr-1.5 rtl:mr-0 rtl:ml-1.5 float-left rtl:float-right rounded-sm" src="https://onwidget.com/favicon/favicon-32x32.png" alt="onWidget logo" loading="lazy"></img> - Made by <a class="text-blue-600 underline dark:text-muted" href="https://onwidget.com/"> onWidget</a> · All rights reserved. + Strona obsługiwana przez <a class="text-blue-600 underline dark:text-muted" href="https://www.rycerz.xyz/">Craftknight</a> Copyright 2025 © Wszystkie prawa zastrzeżone `, }; |
