summaryrefslogtreecommitdiff
path: root/examples/portfolio/src
diff options
context:
space:
mode:
authorGravatar FredKSchott <FredKSchott@users.noreply.github.com> 2022-08-06 04:39:26 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-08-06 04:39:26 +0000
commit4de35f3b703db52f51463769e3aef4b23d2864e3 (patch)
treec6fea68d6368cf8ddfb098ac3159be71f265692a /examples/portfolio/src
parent24c8e7d853aa34aaa01204f715901c2610bfd9d6 (diff)
downloadastro-4de35f3b703db52f51463769e3aef4b23d2864e3.tar.gz
astro-4de35f3b703db52f51463769e3aef4b23d2864e3.tar.zst
astro-4de35f3b703db52f51463769e3aef4b23d2864e3.zip
[ci] format
Diffstat (limited to 'examples/portfolio/src')
-rw-r--r--examples/portfolio/src/components/MainHead.astro6
-rw-r--r--examples/portfolio/src/layouts/project.astro10
-rw-r--r--examples/portfolio/src/pages/404.astro6
-rw-r--r--examples/portfolio/src/pages/about.astro6
-rw-r--r--examples/portfolio/src/pages/index.astro16
-rw-r--r--examples/portfolio/src/pages/projects.astro10
6 files changed, 27 insertions, 27 deletions
diff --git a/examples/portfolio/src/components/MainHead.astro b/examples/portfolio/src/components/MainHead.astro
index 9d9bc209d..956f167ed 100644
--- a/examples/portfolio/src/components/MainHead.astro
+++ b/examples/portfolio/src/components/MainHead.astro
@@ -1,8 +1,8 @@
---
-import "../styles/global.scss";
+import '../styles/global.scss';
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/layouts/project.astro b/examples/portfolio/src/layouts/project.astro
index 81d67ad39..aba14a5ac 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/index.jsx";
-import Footer from "../components/Footer/index.jsx";
-import Nav from "../components/Nav/index.jsx";
+import MainHead from '../components/MainHead.astro';
+import Button from '../components/Button/index.jsx';
+import Footer from '../components/Footer/index.jsx';
+import Nav from '../components/Nav/index.jsx';
const { content } = Astro.props;
---
-<html lang={content.lang || "en"}>
+<html lang={content.lang || 'en'}>
<head>
<MainHead title={content.title} description={content.description} />
<style lang="scss">
diff --git a/examples/portfolio/src/pages/404.astro b/examples/portfolio/src/pages/404.astro
index f4ad66119..a2feb4158 100644
--- a/examples/portfolio/src/pages/404.astro
+++ b/examples/portfolio/src/pages/404.astro
@@ -1,7 +1,7 @@
---
-import MainHead from "../components/MainHead.astro";
-import Footer from "../components/Footer/index.jsx";
-import Nav from "../components/Nav/index.jsx";
+import MainHead from '../components/MainHead.astro';
+import Footer from '../components/Footer/index.jsx';
+import Nav from '../components/Nav/index.jsx';
---
<html lang="en">
diff --git a/examples/portfolio/src/pages/about.astro b/examples/portfolio/src/pages/about.astro
index 4cc72233b..a4205bb00 100644
--- a/examples/portfolio/src/pages/about.astro
+++ b/examples/portfolio/src/pages/about.astro
@@ -1,7 +1,7 @@
---
-import MainHead from "../components/MainHead.astro";
-import Footer from "../components/Footer/index.jsx";
-import Nav from "../components/Nav/index.jsx";
+import MainHead from '../components/MainHead.astro';
+import Footer from '../components/Footer/index.jsx';
+import Nav from '../components/Nav/index.jsx';
---
<html lang="en">
diff --git a/examples/portfolio/src/pages/index.astro b/examples/portfolio/src/pages/index.astro
index 96fefee89..174bd1896 100644
--- a/examples/portfolio/src/pages/index.astro
+++ b/examples/portfolio/src/pages/index.astro
@@ -1,13 +1,13 @@
---
// Component Imports
-import MainHead from "../components/MainHead.astro";
-import Button from "../components/Button/index.jsx";
-import Nav from "../components/Nav/index.jsx";
-import Footer from "../components/Footer/index.jsx";
-import PortfolioPreview from "../components/PortfolioPreview/index.jsx";
+import MainHead from '../components/MainHead.astro';
+import Button from '../components/Button/index.jsx';
+import Nav from '../components/Nav/index.jsx';
+import Footer from '../components/Footer/index.jsx';
+import PortfolioPreview from '../components/PortfolioPreview/index.jsx';
// Data Fetching: List all Markdown posts in the repo.
-const projects = await Astro.glob("./project/**/*.md");
+const projects = await Astro.glob('./project/**/*.md');
const featuredProject = projects[0];
// Full Astro Component Syntax:
@@ -40,7 +40,7 @@ const featuredProject = projects[0];
.gradient,
.gradient2 {
- background-image: url("/assets/mesh-gradient.jpg");
+ background-image: url('/assets/mesh-gradient.jpg');
background-size: cover;
pointer-events: none;
mix-blend-mode: screen;
@@ -225,7 +225,7 @@ const featuredProject = projects[0];
<div class="section">
<h3 class="sectionTitle">About me</h3>
<p class="bio">
- <span>Hello!</span> I’m Jeanine, and this is my website. It was made using{" "}
+ <span>Hello!</span> I’m Jeanine, and this is my website. It was made using{' '}
<a href="https://github.com/withastro/astro" target="_blank" rel="nofollow"> Astro</a>,
a new way to build static sites. This is just an example template for you to modify.
</p>
diff --git a/examples/portfolio/src/pages/projects.astro b/examples/portfolio/src/pages/projects.astro
index 0f12635c3..a52f7e203 100644
--- a/examples/portfolio/src/pages/projects.astro
+++ b/examples/portfolio/src/pages/projects.astro
@@ -1,10 +1,10 @@
---
-import MainHead from "../components/MainHead.astro";
-import Footer from "../components/Footer/index.jsx";
-import Nav from "../components/Nav/index.jsx";
-import PortfolioPreview from "../components/PortfolioPreview/index.jsx";
+import MainHead from '../components/MainHead.astro';
+import Footer from '../components/Footer/index.jsx';
+import Nav from '../components/Nav/index.jsx';
+import PortfolioPreview from '../components/PortfolioPreview/index.jsx';
-const projects = (await Astro.glob("./project/**/*.md"))
+const projects = (await Astro.glob('./project/**/*.md'))
.filter(({ frontmatter }) => !!frontmatter.publishDate)
.sort(
(a, b) =>