Skip to content

Commit dae88bb

Browse files
author
Essential Randomness
committed
socials
1 parent 00e8623 commit dae88bb

File tree

6 files changed

+522
-20
lines changed

6 files changed

+522
-20
lines changed

astro.config.mjs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { defineConfig } from 'astro/config';
1+
import { defineConfig } from "astro/config";
2+
import icon from "astro-icon";
23

34
// https://astro.build/config
4-
export default defineConfig({});
5+
export default defineConfig({
6+
integrations: [icon()],
7+
});

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"astro": "^4.4.8",
1413
"@astrojs/check": "^0.5.6",
14+
"astro": "^4.4.8",
15+
"astro-icon": "^1.1.0",
1516
"typescript": "^5.3.3"
17+
},
18+
"devDependencies": {
19+
"@iconify-json/simple-icons": "^1.1.93"
1620
}
17-
}
21+
}

public/dreamwidth.png

1.22 KB
Loading

public/favicon.svg

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

src/pages/index.astro

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
import ComingSoon from "../images/coming-soon.png";
33
import { Image } from "astro:assets";
4+
import { Icon } from "astro-icon/components";
45
56
const title = "FujoCoded – Coming April 1st, 2024";
67
const description = "Not a joke. (Well, ok, a tad bit of a joke.)";
@@ -76,6 +77,23 @@ const preview = "http://fujocoded.com/og-preview.png";
7677
/>
7778
<input type="submit" value="Subscribe" />
7879
</form>
80+
<div class="socials">
81+
<a href="https://www.tumblr.com/fujocoded"
82+
><Icon name="simple-icons:tumblr" /></a
83+
>
84+
<a href="https://twitter.com/fujoc0ded"
85+
><Icon name="simple-icons:twitter" /></a
86+
>
87+
<a href="https://blorbo.social/@fujocoded"
88+
><Icon name="simple-icons:mastodon" /></a
89+
>
90+
<a href="https://bsky.app/profile/fujocoded.bsky.social"
91+
><Icon name="simple-icons:bluesky" /></a
92+
>
93+
<a href="https://fujocoded.dreamwidth.org/"
94+
><img src="/dreamwidth.png" /></a
95+
>
96+
</div>
7997
</body>
8098
</html>
8199
<style>
@@ -119,10 +137,52 @@ const preview = "http://fujocoded.com/og-preview.png";
119137
background-color: #f0ae28;
120138
}
121139

140+
.socials {
141+
margin-top: 25px;
142+
display: flex;
143+
flex-wrap: wrap;
144+
justify-content: center;
145+
gap: 10px;
146+
}
147+
148+
.socials a {
149+
flex-shrink: 0;
150+
display: flex;
151+
}
152+
153+
.socials img,
154+
.socials svg {
155+
display: block;
156+
height: 50px;
157+
width: 50px;
158+
aspect-ratio: 1;
159+
border: 3px solid black;
160+
border-radius: 100%;
161+
color: black;
162+
flex-shrink: 0;
163+
padding: 5px;
164+
max-width: 100%;
165+
}
166+
167+
.socials img:hover,
168+
.socials svg:hover {
169+
cursor: pointer;
170+
background-color: #f0ae28;
171+
}
172+
122173
@media (max-width: 400px) {
123174
form {
124175
flex-direction: column;
125176
}
177+
178+
.socials {
179+
gap: 15px;
180+
}
181+
.socials img,
182+
.socials svg {
183+
height: 40px;
184+
width: 40px;
185+
}
126186
}
127187

128188
body img {

0 commit comments

Comments
 (0)