Skip to content

Commit 6e83304

Browse files
committed
add logo to homepage
1 parent ff316cd commit 6e83304

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed

src/pages/index.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ const title = "Quickshell";
88
---
99
<BaseLayout title={title} description="A fully user customizable desktop shell" image="/quickshell.png">
1010
<div class="main-page_hero" data-pagefind-ignore>
11-
<h1 class="gradient-text">Quickshell</h1>
11+
<div class="titlebox">
12+
<img src="/favicon.svg" alt="Quickshell"/>
13+
<h1 class="gradient-text">Quickshell</h1>
14+
</div>
1215
<section class="main-page_hero-text">
1316
<h2>building blocks for your desktop</h2>
1417
</section>

src/styles/main-page.css

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
justify-content: flex-start;
1515
align-items: center;
1616

17-
& h1 {
18-
position: relative;
19-
font-size: 4.618rem;
20-
margin-top: 1rem;
21-
}
22-
2317
& .navy {
2418
color: hsl(var(--blue) 66% 60%);
2519
}
@@ -29,6 +23,22 @@
2923
}
3024
}
3125

26+
.titlebox {
27+
position: relative;
28+
margin-top: 1rem;
29+
display: flex;
30+
align-items: center;
31+
32+
& img {
33+
height: 3.4rem;
34+
}
35+
36+
& h1 {
37+
font-size: 3.618rem;
38+
margin-left: 1rem;
39+
}
40+
}
41+
3242
h1.gradient-text {
3343
background: linear-gradient(
3444
30deg,
@@ -178,6 +188,17 @@ html.dark .main-page_link-card {
178188
}
179189

180190
@media (min-width: 40rem) {
191+
.titlebox {
192+
& img {
193+
height: 4.4rem;
194+
}
195+
196+
& h1 {
197+
font-size: 4.618rem;
198+
margin-left: 1rem;
199+
}
200+
}
201+
181202
.main-page_links_set {
182203
flex-wrap: nowrap;
183204
}

0 commit comments

Comments
 (0)