Skip to content

Commit 239c061

Browse files
committed
Delete heading component
1 parent 25e9f4c commit 239c061

3 files changed

Lines changed: 4 additions & 33 deletions

File tree

src/components/ui/heading.astro

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/pages/projects.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
import ItemCard from "@components/projects/item-card.astro";
3-
import Heading from "@components/ui/heading.astro";
43
import Layout from "@layout/layout.astro";
54
65
import eslintConfigMcecodeGif from "@assets/eslint-config-mcecode.gif";
@@ -11,7 +10,7 @@ import pdfMadeEasyGif from "@assets/pdf-made-easy.gif";
1110
---
1211

1312
<Layout title="Projects">
14-
<Heading content="Projects" />
13+
<h1 class="larger-spacing">Projects</h1>
1514
<ul>
1615
<ItemCard
1716
title="PDF Made Easy"

src/styles/global.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ path {
124124
font-size: v-size(3);
125125
color: var(--c-accent);
126126
}
127+
h1.larger-spacing {
128+
margin-bottom: v-size(5, "em");
129+
}
127130

128131
@include m-medium {
129132
.small-text {

0 commit comments

Comments
 (0)