From 214a0d8489cee2f175f13d3321310fb0ec6a99a4 Mon Sep 17 00:00:00 2001 From: Julie Nisbet Date: Wed, 23 Mar 2022 15:32:24 -0700 Subject: [PATCH 1/3] adding SoloImage --- .prettierrc | 9 ++ src/components/SoloImage/SoloImage.jsx | 12 ++ .../SoloImage/SoloImage.module.scss | 0 src/pages-client/design.astro | 117 +----------------- 4 files changed, 23 insertions(+), 115 deletions(-) create mode 100644 .prettierrc create mode 100644 src/components/SoloImage/SoloImage.jsx create mode 100644 src/components/SoloImage/SoloImage.module.scss diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..09ac077 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,9 @@ +{ + "semi": true, + "singleQuote": true, + "printWidth": 100, + "tabWidth": 2, + "useTabs": false, + "trailingComma": "es5", + "bracketSpacing": true +} diff --git a/src/components/SoloImage/SoloImage.jsx b/src/components/SoloImage/SoloImage.jsx new file mode 100644 index 0000000..4e9a9bf --- /dev/null +++ b/src/components/SoloImage/SoloImage.jsx @@ -0,0 +1,12 @@ +import Image from "../common/Image"; +import Section from "../common/Section"; + +export default function SoloImage({ image, ...rest }) { + return ( +
+
+ +
+
+ ); +} diff --git a/src/components/SoloImage/SoloImage.module.scss b/src/components/SoloImage/SoloImage.module.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/pages-client/design.astro b/src/pages-client/design.astro index 1bdcee8..6af06bf 100644 --- a/src/pages-client/design.astro +++ b/src/pages-client/design.astro @@ -1,122 +1,9 @@ --- import Page from '../layouts/page.astro'; -import Employers from '../components/Employers/Employers.jsx'; +import SoloImage from '../components/SoloImage/SoloImage.jsx'; --- - - - + From 830ea3a907764d834729145de50645cdc6483c01 Mon Sep 17 00:00:00 2001 From: Julie Nisbet Date: Wed, 23 Mar 2022 15:37:05 -0700 Subject: [PATCH 2/3] Delete .prettierrc --- .prettierrc | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 09ac077..0000000 --- a/.prettierrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "semi": true, - "singleQuote": true, - "printWidth": 100, - "tabWidth": 2, - "useTabs": false, - "trailingComma": "es5", - "bracketSpacing": true -} From 01da8c74dd70831b7b807528b93c961befe365fa Mon Sep 17 00:00:00 2001 From: Julie Nisbet Date: Wed, 23 Mar 2022 15:37:24 -0700 Subject: [PATCH 3/3] Delete SoloImage.module.scss --- src/components/SoloImage/SoloImage.module.scss | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 src/components/SoloImage/SoloImage.module.scss diff --git a/src/components/SoloImage/SoloImage.module.scss b/src/components/SoloImage/SoloImage.module.scss deleted file mode 100644 index e69de29..0000000