From ef8d04633e87ac997722a70537dfeef1b4ae7e32 Mon Sep 17 00:00:00 2001 From: Dan Jutan Date: Fri, 2 Sep 2022 13:30:02 -0400 Subject: [PATCH] run prettier --- examples/portfolio/astro.config.mjs | 3 +- .../portfolio/src/components/Button.astro | 16 +- .../portfolio/src/components/Footer.astro | 32 +-- .../portfolio/src/components/MainHead.astro | 6 +- examples/portfolio/src/components/Nav.astro | 182 +++++++------- .../src/components/PortfolioPreview.astro | 231 +++++++++--------- examples/portfolio/src/layouts/project.astro | 10 +- examples/portfolio/src/pages/404.astro | 6 +- examples/portfolio/src/pages/about.astro | 57 ++--- examples/portfolio/src/pages/index.astro | 42 ++-- examples/portfolio/src/pages/projects.astro | 19 +- examples/portfolio/src/styles/global.css | 1 - 12 files changed, 281 insertions(+), 324 deletions(-) diff --git a/examples/portfolio/astro.config.mjs b/examples/portfolio/astro.config.mjs index 8659ce894..882e6515a 100644 --- a/examples/portfolio/astro.config.mjs +++ b/examples/portfolio/astro.config.mjs @@ -1,5 +1,4 @@ import { defineConfig } from 'astro/config'; // https://astro.build/config -export default defineConfig({ -}); +export default defineConfig({}); diff --git a/examples/portfolio/src/components/Button.astro b/examples/portfolio/src/components/Button.astro index 8804af6db..7b70175fb 100644 --- a/examples/portfolio/src/components/Button.astro +++ b/examples/portfolio/src/components/Button.astro @@ -1,13 +1,13 @@ - + diff --git a/examples/portfolio/src/components/Footer.astro b/examples/portfolio/src/components/Footer.astro index de55823ac..f238d6b6f 100644 --- a/examples/portfolio/src/components/Footer.astro +++ b/examples/portfolio/src/components/Footer.astro @@ -3,23 +3,23 @@ const currentYear = new Date().getFullYear(); --- diff --git a/examples/portfolio/src/components/MainHead.astro b/examples/portfolio/src/components/MainHead.astro index da3fdd03c..d7757af2a 100644 --- a/examples/portfolio/src/components/MainHead.astro +++ b/examples/portfolio/src/components/MainHead.astro @@ -1,8 +1,8 @@ --- -import "../styles/global.css"; +import '../styles/global.css'; const { - title = "Jeanine White: Personal Site", - description = "The personal site of Jeanine White", + title = 'Jeanine White: Personal Site', + description = 'The personal site of Jeanine White', } = Astro.props; --- diff --git a/examples/portfolio/src/components/Nav.astro b/examples/portfolio/src/components/Nav.astro index 45be2ecad..c08fc741f 100644 --- a/examples/portfolio/src/components/Nav.astro +++ b/examples/portfolio/src/components/Nav.astro @@ -1,107 +1,99 @@ diff --git a/examples/portfolio/src/components/PortfolioPreview.astro b/examples/portfolio/src/components/PortfolioPreview.astro index d21a0dfa9..3d0a91522 100644 --- a/examples/portfolio/src/components/PortfolioPreview.astro +++ b/examples/portfolio/src/components/PortfolioPreview.astro @@ -3,136 +3,133 @@ const { frontmatter, url } = Astro.props.project; ---
-
-

{frontmatter.title}

-
-
-

{frontmatter.description}

-
- Tagged: - { - frontmatter.tags.map((t) => ( -
- {t} -
- )) - } -
- - View - -
+
+

{frontmatter.title}

+
+
+

{frontmatter.description}

+
+ Tagged: + {frontmatter.tags.map((t) => ( +
+ {t} +
+ ))} +
+ + View + +
diff --git a/examples/portfolio/src/layouts/project.astro b/examples/portfolio/src/layouts/project.astro index 30bb78a4c..08b91a603 100644 --- a/examples/portfolio/src/layouts/project.astro +++ b/examples/portfolio/src/layouts/project.astro @@ -1,13 +1,13 @@ --- -import MainHead from "../components/MainHead.astro"; -import Button from "../components/Button.astro"; -import Footer from "../components/Footer.astro"; -import Nav from "../components/Nav.astro"; +import MainHead from '../components/MainHead.astro'; +import Button from '../components/Button.astro'; +import Footer from '../components/Footer.astro'; +import Nav from '../components/Nav.astro'; const { content } = Astro.props; --- - +