Skip to content

Commit e8888fd

Browse files
committed
Replace "Happy Hacking!" in footer with @matz handwritten version
I replaced the handwriting-style "Happy Hacking!" message in the footer with a handwritten message that @matz kindly wrote for us recently. * Replaced "Happy Hacking!" with @matz's handwritten image * Optimized SVG data * Removed unnecessary handwritten font family import
1 parent 01dec25 commit e8888fd

6 files changed

Lines changed: 36 additions & 14 deletions

File tree

_includes/footer.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@
2626

2727
<!-- Happy Hacking! and Footer Links -->
2828
<div class="flex flex-col xl:flex-row xl:items-start xl:justify-between gap-6 xl:gap-8 mb-10">
29-
<!-- Happy Hacking! -->
30-
<div class="mb-3 xl:mb-0">
31-
<h2 class="text-3xl font-handwritten text-stone-900 dark:text-white">
32-
Happy Hacking!
33-
</h2>
34-
<!-- Decorative underline -->
35-
<img src="/images/home/why_ruby/line.svg" alt="" class="w-72 h-auto mt-1" aria-hidden="true">
29+
<!-- Happy Hacking! (Matz's handwriting) -->
30+
<div class="mb-3 xl:mb-0 relative">
31+
<img src="/images/footer/happy-hacking.svg" alt="Happy Hacking!" class="h-24 md:h-28 w-auto dark:invert relative z-10">
32+
<img src="/images/home/why_ruby/line.svg" alt="" class="w-72 h-auto absolute bottom-2 md:bottom-3 left-0 z-0" aria-hidden="true">
3633
</div>
3734

3835
<!-- Footer Links -->

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<link rel="stylesheet" type="text/css" href="/stylesheets/compiled.css">
6565
<link rel="preconnect" href="https://fonts.googleapis.com">
6666
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
67-
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+KR:wght@100..900&family=Noto+Sans+SC:wght@100..900&family=Noto+Sans+TC:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap&family=Rock+Salt&family=Material+Icons&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..24,200..700,0,0&display=swap" rel="stylesheet">
67+
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+KR:wght@100..900&family=Noto+Sans+SC:wght@100..900&family=Noto+Sans+TC:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Material+Icons&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..24,200..700,0,0&display=swap" rel="stylesheet">
6868
<link rel="canonical" href="{{ site.url }}{{ page.url | replace: 'index.html', '' }}">
6969

7070
<link rel="icon" href="/favicon.ico" sizes="32x32">

_layouts/homepage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<link rel="stylesheet" type="text/css" href="/stylesheets/compiled.css">
4242
<link rel="preconnect" href="https://fonts.googleapis.com">
4343
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
44-
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+KR:wght@100..900&family=Noto+Sans+SC:wght@100..900&family=Noto+Sans+TC:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap&family=Rock+Salt&family=Material+Icons&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..24,200..700,0,0&display=swap" rel="stylesheet">
44+
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+KR:wght@100..900&family=Noto+Sans+SC:wght@100..900&family=Noto+Sans+TC:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Material+Icons&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..24,200..700,0,0&display=swap" rel="stylesheet">
4545
<link rel="canonical" href="{{ site.url }}{{ page.url | replace: 'index.html', '' }}">
4646

4747
<link rel="icon" href="/favicon.ico" sizes="32x32">

images/footer/happy-hacking.svg

Lines changed: 1 addition & 0 deletions
Loading

stylesheets/compiled.css

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2840,6 +2840,10 @@ html:lang(ja),
28402840
bottom: 0px;
28412841
}
28422842

2843+
.bottom-2{
2844+
bottom: 0.5rem;
2845+
}
2846+
28432847
.left-0{
28442848
left: 0px;
28452849
}
@@ -3108,6 +3112,10 @@ html:lang(ja),
31083112
isolation: isolate;
31093113
}
31103114

3115+
.z-0{
3116+
z-index: 0;
3117+
}
3118+
31113119
.z-10{
31123120
z-index: 10;
31133121
}
@@ -3295,6 +3303,10 @@ html:lang(ja),
32953303
height: 5rem;
32963304
}
32973305

3306+
.h-24{
3307+
height: 6rem;
3308+
}
3309+
32983310
.h-28{
32993311
height: 7rem;
33003312
}
@@ -3507,6 +3519,10 @@ html:lang(ja),
35073519
width: 88px;
35083520
}
35093521

3522+
.w-auto{
3523+
width: auto;
3524+
}
3525+
35103526
.w-full{
35113527
width: 100%;
35123528
}
@@ -4423,10 +4439,6 @@ html:lang(ja),
44234439
font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
44244440
}
44254441

4426-
.font-handwritten{
4427-
font-family: "Rock Salt", cursive;
4428-
}
4429-
44304442
.font-logo{
44314443
font-family: "Plus Jakarta Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
44324444
}
@@ -5118,6 +5130,11 @@ html:lang(ja),
51185130
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
51195131
}
51205132

5133+
.dark\:invert:is(.dark *){
5134+
--tw-invert: invert(100%);
5135+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
5136+
}
5137+
51215138
.dark\:marker\:text-stone-500 *:is(.dark *)::marker{
51225139
color: rgb(120 113 108 );
51235140
}
@@ -5263,6 +5280,10 @@ html:lang(ja),
52635280
top: -31px;
52645281
}
52655282

5283+
.md\:bottom-3{
5284+
bottom: 0.75rem;
5285+
}
5286+
52665287
.md\:-mt-6{
52675288
margin-top: -1.5rem;
52685289
}
@@ -5299,6 +5320,10 @@ html:lang(ja),
52995320
display: none;
53005321
}
53015322

5323+
.md\:h-28{
5324+
height: 7rem;
5325+
}
5326+
53025327
.md\:h-8{
53035328
height: 2rem;
53045329
}

tailwind.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ module.exports = {
275275
'logo': ['"Plus Jakarta Sans"', '"Noto Sans JP"', '-apple-system', 'BlinkMacSystemFont', 'sans-serif'],
276276
'code': ['ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', '"Liberation Mono"', '"Courier New"', 'monospace'],
277277
'icon': ['"Material Icons"', 'sans-serif'],
278-
'handwritten': ['"Rock Salt"', 'cursive'],
279278
},
280279
fontSize: {
281280
'sm': ['0.875rem', { lineHeight: '1.7' }],

0 commit comments

Comments
 (0)