Skip to content

Commit

Permalink
Rename data.js to navigation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
prototypa committed Jul 27, 2023
1 parent 8b940e5 commit 30d2c24
Showing 5 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -69,20 +69,22 @@ 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/
│ │ ├── widgets/
│ │ │ ├── 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]/
2 changes: 1 addition & 1 deletion src/layouts/PageLayout.astro
Original file line number Diff line number Diff line change
@@ -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';
2 changes: 1 addition & 1 deletion src/data.js → src/navigation.js
Original file line number Diff line number Diff line change
@@ -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"),
},
{
2 changes: 1 addition & 1 deletion src/pages/landing/saas.astro
Original file line number Diff line number Diff line change
@@ -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',
2 changes: 1 addition & 1 deletion src/pages/landing/startup.astro
Original file line number Diff line number Diff line change
@@ -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",

0 comments on commit 30d2c24

Please sign in to comment.