Skip to content

Commit 9ace296

Browse files
committed
add hopbox to home page used by projects
1 parent d1e903b commit 9ace296

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

src/lib/projects.astro

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ const projects: Project[] = [
5454
icon: 'https://codeberg.org/qcoret/prikkert/raw/branch/main/src/lib/assets/icon.svg',
5555
name: 'Prikkert',
5656
description: 'An open-source app for scheduling group events. Always free, no ads.'
57+
},
58+
{
59+
href: 'https://hopbox.net/',
60+
icon: 'https://hopbox.net/logo.png',
61+
name: 'Hopbox',
62+
description: 'Run Networks on Autopilot'
5763
}
5864
]
5965
---
@@ -62,7 +68,9 @@ const projects: Project[] = [
6268
{projects.map(({href, icon, name, description}) =>
6369
<proj-single>
6470
<a href={href} target="_blank">
65-
<img src={icon} alt={name} />
71+
<logo-cont>
72+
<img src={icon} alt={name} />
73+
</logo-cont>
6674
<span>{name}</span>
6775
</a>
6876
<small>{description}</small>
@@ -93,10 +101,18 @@ a {
93101
align-items: center;
94102
}
95103

96-
img {
104+
logo-cont {
105+
display: flex;
106+
align-items: center;
107+
justify-content: center;
108+
width: 5em;
97109
height: 5em;
98110
}
99111

112+
logo-cont img {
113+
width: 100%
114+
}
115+
100116
small {
101117
text-align: center;
102118
}

0 commit comments

Comments
 (0)