My personal website, in gleam+lustre!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

more random works!

+289 -18
+289 -18
src/homepage.gleam
··· 213 213 attribute("tabindex", "0"), 214 214 ], 215 215 [ 216 + // Menu svg 216 217 svg.svg( 217 218 [ 218 219 attribute("stroke", "currentColor"), ··· 232 233 ), 233 234 ], 234 235 ), 236 + 235 237 html.ul( 236 238 [ 237 239 attribute.class( ··· 251 253 ], 252 254 ), 253 255 ]), 254 - ]), 255 - html.div([attribute.class("navbar-center")], [ 256 - html.a([href(Index)], [ 257 - html.img([ 258 - attribute.class("w-[60px]"), 259 - attribute.alt("strawmelonjuice"), 260 - attribute.src("/strawmelonjuice.png"), 261 - ]), 262 - ]), 263 - ]), 264 - html.div([attribute.class("navbar-end")], [ 265 256 html.button([attribute.class("btn btn-ghost btn-circle")], [ 257 + // Search 266 258 svg.svg( 267 259 [ 268 260 attribute("stroke", "currentColor"), ··· 282 274 ), 283 275 ]), 284 276 ]), 277 + html.div([attribute.class("navbar-center")], [ 278 + html.a([href(Index)], [ 279 + html.img([ 280 + attribute.class("w-[60px]"), 281 + attribute.alt("strawmelonjuice"), 282 + attribute.src("/strawmelonjuice.png"), 283 + ]), 284 + ]), 285 + ]), 286 + html.div([attribute.class("navbar-end")], [ 287 + socials(), 288 + ]), 285 289 ]), 286 290 // Header end 287 291 html.main( 288 292 [ 289 293 attribute.class( 290 - "mx-auto my-14 max-w-2xl bg-primary bg-opacity-15 text-primary-content h-full md:rounded-md md:p-12 md:h-fit", 294 + "mx-auto my-14 max-w-2xl bg-primary bg-opacity-15 text-primary-content h-full md:rounded-md p-5 md:p-12 md:h-fit", 291 295 ), 292 296 ], 293 297 { ··· 304 308 ]) 305 309 } 306 310 311 + fn socials() -> Element(Msg) { 312 + html.div([attribute.class("grid grid-flow-col gap-4")], [ 313 + // Mastodon ================================================================================= 314 + html.a( 315 + [ 316 + attribute.target("_blank"), 317 + attribute.href("https://pony.social/@strawmelonjuice"), 318 + ], 319 + [ 320 + svg.svg( 321 + [ 322 + attribute("xmlns", "http://www.w3.org/2000/svg"), 323 + attribute("fill", "currentColor"), 324 + attribute("viewBox", "0 0 74 79"), 325 + attribute("height", "24"), 326 + attribute("width", "24"), 327 + ], 328 + [ 329 + svg.path([ 330 + attribute("fill", "inherit"), 331 + attribute( 332 + "d", 333 + "M73.7014 17.9592C72.5616 9.62034 65.1774 3.04876 56.424 1.77536C54.9472 1.56019 49.3517 0.7771 36.3901 0.7771H36.2933C23.3281 0.7771 20.5465 1.56019 19.0697 1.77536C10.56 3.01348 2.78877 8.91838 0.903306 17.356C-0.00357857 21.5113 -0.100361 26.1181 0.068112 30.3439C0.308275 36.404 0.354874 42.4535 0.91406 48.489C1.30064 52.498 1.97502 56.4751 2.93215 60.3905C4.72441 67.6217 11.9795 73.6395 19.0876 76.0945C26.6979 78.6548 34.8821 79.0799 42.724 77.3221C43.5866 77.1245 44.4398 76.8953 45.2833 76.6342C47.1867 76.0381 49.4199 75.3714 51.0616 74.2003C51.0841 74.1839 51.1026 74.1627 51.1156 74.1382C51.1286 74.1138 51.1359 74.0868 51.1368 74.0592V68.2108C51.1364 68.185 51.1302 68.1596 51.1185 68.1365C51.1069 68.1134 51.0902 68.0932 51.0695 68.0773C51.0489 68.0614 51.0249 68.0503 50.9994 68.0447C50.9738 68.0391 50.9473 68.0392 50.9218 68.045C45.8976 69.226 40.7491 69.818 35.5836 69.8087C26.694 69.8087 24.3031 65.6569 23.6184 63.9285C23.0681 62.4347 22.7186 60.8764 22.5789 59.2934C22.5775 59.2669 22.5825 59.2403 22.5934 59.216C22.6043 59.1916 22.621 59.1702 22.6419 59.1533C22.6629 59.1365 22.6876 59.1248 22.714 59.1191C22.7404 59.1134 22.7678 59.1139 22.794 59.1206C27.7345 60.2936 32.799 60.8856 37.8813 60.8843C39.1036 60.8843 40.3223 60.8843 41.5447 60.8526C46.6562 60.7115 52.0437 60.454 57.0728 59.4874C57.1983 59.4628 57.3237 59.4416 57.4313 59.4098C65.3638 57.9107 72.9128 53.2051 73.6799 41.2895C73.7086 40.8204 73.7803 36.3758 73.7803 35.889C73.7839 34.2347 74.3216 24.1533 73.7014 17.9592ZM61.4925 47.6918H53.1514V27.5855C53.1514 23.3526 51.3591 21.1938 47.7136 21.1938C43.7061 21.1938 41.6988 23.7476 41.6988 28.7919V39.7974H33.4078V28.7919C33.4078 23.7476 31.3969 21.1938 27.3894 21.1938C23.7654 21.1938 21.9552 23.3526 21.9516 27.5855V47.6918H13.6176V26.9752C13.6176 22.7423 14.7157 19.3795 16.9118 16.8868C19.1772 14.4 22.1488 13.1231 25.8373 13.1231C30.1064 13.1231 33.3325 14.7386 35.4832 17.9662L37.5587 21.3949L39.6377 17.9662C41.7884 14.7386 45.0145 13.1231 49.2765 13.1231C52.9614 13.1231 55.9329 14.4 58.2055 16.8868C60.4017 19.3772 61.4997 22.74 61.4997 26.9752L61.4925 47.6918Z", 334 + ), 335 + ]), 336 + ], 337 + ), 338 + ], 339 + ), 340 + 341 + // Instagram ================================================================================= 342 + // html.a( 343 + // [ 344 + // attribute.target("_blank"), 345 + // attribute.href("https://instagram.com/strawmelonjuice"), 346 + // ], 347 + // [ 348 + // svg.svg( 349 + // [ 350 + // attribute("xmlns:xlink", "http://www.w3.org/1999/xlink"), 351 + // attribute("xmlns", "http://www.w3.org/2000/svg"), 352 + // attribute("version", "1.1"), 353 + // attribute("viewBox", "0 0 20 20"), 354 + // attribute("height", "24"), 355 + // attribute("width", "24"), 356 + // ], 357 + // [ 358 + // svg.g( 359 + // [ 360 + // attribute("fill-rule", "evenodd"), 361 + // attribute("fill", "none"), 362 + // attribute("stroke-width", "1"), 363 + // attribute("stroke", "none"), 364 + // attribute.id("Page-1"), 365 + // ], 366 + // [ 367 + // svg.g( 368 + // [ 369 + // attribute("fill", "currentColor"), 370 + // attribute( 371 + // "transform", 372 + // "translate(-340.000000, -7439.000000)", 373 + // ), 374 + // attribute.id("Dribbble-Light-Preview"), 375 + // ], 376 + // [ 377 + // svg.g( 378 + // [ 379 + // attribute( 380 + // "transform", 381 + // "translate(56.000000, 160.000000)", 382 + // ), 383 + // attribute.id("icons"), 384 + // ], 385 + // [ 386 + // svg.path([ 387 + // attribute.id("instagram-[#167]"), 388 + // attribute( 389 + // "d", 390 + // "M289.869652,7279.12273 C288.241769,7279.19618 286.830805,7279.5942 285.691486,7280.72871 C284.548187,7281.86918 284.155147,7283.28558 284.081514,7284.89653 C284.035742,7285.90201 283.768077,7293.49818 284.544207,7295.49028 C285.067597,7296.83422 286.098457,7297.86749 287.454694,7298.39256 C288.087538,7298.63872 288.809936,7298.80547 289.869652,7298.85411 C298.730467,7299.25511 302.015089,7299.03674 303.400182,7295.49028 C303.645956,7294.859 303.815113,7294.1374 303.86188,7293.08031 C304.26686,7284.19677 303.796207,7282.27117 302.251908,7280.72871 C301.027016,7279.50685 299.5862,7278.67508 289.869652,7279.12273 M289.951245,7297.06748 C288.981083,7297.0238 288.454707,7296.86201 288.103459,7296.72603 C287.219865,7296.3826 286.556174,7295.72155 286.214876,7294.84312 C285.623823,7293.32944 285.819846,7286.14023 285.872583,7284.97693 C285.924325,7283.83745 286.155174,7282.79624 286.959165,7281.99226 C287.954203,7280.99968 289.239792,7280.51332 297.993144,7280.90837 C299.135448,7280.95998 300.179243,7281.19026 300.985224,7281.99226 C301.980262,7282.98483 302.473801,7284.28014 302.071806,7292.99991 C302.028024,7293.96767 301.865833,7294.49274 301.729513,7294.84312 C300.829003,7297.15085 298.757333,7297.47145 289.951245,7297.06748 M298.089663,7283.68956 C298.089663,7284.34665 298.623998,7284.88065 299.283709,7284.88065 C299.943419,7284.88065 300.47875,7284.34665 300.47875,7283.68956 C300.47875,7283.03248 299.943419,7282.49847 299.283709,7282.49847 C298.623998,7282.49847 298.089663,7283.03248 298.089663,7283.68956 M288.862673,7288.98792 C288.862673,7291.80286 291.150266,7294.08479 293.972194,7294.08479 C296.794123,7294.08479 299.081716,7291.80286 299.081716,7288.98792 C299.081716,7286.17298 296.794123,7283.89205 293.972194,7283.89205 C291.150266,7283.89205 288.862673,7286.17298 288.862673,7288.98792 M290.655732,7288.98792 C290.655732,7287.16159 292.140329,7285.67967 293.972194,7285.67967 C295.80406,7285.67967 297.288657,7287.16159 297.288657,7288.98792 C297.288657,7290.81525 295.80406,7292.29716 293.972194,7292.29716 C292.140329,7292.29716 290.655732,7290.81525 290.655732,7288.98792", 391 + // ), 392 + // ]), 393 + // ], 394 + // ), 395 + // ], 396 + // ), 397 + // ], 398 + // ), 399 + // ], 400 + // ), 401 + // ], 402 + // ), 403 + // 404 + // Matrix ================================================================================= 405 + html.a( 406 + [ 407 + attribute.target("_blank"), 408 + attribute.href("https://matrix.to/#/@mar:strawmelonjuice.com"), 409 + ], 410 + [ 411 + svg.svg( 412 + [ 413 + attribute("xmlns", "http://www.w3.org/2000/svg"), 414 + attribute("xml:space", "preserve"), 415 + attribute("viewBox", "0 0 26 26"), 416 + attribute("version", "1.1"), 417 + attribute("height", "26"), 418 + attribute("width", "26"), 419 + ], 420 + [ 421 + svg.g( 422 + [ 423 + attribute("stroke-width", ".05"), 424 + attribute("fill", "currentColor"), 425 + ], 426 + [ 427 + svg.path([ 428 + attribute( 429 + "d", 430 + "m0.685 0.595v24.81h1.785v0.59499h-2.47v-26h2.47v0.595z", 431 + ), 432 + ]), 433 + svg.path([ 434 + attribute( 435 + "d", 436 + "m8.315 8.46v1.255h0.035007c0.33499-0.48 0.73999-0.85 1.21-1.11 0.47-0.265 1.015-0.395 1.625-0.395 0.585 0 1.12 0.115 1.605 0.34 0.48501 0.225 0.85001 0.63 1.105 1.2 0.275-0.405 0.65-0.765 1.12-1.075 0.47001-0.31 1.03-0.465 1.675-0.465 0.49001 0 0.94501 0.060005 1.365 0.18 0.42001 0.12 0.775 0.31 1.075 0.575 0.3 0.265 0.52999 0.605 0.69999 1.03 0.16501 0.425 0.25001 0.935 0.25001 1.535v6.205h-2.545v-5.255c0-0.31-0.0093-0.605-0.03492-0.88001-0.02507-0.27499-0.09007-0.51499-0.19506-0.71499-0.11002-0.205-0.26503-0.365-0.47502-0.485-0.21-0.12-0.495-0.18-0.85-0.18-0.36001 0-0.65 0.06999-0.87002 0.205-0.22 0.14-0.395 0.315-0.52 0.54-0.12498 0.22-0.20999 0.47-0.24999 0.755-0.03993 0.28-0.065 0.565-0.065 0.85v5.165h-2.545v-5.2c0-0.275-0.0047-0.54501-0.02005-0.81501-0.0099-0.27-0.06498-0.515-0.15497-0.745-0.08994-0.225-0.23997-0.41-0.44996-0.545-0.21-0.135-0.515-0.205-0.925-0.205-0.12 0-0.28 0.02497-0.475 0.08-0.195 0.05501-0.39 0.155-0.575 0.305-0.185 0.15-0.345 0.365-0.475 0.645-0.13 0.28-0.195 0.65-0.195 1.105v5.38h-2.545v-9.28z", 437 + ), 438 + ]), 439 + svg.path([ 440 + attribute( 441 + "d", 442 + "m25.315 25.405v-24.81h-1.785v-0.595h2.47v26h-2.47v-0.59499z", 443 + ), 444 + ]), 445 + ], 446 + ), 447 + ], 448 + ), 449 + ], 450 + ), 451 + // Email ================================================================================== 452 + html.a( 453 + [ 454 + attribute.target("_blank"), 455 + attribute.href("mailto:web@strawmelonjuice.com"), 456 + ], 457 + [ 458 + svg.svg( 459 + [ 460 + attribute("xmlns", "http://www.w3.org/2000/svg"), 461 + attribute("viewBox", "0 0 24 24"), 462 + attribute("version", "1.1"), 463 + attribute("height", "24"), 464 + attribute("width", "24"), 465 + ], 466 + [ 467 + svg.g( 468 + [ 469 + attribute( 470 + "transform", 471 + "matrix(.57653 0 0 .69802 -2.2221 -4.228)", 472 + ), 473 + attribute("fill", "currentColor"), 474 + ], 475 + [ 476 + svg.path([ 477 + attribute( 478 + "d", 479 + "m5.3691 9.627c-0.19546 0.075245-0.38879 0.15579-0.57617 0.25-0.027652 0.013413-0.054772 0.026795-0.082031 0.041016 0.10914 0.076047 0.21858 0.15557 0.30469 0.25781 0.12499 0.1368 0.24891 0.27549 0.39648 0.38867 0.064245 0.04683 0.16051 0.11824 0.22656 0.16016 0.26129 0.16582 0.55027 0.28555 0.83398 0.40625 0.78143 0.27843 1.6018 0.47629 2.3164 0.91211 0.65117 0.43707 1.3067 0.87102 1.9355 1.3398 0.41814 0.33568 0.8314 0.67826 1.291 0.95703 0.48524 0.31301 0.98246 0.61234 1.4199 0.99219 0.31805 0.27601 0.6705 0.50771 1.0059 0.76172 0.32655 0.25744 0.65726 0.50939 0.99219 0.75586 0.28926 0.22266 0.56818 0.45706 0.85742 0.67969 0.52704 0.41425 1.0563 0.82626 1.582 1.2422 1.0179 0.81589 2.0181 1.6539 3.0645 2.4336 0.65528 0.4931 1.3167 0.97738 1.9805 1.459 0.1764 0.128 0.35158 0.2586 0.5293 0.38477 0.2875 0.2041 0.35752 0.24582 0.61523 0.41211 0.01148 0.0074 0.02285 0.01581 0.0332 0.02344 0.01781-0.01183 0.03508-0.02463 0.05273-0.03711 0.1058-0.07483 0.42684-0.31464 0.48633-0.35547 0.88291-0.60595 1.8054-1.1529 2.7188-1.7109 1.4684-0.89144 2.9291-1.7974 4.3535-2.7578 0.6062-0.42505 1.211-0.85151 1.8125-1.2832 0.35129-0.24443 0.6986-0.4944 1.0898-0.67383 0.26148-0.11991 0.53025-0.22314 0.79883-0.32617 0.68138-0.26139 1.3109-0.46849 2.002-0.70508 1.3875-0.45964 2.7439-1.0044 4.0703-1.6172 0.46576-0.20456 0.89236-0.47524 1.3008-0.77539 0.23025-0.16097 0.44607-0.33875 0.63477-0.54688 0.20613-0.24201 0.33905-0.53317 0.45508-0.82617 0.12162-0.35413 0.25749-0.70141 0.35742-1.0625 0.05411-0.23825 0.13476-0.46891 0.2207-0.69727 0.02213-0.05903 0.0511-0.11368 0.08398-0.16602-0.06509-0.037167-0.13164-0.074024-0.19922-0.10547-0.13536-0.055674-0.28069-0.07756-0.42188-0.11328-0.12952-0.044003-0.26316-0.061915-0.39844-0.076172-0.0788-0.00678-0.15735-0.00991-0.23633-0.013672-0.02907-0.00139-0.05765-0.00403-0.08398-0.00781zm-1.0977 0.56445c-0.075371 0.05268-0.14704 0.10708-0.20312 0.18164-0.015495 0.04077-0.028774 0.08397-0.041016 0.12695v24.695c0.082375 0.06016 0.15671 0.16439 0.20312 0.32031 0.020428 0.06863 0.04544 0.13571 0.054687 0.20703 0.015381 0.07298 0.039947 0.14412 0.083984 0.20508 0.11206 0.14764 0.22342 0.2946 0.33398 0.44336 0.050743 0.06572 0.10311 0.13005 0.1543 0.19531h38.451c0.01836-0.01329 0.03767-0.02632 0.05859-0.03906 0.17382-0.10583 0.34701-0.21329 0.52148-0.31836 0.15448-0.13395 0.30149-0.27621 0.45898-0.4082 0.21899-0.20859 0.39726-0.45592 0.55274-0.71484 0.12448-0.20731 0.28208-0.29823 0.41406-0.30078v-23.301c-0.0094-0.02605-0.01793-0.05439-0.02539-0.08398-0.05804-0.23016-0.12489-0.45778-0.19141-0.68555-0.0381-0.12338-0.09593-0.23888-0.1543-0.35352-0.01886-0.03058-0.04023-0.06044-0.06055-0.08984-0.08143 0.21521-0.15829 0.43344-0.20898 0.6582-0.10485 0.37709-0.2448 0.74179-0.37305 1.1113-0.13787 0.34431-0.29717 0.68461-0.54297 0.9668-0.21032 0.22976-0.44536 0.4294-0.70117 0.60742-0.43348 0.31837-0.88713 0.60446-1.3809 0.82227-1.3409 0.61932-2.7127 1.1701-4.1152 1.6348-0.71324 0.24412-1.2763 0.42953-1.9785 0.69726-0.25298 0.09645-0.50541 0.19084-0.75195 0.30274-0.37414 0.1698-0.70556 0.4116-1.041 0.64453-0.60517 0.43432-1.2142 0.8635-1.8242 1.291-1.4302 0.96418-2.8948 1.8726-4.3691 2.7676-0.41294 0.25229-0.82812 0.50162-1.2402 0.75586 0.0099 0.01383 0.01989 0.02918 0.0293 0.04492 0.07968 0.13331 0.16157 0.26974 0.27734 0.375 0.14586 0.07499 0.27651 0.16735 0.39258 0.2832 0.10711 0.13127 0.18289 0.2838 0.26758 0.42969 0.11747 0.17246 0.24353 0.33782 0.36719 0.50586 0.12305 0.17887 0.23558 0.36627 0.33984 0.55664 0.09122 0.16828 0.16861 0.34358 0.24805 0.51758 0.08381 0.20809 0.17868 0.41132 0.26758 0.61719 0.08967 0.1868 0.16117 0.37923 0.22461 0.57617 0.04658 0.14418 0.08273 0.29197 0.13672 0.43359 0.05255 0.14895 0.12435 0.288 0.19336 0.42969 0.0416 0.0965 0.09656 0.18587 0.16211 0.26758 0.05366 0.06286 0.02722 0.02978 0.08398 0.09961 0.289 0.35558-0.07103 0.64714-0.35938 0.29102-0.05329-0.06582-0.02466-0.03115-0.08594-0.10352-0.08546-0.10865-0.16123-0.22452-0.2168-0.35156-0.07514-0.15442-0.15355-0.30846-0.21094-0.4707-0.05602-0.14913-0.09671-0.30125-0.14453-0.45312-0.05887-0.18295-0.12511-0.36184-0.20898-0.53516-0.08742-0.20302-0.18139-0.40411-0.26367-0.60938-0.07462-0.16387-0.14713-0.32959-0.23242-0.48828-0.09416-0.17238-0.19431-0.33944-0.30469-0.50195-0.13363-0.18159-0.27248-0.36043-0.39648-0.54883-0.06546-0.11321-0.12715-0.22942-0.19727-0.33984-0.10843-0.11677-0.25908-0.17157-0.38281-0.26953-0.14681-0.14364-0.26539-0.31073-0.36524-0.49023-0.0041-0.0073-0.0081-0.01428-0.01172-0.02148-0.35574 0.2236-0.70824 0.45174-1.0547 0.68945-0.0027 0.0018-0.43416 0.31811-0.50391 0.36719-0.03839 0.02701-0.07814 0.05204-0.11719 0.07813-0.20276 0.13526-0.36683 0.08763-0.41797-0.02539-0.02251-0.01063-0.04479-0.02387-0.06836-0.03906-0.25772-0.16614-0.32458-0.20846-0.61719-0.41602-0.18137-0.12866-0.35907-0.26201-0.53906-0.39258-0.09527-0.06911-0.19-0.1378-0.28516-0.20703-0.0018 0.0027-4e-3 0.0051-0.0059 0.0078-0.16697 0.25307-0.36277 0.48443-0.57812 0.69726-0.23847 0.19312-0.47956 0.38195-0.71875 0.57422-0.13358 0.12295-0.27811 0.23184-0.41602 0.34961-0.1124 0.093-0.21586 0.19534-0.32227 0.29492-0.07374 0.07581-0.16271 0.13711-0.23633 0.21289-0.0528 0.05436-0.0999 0.11341-0.15039 0.16992-0.29081 0.31256-0.62076 0.58709-0.9375 0.87305-0.25028 0.22718-0.51547 0.43578-0.77148 0.65625-0.16019 0.12829-0.30715 0.2724-0.45898 0.41016-0.12377 0.1216-0.25848 0.2292-0.39648 0.33398-0.36495 0.27709-0.64539-0.09356-0.2793-0.36914 0.12748-0.09596 0.25142-0.19645 0.36523-0.30859 0.15483-0.14045 0.30357-0.28507 0.4668-0.41602 0.25338-0.21792 0.5158-0.42602 0.76367-0.65039 0.15819-0.14282 0.3185-0.28478 0.47656-0.42774 0.03893-0.03521 0.27331-0.24781 0.31836-0.29297 0.03767-0.03775 0.07155-0.07773 0.10742-0.11719 0.13072-0.14628 0.26528-0.28616 0.41602-0.41211 0.11183-0.10426 0.22213-0.2108 0.33984-0.30859 0.14163-0.12008 0.2885-0.23408 0.42578-0.35938 0.22722-0.18254 0.4542-0.36316 0.68359-0.54297 0.20003-0.19557 0.37671-0.41116 0.53125-0.64453v-2e-3l2e-3 -2e-3c-0.44421-0.3246-0.8863-0.65144-1.3262-0.98242-1.0502-0.78249-2.0546-1.6226-3.0762-2.4414-0.52457-0.41429-1.0522-0.82487-1.5781-1.2382-0.28811-0.22153-0.56546-0.45609-0.85352-0.67773-0.33643-0.24747-0.67008-0.50122-0.99805-0.75977-0.34284-0.25571-0.6969-0.49439-1.0215-0.77344-0.42169-0.36505-0.90002-0.65374-1.3672-0.95508-0.47309-0.28738-0.90143-0.6387-1.332-0.98438-0.61906-0.4599-1.2621-0.88667-1.9023-1.3164-0.68579-0.40674-1.4694-0.59616-2.2148-0.86133-0.31137-0.13033-0.62538-0.26118-0.91211-0.44141-0.090572-0.05693-0.17708-0.12457-0.26367-0.1875-0.17369-0.13047-0.32084-0.29146-0.4668-0.45117-0.069151-0.08383-0.16158-0.14363-0.25-0.20508-0.049604-0.03173-0.10131-0.06039-0.15234-0.08984z", 480 + ), 481 + ]), 482 + ], 483 + ), 484 + ], 485 + ), 486 + ], 487 + ), 488 + // Bluesky ================================================================================ 489 + //todo 490 + // Tumblr ================================================================================= 491 + // html.a( 492 + // [ 493 + // attribute.target("_blank"), 494 + // attribute.href("https://tumblr.com/strawmelonjuice"), 495 + // ], 496 + // [ 497 + // svg.svg( 498 + // [ 499 + // attribute("xmlns:xlink", "http://www.w3.org/1999/xlink"), 500 + // attribute("xmlns", "http://www.w3.org/2000/svg"), 501 + // attribute("version", "1.1"), 502 + // attribute("viewBox", "-4 0 20 20"), 503 + // attribute("height", "24"), 504 + // attribute("width", "24"), 505 + // ], 506 + // [ 507 + // svg.g( 508 + // [ 509 + // attribute("fill-rule", "evenodd"), 510 + // attribute("fill", "none"), 511 + // attribute("stroke-width", "1"), 512 + // attribute("stroke", "none"), 513 + // attribute.id("Page-1"), 514 + // ], 515 + // [ 516 + // svg.g( 517 + // [ 518 + // attribute("fill", "currentColor"), 519 + // attribute( 520 + // "transform", 521 + // "translate(-184.000000, -7399.000000)", 522 + // ), 523 + // attribute.id("Dribbble-Light-Preview"), 524 + // ], 525 + // [ 526 + // svg.g( 527 + // [ 528 + // attribute( 529 + // "transform", 530 + // "translate(56.000000, 160.000000)", 531 + // ), 532 + // attribute.id("icons"), 533 + // ], 534 + // [ 535 + // svg.path([ 536 + // attribute.id("tumblr-[#181]"), 537 + // attribute( 538 + // "d", 539 + // "M139.00148,7254.975 L140,7257.827 C139.622944,7258.358 137.91209,7258.973 136.376708,7258.998 C131.82592,7259.073 130.088955,7255.895 130.088955,7253.657 L130.088955,7247 L128,7247 L128,7244.539 C131.169989,7243.445 131.931413,7240.708 132.110018,7239.149 C132.122552,7239.042 132.210288,7239 132.261467,7239 L135.311341,7239 L135.311341,7244 L139.489251,7244 L139.489251,7247 L135.311341,7247 L135.311341,7253.349 C135.311341,7254.195 135.646619,7255.363 137.318827,7255.32 C137.873444,7255.307 138.612934,7255.152 139.00148,7254.975", 540 + // ), 541 + // ]), 542 + // ], 543 + // ), 544 + // ], 545 + // ), 546 + // ], 547 + // ), 548 + // ], 549 + // ), 550 + // ], 551 + // ), 552 + // Twitter =================================================================================== 553 + // html.a( 554 + // [ 555 + // attribute.target("_blank"), 556 + // attribute.href("https://x.com/strawmelonjuice"), 557 + // ], 558 + // [ 559 + // svg.svg( 560 + // [ 561 + // attribute("fill", "currentColor"), 562 + // attribute("viewBox", "0 0 24 24"), 563 + // attribute("height", "24"), 564 + // attribute("width", "24"), 565 + // attribute("xmlns", "http://www.w3.org/2000/svg"), 566 + // ], 567 + // [ 568 + // svg.path([ 569 + // attribute( 570 + // "d", 571 + // "M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z", 572 + // ), 573 + // ]), 574 + // ], 575 + // ), 576 + // ], 577 + // ), 578 + ]) 579 + } 580 + 307 581 fn view_index() -> List(Element(msg)) { 308 582 [ 309 - title("Hello, Joe"), 310 - leading( 311 - "Or whoever you may be! This is were I will share random ramblings 312 - and thoughts about life.", 313 - ), 583 + title("Welcome to my fruity little corner of the web"), 584 + leading("I hope you like it!"), 314 585 html.p([attribute.class("mt-14")], [ 315 586 html.text("There is not much going on at the moment, but you can still "), 316 587 link(Posts, "read my ramblings ->"), ··· 394 665 html.a( 395 666 [ 396 667 href(target), 397 - attribute.class("link link-primary"), 668 + attribute.class("link link-secondary"), 398 669 ], 399 670 [html.text(title)], 400 671 )