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

View File

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

View File

@ -64,7 +64,7 @@ export const headerData = {
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"),
},
{

View File

@ -7,7 +7,7 @@ import Steps2 from '~/components/widgets/Steps2.astro';
import Content from '~/components/widgets/Content.astro';
import CallToAction from '~/components/widgets/CallToAction.astro';
import { headerData } from '~/data';
import { headerData } from '~/navigation';
const meta = {
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 CallToAction from '~/components/widgets/CallToAction.astro';
import { headerData } from '~/data';
import { headerData } from '~/navigation';
const meta = {
title: "Startup Landing Page",