Skip to content

Commit 65b6dfe

Browse files
committed
Added BlueSkyHandle for social
1 parent 7e360df commit 65b6dfe

File tree

8 files changed

+136
-56
lines changed

8 files changed

+136
-56
lines changed

src/LinkDotNet.Blog.Domain/Social.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ public sealed record Social
1919
public string? YoutubeAccountUrl { get; init; }
2020

2121
public bool HasYoutubeAccount => !string.IsNullOrEmpty(YoutubeAccountUrl);
22+
23+
public string? BlueSkyHandle { get; init; }
24+
25+
public bool HasBlueSkyHandle => !string.IsNullOrEmpty(BlueSkyHandle);
2226
}

src/LinkDotNet.Blog.Web/Features/Home/Components/SocialAccounts.razor

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
@code {
1212
private List<SocialAccount> AllSocialAccounts =>
1313
[
14-
// Icons have to be defined in the icons.css
14+
// Icons have to be defined in the icons.css or basic.css as a class
1515
new("linkedin", Social.HasLinkedinAccount, Social.LinkedInAccountUrl, "LinkedIn", "linkedin"),
1616
new("github", Social.HasGithubAccount, Social.GithubAccountUrl, "Github", "github"),
1717
new("twitter", Social.HasTwitterAccount, Social.TwitterAccountUrl, "Twitter", "twitter"),
18-
new("youtube", Social.HasYoutubeAccount, Social.YoutubeAccountUrl, "Youtube", "youtube")
18+
new("youtube", Social.HasYoutubeAccount, Social.YoutubeAccountUrl, "Youtube", "youtube"),
19+
new("bluesky", Social.HasBlueSkyHandle, Social.BlueSkyHandle, "Bluesky", "bluesky"),
1920
];
2021

2122
[Parameter, EditorRequired]

src/LinkDotNet.Blog.Web/appsettings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"GithubAccountUrl": "",
1414
"LinkedInAccountUrl": "",
1515
"TwitterAccountUrl": "",
16-
"YoutubeAccountUrl": ""
16+
"YoutubeAccountUrl": "",
17+
"BlueSkyHandle": "steven-giesel.com",
1718
},
1819
"Introduction": {
1920
"Description": "A small introduction to your **blog**. Can be in markdown",

src/LinkDotNet.Blog.Web/wwwroot/css/fonts/Blog.json

Lines changed: 70 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,50 @@
22
"metadata": {
33
"name": "Blog",
44
"lastOpened": 0,
5-
"created": 1719313968604
5+
"created": 1731145998745
66
},
77
"iconSets": [
8+
{
9+
"selection": [
10+
{
11+
"order": 86,
12+
"id": 0,
13+
"name": "bluesky",
14+
"prevSize": 32,
15+
"code": 59650,
16+
"tempChar": ""
17+
}
18+
],
19+
"id": 5,
20+
"metadata": {
21+
"name": "Custom",
22+
"importSize": {
23+
"width": 24,
24+
"height": 24
25+
}
26+
},
27+
"height": 1024,
28+
"prevSize": 32,
29+
"icons": [
30+
{
31+
"id": 0,
32+
"paths": [
33+
"M512 460.8c-46.379-90.197-172.629-258.261-290.048-341.12-112.469-79.403-155.349-65.664-183.467-52.907-32.555 14.635-38.485 64.64-38.485 93.995 0 29.44 16.128 241.067 26.624 276.437 34.773 116.736 158.421 156.16 272.341 143.531 5.803-0.853 11.733-1.664 17.707-2.389-5.888 0.939-11.776 1.707-17.707 2.389-166.912 24.747-315.179 85.547-120.747 301.995 213.888 221.44 293.12-47.488 333.781-183.808 40.661 136.32 87.467 395.563 329.941 183.808 182.059-183.808 50.005-277.248-116.907-301.995-7.811-0.854-13.863-1.696-19.867-2.682l2.16 0.293c5.973 0.725 11.904 1.536 17.707 2.389 113.92 12.672 237.568-26.795 272.341-143.531 10.496-35.328 26.624-247.040 26.624-276.395 0-29.44-5.931-79.403-38.485-94.123-28.117-12.715-70.997-26.453-183.467 52.907-117.419 82.987-243.669 251.051-290.048 341.205z"
34+
],
35+
"attrs": [
36+
{}
37+
],
38+
"isMulticolor": false,
39+
"isMulticolor2": false,
40+
"grid": 0,
41+
"tags": [
42+
"bluesky"
43+
]
44+
}
45+
],
46+
"invisible": false,
47+
"colorThemes": []
48+
},
849
{
950
"selection": [
1051
{
@@ -14,7 +55,7 @@
1455
"id": 0,
1556
"prevSize": 32,
1657
"code": 59648,
17-
"tempChar": ""
58+
"tempChar": ""
1859
},
1960
{
2061
"ligatures": "pencil, write",
@@ -23,7 +64,7 @@
2364
"id": 1,
2465
"prevSize": 32,
2566
"code": 59653,
26-
"tempChar": ""
67+
"tempChar": ""
2768
},
2869
{
2970
"ligatures": "books, library",
@@ -32,7 +73,7 @@
3273
"id": 2,
3374
"prevSize": 32,
3475
"code": 59680,
35-
"tempChar": ""
76+
"tempChar": ""
3677
},
3778
{
3879
"ligatures": "profile, file2",
@@ -41,7 +82,7 @@
4182
"id": 3,
4283
"prevSize": 32,
4384
"code": 59683,
44-
"tempChar": ""
85+
"tempChar": ""
4586
},
4687
{
4788
"ligatures": "copy, duplicate",
@@ -50,7 +91,7 @@
5091
"id": 4,
5192
"prevSize": 32,
5293
"code": 59692,
53-
"tempChar": ""
94+
"tempChar": ""
5495
},
5596
{
5697
"ligatures": "price-tags",
@@ -59,7 +100,7 @@
59100
"id": 5,
60101
"prevSize": 32,
61102
"code": 59702,
62-
"tempChar": ""
103+
"tempChar": ""
63104
},
64105
{
65106
"ligatures": "clock2, time3",
@@ -68,7 +109,7 @@
68109
"id": 6,
69110
"prevSize": 32,
70111
"code": 59727,
71-
"tempChar": ""
112+
"tempChar": ""
72113
},
73114
{
74115
"ligatures": "calendar, date",
@@ -77,7 +118,7 @@
77118
"id": 7,
78119
"prevSize": 32,
79120
"code": 59731,
80-
"tempChar": ""
121+
"tempChar": ""
81122
},
82123
{
83124
"ligatures": "user-tie, user5",
@@ -86,7 +127,7 @@
86127
"id": 8,
87128
"prevSize": 32,
88129
"code": 59766,
89-
"tempChar": ""
130+
"tempChar": ""
90131
},
91132
{
92133
"ligatures": "search, magnifier",
@@ -95,7 +136,7 @@
95136
"id": 9,
96137
"prevSize": 32,
97138
"code": 59782,
98-
"tempChar": ""
139+
"tempChar": ""
99140
},
100141
{
101142
"ligatures": "lock, secure",
@@ -104,7 +145,7 @@
104145
"id": 10,
105146
"prevSize": 32,
106147
"code": 59791,
107-
"tempChar": ""
148+
"tempChar": ""
108149
},
109150
{
110151
"ligatures": "unlocked, lock-open",
@@ -113,7 +154,7 @@
113154
"id": 11,
114155
"prevSize": 32,
115156
"code": 59792,
116-
"tempChar": ""
157+
"tempChar": ""
117158
},
118159
{
119160
"ligatures": "lab, beta",
@@ -122,7 +163,7 @@
122163
"id": 12,
123164
"prevSize": 32,
124165
"code": 59818,
125-
"tempChar": ""
166+
"tempChar": ""
126167
},
127168
{
128169
"ligatures": "bin2, trashcan2",
@@ -131,7 +172,7 @@
131172
"id": 13,
132173
"prevSize": 32,
133174
"code": 59821,
134-
"tempChar": ""
175+
"tempChar": ""
135176
},
136177
{
137178
"ligatures": "contrast",
@@ -140,7 +181,7 @@
140181
"id": 14,
141182
"prevSize": 32,
142183
"code": 59861,
143-
"tempChar": ""
184+
"tempChar": ""
144185
},
145186
{
146187
"ligatures": "plus, add",
@@ -149,7 +190,7 @@
149190
"id": 15,
150191
"prevSize": 32,
151192
"code": 59914,
152-
"tempChar": ""
193+
"tempChar": ""
153194
},
154195
{
155196
"ligatures": "circle-right, right5",
@@ -158,7 +199,7 @@
158199
"id": 16,
159200
"prevSize": 32,
160201
"code": 59970,
161-
"tempChar": ""
202+
"tempChar": ""
162203
},
163204
{
164205
"ligatures": "share2, social",
@@ -167,7 +208,7 @@
167208
"id": 17,
168209
"prevSize": 32,
169210
"code": 60034,
170-
"tempChar": ""
211+
"tempChar": ""
171212
},
172213
{
173214
"ligatures": "twitter, brand16",
@@ -176,7 +217,7 @@
176217
"id": 18,
177218
"prevSize": 32,
178219
"code": 60054,
179-
"tempChar": ""
220+
"tempChar": ""
180221
},
181222
{
182223
"ligatures": "feed3, rss2",
@@ -185,7 +226,7 @@
185226
"id": 19,
186227
"prevSize": 32,
187228
"code": 60060,
188-
"tempChar": ""
229+
"tempChar": ""
189230
},
190231
{
191232
"ligatures": "github, brand40",
@@ -194,7 +235,7 @@
194235
"id": 20,
195236
"prevSize": 32,
196237
"code": 60080,
197-
"tempChar": ""
238+
"tempChar": ""
198239
},
199240
{
200241
"ligatures": "linkedin, brand64",
@@ -203,15 +244,15 @@
203244
"id": 21,
204245
"prevSize": 32,
205246
"code": 60105,
206-
"tempChar": ""
247+
"tempChar": ""
207248
},
208249
{
209250
"order": 68,
210251
"id": 22,
211252
"name": "list, todo, bullet, menu, options",
212253
"prevSize": 32,
213254
"code": 59649,
214-
"tempChar": ""
255+
"tempChar": ""
215256
}
216257
],
217258
"id": 4,
@@ -982,7 +1023,7 @@
9821023
"order": 84,
9831024
"prevSize": 32,
9841025
"code": 59707,
985-
"tempChar": ""
1026+
"tempChar": ""
9861027
},
9871028
{
9881029
"ligatures": "coin-euro, money2",
@@ -3109,7 +3150,7 @@
31093150
"order": 85,
31103151
"prevSize": 32,
31113152
"code": 60061,
3112-
"tempChar": ""
3153+
"tempChar": ""
31133154
},
31143155
{
31153156
"ligatures": "youtube2, brand22",
@@ -13277,7 +13318,6 @@
1327713318
]
1327813319
}
1327913320
],
13280-
"uid": -1,
1328113321
"preferences": {
1328213322
"showGlyphs": true,
1328313323
"showQuickUse": true,
@@ -13316,5 +13356,7 @@
1331613356
"historySize": 50,
1331713357
"showCodes": true,
1331813358
"gridSize": 16
13319-
}
13359+
},
13360+
"uid": -1,
13361+
"time": 1731146188893
1332013362
}
Binary file not shown.
Binary file not shown.

src/LinkDotNet.Blog.Web/wwwroot/css/icons.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,6 @@ i {
109109
.youtube:before {
110110
content: "\ea9d";
111111
}
112+
.bluesky:before {
113+
content: "\e902";
114+
}

0 commit comments

Comments
 (0)