diff --git a/src/components/atoms/ExtraMetaTags.astro b/src/components/atoms/ExtraMetaTags.astro
index a51272c..8915004 100644
--- a/src/components/atoms/ExtraMetaTags.astro
+++ b/src/components/atoms/ExtraMetaTags.astro
@@ -1,9 +1,7 @@
---
-import { SITE } from '~/config.mjs';
-
-const base = `${SITE.basePathname}${SITE.basePathname.endsWith('/') ? "" : "/"}`
+import { getRelativeLink } from '~/utils/permalinks';
---
-
-
-
+
+
+
diff --git a/src/components/atoms/Pagination.astro b/src/components/atoms/Pagination.astro
index 89a03c5..7d7203d 100644
--- a/src/components/atoms/Pagination.astro
+++ b/src/components/atoms/Pagination.astro
@@ -1,6 +1,6 @@
---
import { Icon } from 'astro-icon';
-import { getPermalink } from '~/utils/permalinks';
+import { getRelativeLink } from '~/utils/permalinks';
const { prevUrl, nextUrl, prevText = 'Newer posts', nextText = 'Older posts' } = Astro.props;
---
@@ -9,8 +9,8 @@ const { prevUrl, nextUrl, prevText = 'Newer posts', nextText = 'Older posts' } =
@@ -19,8 +19,8 @@ const { prevUrl, nextUrl, prevText = 'Newer posts', nextText = 'Older posts' } =
diff --git a/src/components/widgets/Footer.astro b/src/components/widgets/Footer.astro
index 17494f3..fbde59e 100644
--- a/src/components/widgets/Footer.astro
+++ b/src/components/widgets/Footer.astro
@@ -1,6 +1,61 @@
---
import { Icon } from 'astro-icon';
-import { getHomePermalink } from '~/utils/permalinks';
+import { getHomePermalink, getRelativeLink } from '~/utils/permalinks';
+
+const links = [
+ {
+ title: 'Product',
+ items: [
+ { title: 'Features', href: '#' },
+ { title: 'Security', href: '#' },
+ { title: 'Team', href: '#' },
+ { title: 'Enterprise', href: '#' },
+ { title: 'Customer stories', href: '#' },
+ { title: 'Pricing', href: '#' },
+ { title: 'Resources', href: '#' },
+ ],
+ },
+ {
+ title: 'Platform',
+ items: [
+ { title: 'Developer API', href: '#' },
+ { title: 'Partners', href: '#' },
+ { title: 'Atom', href: '#' },
+ { title: 'Electron', href: '#' },
+ { title: 'AstroWind Desktop', href: '#' },
+ ],
+ },
+ {
+ title: 'Support',
+ items: [
+ { title: 'Docs', href: '#' },
+ { title: 'Community Forum', href: '#' },
+ { title: 'Professional Services', href: '#' },
+ { title: 'Skills', href: '#' },
+ { title: 'Status', href: '#' },
+ ],
+ },
+ {
+ title: 'Company',
+ items: [
+ { title: 'About', href: '#' },
+ { title: 'Blog', href: '#' },
+ { title: 'Careers', href: '#' },
+ { title: 'Press', href: '#' },
+ { title: 'Inclusion', href: '#' },
+ { title: 'Social Impact', href: '#' },
+ { title: 'Shop', href: '#' },
+ ],
+ },
+];
+
+const social = [
+ { label: 'Twitter', icon: 'tabler:brand-twitter', href: '#' },
+ { label: 'Instagram', icon: 'tabler:brand-instagram', href: '#' },
+ { label: 'Facebook', icon: 'tabler:brand-facebook', href: '#' },
+ { label: 'RSS', icon: 'tabler:rss', href: getRelativeLink('/rss.xml') },
+ { label: 'Github', icon: 'tabler:brand-github', href: 'https://github.com/onwidget/astrowind' },
+];
---
-
-
-
-
+ {
+ links.map(({ title, items }) => (
+
+
{title}
+ {items && Array.isArray(items) && items.length > 0 && (
+
+ {items.map(({ title, href }) => (
+ -
+
+ {title}
+
+
+ ))}
+
+ )}
+
+ ))
+ }
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
+ {
+ social.map(({ label, href, icon }) => (
+ -
+
+
+
+
+ ))
+ }
+