Skip to content

Commit fa1efe1

Browse files
committed
Merge #122: fix(#121): avoid incorrect layout of the /contributors page
65032a8 fix(#121): avoid incorrect layout of the `/contributors` page (Binlogo) Pull request description: This PR fix #121 restructures the layout and styles of the `/contributors` page to eliminate duplicate Header and Footer elements. ACKs for top commit: josecelano: ACK 65032a8 Tree-SHA512: dd17aa70f8ceb3ecf90c7700037034fcefb5e773cbaaa26a9501bb85eb9cf44776e107ad3fba76328dd461fb06558e4e59011ae605b7ce8a6056470d4108482c
2 parents 21af551 + 65032a8 commit fa1efe1

File tree

2 files changed

+7
-23
lines changed

2 files changed

+7
-23
lines changed
Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1 @@
1-
<script lang="ts">
2-
import Footer from '$lib/components/organisms/Footer.svelte';
3-
import Header from '$lib/components/organisms/Header.svelte';
4-
</script>
5-
6-
<Header />
7-
<div class="contributors">
8-
<h1>Contributors</h1>
9-
<slot />
10-
</div>
11-
<Footer />
12-
13-
<style lang="scss">
14-
.contributors {
15-
background: rgba(26, 26, 26, 1);
16-
}
17-
18-
h1 {
19-
padding-block: 1rem;
20-
text-align: center;
21-
color: rgba(245, 245, 245, 0.96);
22-
}
23-
</style>
1+
<slot />

src/routes/contributors/+page.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<h1>Contributors</h1>
12
<div class="contributors">
23
<div class="contributor">
34
<a href="/contributor/jose-celano">
@@ -61,6 +62,11 @@
6162
</div>
6263

6364
<style>
65+
h1 {
66+
padding-block: 1rem;
67+
text-align: center;
68+
color: rgba(245, 245, 245, 0.96);
69+
}
6470
.contributors {
6571
display: flex;
6672
flex-direction: column;

0 commit comments

Comments
 (0)