diff --git a/src/navigation.js b/src/navigation.js index 56134b9..e737357 100644 --- a/src/navigation.js +++ b/src/navigation.js @@ -1,119 +1,115 @@ -import { getPermalink, getAsset } from './utils/permalinks'; +import { getPermalink, getAsset, getBlogPermalink } from './utils/permalinks'; export const headerData = { links: [ - // { - // text: 'Homes', - // links: [ - // { - // text: 'SaaS', - // href: getPermalink('/homes/saas'), - // }, - // { - // text: 'Startup', - // href: getPermalink('/homes/startup'), - // }, - // { - // text: 'Mobile App', - // href: getPermalink('/homes/mobile-app'), - // }, - // { - // text: 'Personal', - // href: getPermalink('/homes/personal'), - // }, - // ], - // }, - // { - // text: 'Pages', - // 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'), - // }, - // ], - // }, - // { - // text: 'Landing', - // links: [ - // { - // text: 'Lead Generation', - // href: getPermalink('/landing/lead-generation'), - // }, - // { - // text: 'Long-form Sales', - // href: getPermalink('/landing/sales'), - // }, - // { - // text: 'Click-Through', - // href: getPermalink('/landing/click-through'), - // }, - // { - // text: 'Product Details (or Services)', - // href: getPermalink('/landing/product'), - // }, - // { - // text: 'Coming Soon or Pre-Launch', - // href: getPermalink('/landing/pre-launch'), - // }, - // { - // text: 'Subscription', - // href: getPermalink('/landing/subscription'), - // }, - // ], - // }, - // { - // text: 'Blog', - // 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'), - // }, - // ], - // }, - // { - // text: 'Widgets', - // href: '#', - // }, + { + text: 'Homes', + links: [ + { + text: 'SaaS', + href: getPermalink('/homes/saas'), + }, + { + text: 'Startup', + href: getPermalink('/homes/startup'), + }, + { + text: 'Mobile App', + href: getPermalink('/homes/mobile-app'), + }, + { + text: 'Personal', + href: getPermalink('/homes/personal'), + }, + ], + }, + { + text: 'Pages', + 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'), + }, + ], + }, + { + text: 'Landing', + links: [ + { + text: 'Lead Generation', + href: getPermalink('/landing/lead-generation'), + }, + { + text: 'Long-form Sales', + href: getPermalink('/landing/sales'), + }, + { + text: 'Click-Through', + href: getPermalink('/landing/click-through'), + }, + { + text: 'Product Details (or Services)', + href: getPermalink('/landing/product'), + }, + { + text: 'Coming Soon or Pre-Launch', + href: getPermalink('/landing/pre-launch'), + }, + { + text: 'Subscription', + href: getPermalink('/landing/subscription'), + }, + ], + }, + { + text: 'Blog', + 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'), + }, + ], + }, ], // actions: [{ text: 'Download', href: 'https://github.com/onwidget/astrowind', target: '_blank' }], };