Skip to content

Commit

Permalink
🎨 astro/src/layoutsにPrettierを適用 (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZEKE320 authored and nkte8 committed Apr 6, 2024
1 parent 3893948 commit 771960b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 32 deletions.
16 changes: 8 additions & 8 deletions astro/src/layouts/Blanklayout.astro
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
import { baseurl, posturl } from "@/env/envs";
import Metadatas from "@/components/Metadatas.astro";
const favicon = baseurl + "favicon.svg";
import { baseurl, posturl } from "@/env/envs"
import Metadatas from "@/components/Metadatas.astro"
const favicon = baseurl + "favicon.svg"
interface Props {
pageTitle: string;
cardPath: string;
robots: string[];
hidePostButton: boolean;
pageTitle: string
cardPath: string
robots: string[]
hidePostButton: boolean
}
const { cardPath, pageTitle, robots, hidePostButton } = Astro.props;
const { cardPath, pageTitle, robots, hidePostButton } = Astro.props
---

<html lang="ja">
Expand Down
14 changes: 7 additions & 7 deletions astro/src/layouts/Indexlayout.astro
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
interface Props {
pageTitle: string;
cardPath: string;
robots: string[];
pageTitle: string
cardPath: string
robots: string[]
}
const { cardPath, pageTitle, robots } = Astro.props;
import Header from "@/components/Header.astro";
import Footer from "@/components/Footer.astro";
import Blanklayout from "@/layouts/Blanklayout.astro";
const { cardPath, pageTitle, robots } = Astro.props
import Header from "@/components/Header.astro"
import Footer from "@/components/Footer.astro"
import Blanklayout from "@/layouts/Blanklayout.astro"
---

<Blanklayout
Expand Down
18 changes: 9 additions & 9 deletions astro/src/layouts/Pagelayout.astro
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
---
interface Props {
pageTitle: string;
cardPath: string;
robots: string[];
hideLoader?: boolean;
hidePostButton: boolean;
pageTitle: string
cardPath: string
robots: string[]
hideLoader?: boolean
hidePostButton: boolean
}
const {
cardPath,
pageTitle,
robots,
hideLoader = false,
hidePostButton,
} = Astro.props;
import Header from "@/components/Header.astro";
import Footer from "@/components/Footer.astro";
import Blanklayout from "@/layouts/Blanklayout.astro";
} = Astro.props
import Header from "@/components/Header.astro"
import Footer from "@/components/Footer.astro"
import Blanklayout from "@/layouts/Blanklayout.astro"
---

<Blanklayout
Expand Down
16 changes: 8 additions & 8 deletions astro/src/layouts/Postlayout.astro
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
interface Props {
pageTitle: string;
cardPath: string;
robots: string[];
hideLoader?: boolean;
pageTitle: string
cardPath: string
robots: string[]
hideLoader?: boolean
}
const { cardPath, pageTitle, robots } = Astro.props;
import Footer from "@/components/Footer.astro";
import Blanklayout from "@/layouts/Blanklayout.astro";
import App from "@/components/Client";
const { cardPath, pageTitle, robots } = Astro.props
import Footer from "@/components/Footer.astro"
import Blanklayout from "@/layouts/Blanklayout.astro"
import App from "@/components/Client"
---

<Blanklayout
Expand Down

0 comments on commit 771960b

Please sign in to comment.