From 642e15656ec8160e9f92fc7991b84a326b86d4cf Mon Sep 17 00:00:00 2001 From: aleidk Date: Tue, 19 Mar 2024 09:34:12 -0300 Subject: [PATCH] feat(Projects): refactor project list --- src/assets/style/style.scss | 1 + src/components/Card.astro | 25 +++++++--- src/components/Navbar.astro | 2 +- src/pages/portafolio/index.astro | 44 ----------------- .../{portafolio => projects}/[...slug].astro | 0 src/pages/projects/index.astro | 49 +++++++++++++++++++ 6 files changed, 69 insertions(+), 52 deletions(-) delete mode 100644 src/pages/portafolio/index.astro rename src/pages/{portafolio => projects}/[...slug].astro (100%) create mode 100644 src/pages/projects/index.astro diff --git a/src/assets/style/style.scss b/src/assets/style/style.scss index f86b20b..5cf0154 100644 --- a/src/assets/style/style.scss +++ b/src/assets/style/style.scss @@ -34,6 +34,7 @@ section:not(:first-of-type) { h1, .fs-1 { font-size: 3rem !important; + margin-top: 0; margin-bottom: var(--prj-spacing-4); } h2, diff --git a/src/components/Card.astro b/src/components/Card.astro index be32713..4b31306 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -8,6 +8,9 @@ const { className } = Astro.props; ---
+
+ +
@@ -21,7 +24,7 @@ const { className } = Astro.props;
-