Rename data.js to navigation.js

This commit is contained in:
prototypa
2023-07-27 14:05:07 -04:00
parent 8b940e55be
commit 30d2c24f99
5 changed files with 11 additions and 8 deletions

View File

@ -69,13 +69,14 @@ Inside AstroWind template, you'll see the following folders and files:
``` ```
/ /
├── public/ ├── public/
│ ├── robots.txt │ ├── _headers
│ └── favicon.ico │ └── robots.txt
├── src/ ├── src/
│ ├── assets/ │ ├── assets/
│ │ ├── favicons/
│ │ ├── images/ │ │ ├── images/
│ │ └── styles/ │ │ └── styles/
│ │ └── base.css │ │ └── tailwind.css
│ ├── components/ │ ├── components/
│ │ ├── blog/ │ │ ├── blog/
│ │ ├── common/ │ │ ├── common/
@ -83,6 +84,7 @@ Inside AstroWind template, you'll see the following folders and files:
│ │ │ ├── Header.astro │ │ │ ├── Header.astro
│ │ │ └── ... │ │ │ └── ...
│ │ ├── CustomStyles.astro │ │ ├── CustomStyles.astro
│ │ ├── Favicons.astro
│ │ └── Logo.astro │ │ └── Logo.astro
│ ├── content/ │ ├── content/
│ │ ├── post/ │ │ ├── post/
@ -92,7 +94,8 @@ Inside AstroWind template, you'll see the following folders and files:
│ │ └-- config.ts │ │ └-- config.ts
│ ├── layouts/ │ ├── layouts/
│ │ ├── BaseLayout.astro │ │ ├── BaseLayout.astro
│ │ ── ... │ │ ── MarkdownLayout.astro
│ │ └── PageLayout.astro
│ ├── pages/ │ ├── pages/
│ │ ├── [...blog]/ │ │ ├── [...blog]/
│ │ │ ├── [category]/ │ │ │ ├── [category]/

View File

@ -4,7 +4,7 @@ import Header from '~/components/widgets/Header.astro';
import Footer from '~/components/widgets/Footer.astro'; import Footer from '~/components/widgets/Footer.astro';
import Announcement from '~/components/widgets/Announcement.astro'; import Announcement from '~/components/widgets/Announcement.astro';
import { headerData, footerData } from '~/data'; import { headerData, footerData } from '~/navigation';
import { MetaSEO } from '~/types'; import { MetaSEO } from '~/types';

View File

@ -64,7 +64,7 @@ export const headerData = {
href: getPermalink("get-started-website-with-astro-tailwind-css", "post"), href: getPermalink("get-started-website-with-astro-tailwind-css", "post"),
}, },
{ {
text: "Article (with Widgets)", text: "Article (with MDX)",
href: getPermalink("markdown-elements-demo-post", "post"), href: getPermalink("markdown-elements-demo-post", "post"),
}, },
{ {

View File

@ -7,7 +7,7 @@ import Steps2 from '~/components/widgets/Steps2.astro';
import Content from '~/components/widgets/Content.astro'; import Content from '~/components/widgets/Content.astro';
import CallToAction from '~/components/widgets/CallToAction.astro'; import CallToAction from '~/components/widgets/CallToAction.astro';
import { headerData } from '~/data'; import { headerData } from '~/navigation';
const meta = { const meta = {
title: 'Saas Landing Page', title: 'Saas Landing Page',

View File

@ -5,7 +5,7 @@ import Header from '~/components/widgets/Header.astro';
import Hero from '~/components/widgets/Hero.astro'; import Hero from '~/components/widgets/Hero.astro';
import CallToAction from '~/components/widgets/CallToAction.astro'; import CallToAction from '~/components/widgets/CallToAction.astro';
import { headerData } from '~/data'; import { headerData } from '~/navigation';
const meta = { const meta = {
title: "Startup Landing Page", title: "Startup Landing Page",