Skip to content

Commit

Permalink
chore: update navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
cvgellhorn committed Jul 5, 2024
1 parent 7279a9e commit 79f3e41
Showing 1 changed file with 109 additions and 113 deletions.
222 changes: 109 additions & 113 deletions src/navigation.js
Original file line number Diff line number Diff line change
@@ -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' }],
};
Expand Down

0 comments on commit 79f3e41

Please sign in to comment.