From d9178d111b1fe612e7d2f04a354b17837f5ac6eb Mon Sep 17 00:00:00 2001 From: kubgus Date: Sun, 8 Sep 2024 11:05:51 +0200 Subject: [PATCH] Change file names for better clarity --- src/components/blog-preview.astro | 2 +- src/components/tech-marquee.astro | 2 +- src/data/{frame-data.js => marquee-data.js} | 0 src/layouts/{blog-navbar.astro => blog-layout.astro} | 2 +- src/layouts/{core.astro => core-layout.astro} | 0 src/layouts/{navbar.astro => navbar-layout.astro} | 2 +- src/pages/blog/test.md | 2 +- src/pages/index.astro | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename src/data/{frame-data.js => marquee-data.js} (100%) rename src/layouts/{blog-navbar.astro => blog-layout.astro} (96%) rename src/layouts/{core.astro => core-layout.astro} (100%) rename src/layouts/{navbar.astro => navbar-layout.astro} (96%) diff --git a/src/components/blog-preview.astro b/src/components/blog-preview.astro index 2703c0e..440fc7b 100644 --- a/src/components/blog-preview.astro +++ b/src/components/blog-preview.astro @@ -5,7 +5,7 @@ const dateString = new Date(post.frontmatter.date).toLocaleString("en-US", { mon ---
- +

{post.frontmatter.title}

{dateString}

diff --git a/src/components/tech-marquee.astro b/src/components/tech-marquee.astro index 22fd2b3..59c2e45 100644 --- a/src/components/tech-marquee.astro +++ b/src/components/tech-marquee.astro @@ -1,7 +1,7 @@ --- import PictureFrame from "./picture-frame.astro"; -import frameData from "../data/frame-data.js"; +import frameData from "../data/marquee-data.js"; const sortedData = frameData.sort(() => Math.random() - 0.5); --- diff --git a/src/data/frame-data.js b/src/data/marquee-data.js similarity index 100% rename from src/data/frame-data.js rename to src/data/marquee-data.js diff --git a/src/layouts/blog-navbar.astro b/src/layouts/blog-layout.astro similarity index 96% rename from src/layouts/blog-navbar.astro rename to src/layouts/blog-layout.astro index eb45c19..9223c09 100644 --- a/src/layouts/blog-navbar.astro +++ b/src/layouts/blog-layout.astro @@ -1,5 +1,5 @@ --- -import NavbarLayout from "./navbar.astro"; +import NavbarLayout from "./navbar-layout.astro"; import "../styles/default-padding.css"; import "../styles/article.css"; diff --git a/src/layouts/core.astro b/src/layouts/core-layout.astro similarity index 100% rename from src/layouts/core.astro rename to src/layouts/core-layout.astro diff --git a/src/layouts/navbar.astro b/src/layouts/navbar-layout.astro similarity index 96% rename from src/layouts/navbar.astro rename to src/layouts/navbar-layout.astro index 97bd6e8..1fd26d1 100644 --- a/src/layouts/navbar.astro +++ b/src/layouts/navbar-layout.astro @@ -1,5 +1,5 @@ --- -import CoreLayout from "../layouts/core.astro"; +import CoreLayout from "../layouts/core-layout.astro"; import ContactBar from "../components/contact-bar.astro"; diff --git a/src/pages/blog/test.md b/src/pages/blog/test.md index 0daebfd..5314081 100644 --- a/src/pages/blog/test.md +++ b/src/pages/blog/test.md @@ -1,5 +1,5 @@ --- -layout: "../../layouts/blog-navbar.astro" +layout: "../../layouts/blog-layout.astro" title: "Preview of markdown styles" description: "This post doesn't hold any relevance, it's just a preview to test markdown styles." date: 2024-03-26 diff --git a/src/pages/index.astro b/src/pages/index.astro index fb2e9c1..123e718 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,5 +1,5 @@ --- -import NavbarLayout from "../layouts/navbar.astro"; +import NavbarLayout from "../layouts/navbar-layout.astro"; import ContactBar from "../components/contact-bar.astro";