From 27513123fca3b7516499c06680cc4532a070fdae Mon Sep 17 00:00:00 2001 From: Artem Date: Sun, 5 Mar 2023 17:43:27 +0100 Subject: [PATCH] add icons + cleanup --- src/components/Centerpiece.astro | 5 ++++ src/components/Icons.astro | 29 +++++++++++++++++++ src/components/Prompt.astro | 31 ++++++++++++++++++++ src/layouts/Layout.astro | 34 +++++++++++----------- src/pages/index.astro | 49 ++++++-------------------------- tailwind.config.cjs | 7 ++++- 6 files changed, 95 insertions(+), 60 deletions(-) create mode 100644 src/components/Centerpiece.astro create mode 100644 src/components/Icons.astro create mode 100644 src/components/Prompt.astro diff --git a/src/components/Centerpiece.astro b/src/components/Centerpiece.astro new file mode 100644 index 0000000..fc54f9e --- /dev/null +++ b/src/components/Centerpiece.astro @@ -0,0 +1,5 @@ +
+

+ Hiya! I'm Artur 👋 +

+
diff --git a/src/components/Icons.astro b/src/components/Icons.astro new file mode 100644 index 0000000..608b60b --- /dev/null +++ b/src/components/Icons.astro @@ -0,0 +1,29 @@ +--- +import { Icon } from "astro-icon"; +--- + +
+ + + + + + + + + + + + +
+ + diff --git a/src/components/Prompt.astro b/src/components/Prompt.astro new file mode 100644 index 0000000..fb5c72c --- /dev/null +++ b/src/components/Prompt.astro @@ -0,0 +1,31 @@ +
+ > arti3 +
+ + + \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 2438ac5..d876f11 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -3,31 +3,29 @@ - - - - - - + + + + + + + + + + + + artie - + diff --git a/src/pages/index.astro b/src/pages/index.astro index 6131220..f38b951 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,47 +1,14 @@ --- import Layout from "../layouts/Layout.astro"; +import Prompt from "../components/Prompt.astro"; +import Centerpiece from "../components/Centerpiece.astro"; +import Icons from "../components/Icons.astro"; --- -
-
- > arti3 -
-
-

- Hiya! I'm Artur 👋 -

-
+
+ + +
- - - + \ No newline at end of file diff --git a/tailwind.config.cjs b/tailwind.config.cjs index f5368a7..3395bba 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -2,7 +2,12 @@ module.exports = { content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], theme: { - extend: {}, + extend: { + fontFamily: { + sans: ['"Open Sans"', 'sans-serif'], + mono: ['"JetBrains Mono"', 'monospace'] + } + }, }, plugins: [], }