Skip to content

Commit d3316f9

Browse files
committed
Refactor tag page layout for improved readability and maintainability
1 parent 7ed04be commit d3316f9

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/pages/tags/index.astro

+19-19
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const tags = [
88
];
99
const pageTitle = "Tag Index";
1010
---
11-
1211
<BaseLayout pageTitle={pageTitle}>
1312
<div class="tags flex justify-center items-center flex-wrap">
1413
{
@@ -19,23 +18,24 @@ const pageTitle = "Tag Index";
1918
))
2019
}
2120
</div>
22-
</BaseLayout>
23-
<style>
24-
a {
25-
color: #00539f;
26-
}
2721

28-
.tags {
29-
display: flex;
30-
flex-wrap: wrap;
31-
}
22+
<style>
23+
a {
24+
color: #00539f;
25+
}
3226

33-
.tag {
34-
margin: 0.25em;
35-
border: dotted 1px #a1a1a1;
36-
border-radius: 0.5em;
37-
padding: 0.5em 1em;
38-
font-size: 1.15em;
39-
background-color: #f8fcfd;
40-
}
41-
</style>
27+
.tags {
28+
display: flex;
29+
flex-wrap: wrap;
30+
}
31+
32+
.tag {
33+
margin: 0.25em;
34+
border: dotted 1px #a1a1a1;
35+
border-radius: 0.5em;
36+
padding: 0.5em 1em;
37+
font-size: 1.15em;
38+
background-color: #f8fcfd;
39+
}
40+
</style>
41+
</BaseLayout>

0 commit comments

Comments
 (0)