feat: Modular UI component refactor Enhanced navbar and hero section

This commit is contained in:
Fechin committed 2025-06-20 20:42:55 +08:00
1 parent 3caacd4567
commit e08ec9eba9
58 files changed
+2008 -229

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
---
title: Aspect Ratio
date: 2022-09-21 10:28:43
background: bg-emerald-600
background: bg-indigo-600
tags:
- photo
- image
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: Chmod
date: 2021-07-01 10:51:44
background: bg-emerald-600
background: bg-indigo-600
tags:
- permission
categories:
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: FastAPI
date: 2025-06-07 18:40:00
background: bg-[#059669]
background: bg-[#3730a3]
tags:
- web
- python
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: Grep
date: 2020-11-25 18:28:43
background: bg-emerald-400
background: bg-indigo-400
tags:
- egrep
- search
+1 -1
View File
@@ -2,7 +2,7 @@
title: OpenSSL
date: 2020-11-25 18:28:43
icon: icon-style
background: bg-emerald-600
background: bg-indigo-600
tags:
categories:
- Linux Command
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: PhpStorm
date: 2022-11-23 16:23:31.703719
background: bg-gradient-to-r from-[#be4fe9] to-[#715bef] hover:from-emerald-400 hover:to-blue-500
background: bg-gradient-to-r from-[#be4fe9] to-[#715bef] hover:from-indigo-400 hover:to-blue-500
label:
tags:
- jetbrains
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: Screen
date: 2021-01-02 20:03:55
background: bg-emerald-500
background: bg-indigo-500
tags:
- terminal
- session
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: Tmux
date: 2021-02-20 14:31:24
background: bg-emerald-600
background: bg-indigo-600
tags:
- utility
- terminal
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: WebStorm
date: 2020-12-17 21:51:44
background: bg-gradient-to-r from-emerald-300 to-blue-400 hover:from-emerald-400 hover:to-blue-500
background: bg-gradient-to-r from-indigo-300 to-blue-400 hover:from-indigo-400 hover:to-blue-500
tags:
- jetbrains
- web
+3
View File
@@ -0,0 +1,3 @@
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor" height="1em" width="1em">
<path d="M512 714.666667c-8.533333 0-17.066667-2.133333-23.466667-8.533334l-341.333333-341.333333c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l320 317.866667 317.866667-317.866667c12.8-12.8 32-12.8 44.8 0 12.8 12.8 12.8 32 0 44.8l-341.333334 341.333333c-4.266667 6.4-12.8 8.533333-21.333333 8.533334z"/>
</svg>

After

Width:  |  Height:  |  Size: 431 B

+5
View File
@@ -0,0 +1,5 @@
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor" height="1em" width="1em">
<path d="M744 312h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c53 0 96 43 96 96s-43 96-96 96h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c101.8 0 184-82.2 184-184s-82.2-184-184-184z"/>
<path d="M664 128H144c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-24h480v24c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32z"/>
<path d="M144 256h520c17.7 0 32 14.3 32 32v496c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V288c0-17.7 14.3-32 32-32zm464 496V320H176v432h432z"/>
</svg>

After

Width:  |  Height:  |  Size: 615 B

+3
View File
@@ -0,0 +1,3 @@
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor" height="1em" width="1em">
<path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.4c2.4.8 4.9 1.2 7.5 1.2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM672 888H414V746c0-22.1-17.9-40-40-40H232V256h440v632z"/>
</svg>

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

+3
View File
@@ -0,0 +1,3 @@
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor" height="1em" width="1em">
<path d="M853.333333 298.666667c0-117.333333-96-213.333333-213.333333-213.333334H298.666667c-23.466667 0-42.666667 19.2-42.666667 42.666667v554.666667c0 23.466667 19.2 42.666667 42.666667 42.666666h85.333333c23.466667 0 42.666667-19.2 42.666667-42.666666V469.333333h213.333333c117.333333 0 213.333333-96 213.333333-213.333333z m-85.333333 0c0 70.4-57.6 128-128 128H426.666667V213.333333h213.333333c70.4 0 128 57.6 128 128z"/>
</svg>

After

Width:  |  Height:  |  Size: 547 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

+3
View File
@@ -0,0 +1,3 @@
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor" height="1em" width="1em">
<path d="M714.163 519.284L1160.89 0h-105.86L667.137 450.887L357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152L826.647 1226.37H1183.98L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894L144.011 79.6944h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"/>
</svg>

After

Width:  |  Height:  |  Size: 422 B

+1 -1
View File
@@ -5,7 +5,7 @@
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#10b981",
"theme_color": "#6366f1",
"orientation": "portrait-primary",
"scope": "/",
"lang": "en",
+56
View File
@@ -0,0 +1,56 @@
---
title: Buy Me a Coffee
description: Support the development of CheatSheets.zip through various donation platforms
permalink: /support/
background: bg-gradient-to-r from-pink-500 to-purple-600
tags:
- support
- donation
categories:
- Other
intro: |
Thank you for considering supporting CheatSheets.zip! Your contributions help us maintain and improve this free resource for developers worldwide.
---
## Buy Me a Coffee
### 💖 Why Support Us?
CheatSheets.zip serves **1M+ developers** monthly with **200+ free cheat sheets**.
We believe great developer resources should be **free forever**. Your support helps us:
- 🚀 Keep servers running smoothly
- ✨ Add new cheat sheets weekly
- 🎯 Improve user experience
- 🔥 Maintain top-quality content
_No ads, no paywalls, just pure developer goodness._
### ☕ Buy Me a Coffee
**Fuel our coding sessions!**
Buy us a coffee and help keep the cheat sheets coming. Perfect for one-time support or when you just want to say thanks.
☕ **What your coffee buys:**
- Server uptime for thousands of developers
- Motivation to create new content
- A smile on our faces
[Buy Me a Coffee](https://buymeacoffee.com/cheatsheets.zip) {.link-arrow}
### 🌟 GitHub Sponsors
**Join our amazing sponsors!**
Support the future of free developer resources. Every contribution, big or small, makes a real difference.
✨ **Sponsor perks:**
- Your name in our README
- Early access to new features
- Good karma for supporting open source
[Sponsor on GitHub](https://github.com/sponsors/Fechin) {.link-arrow}
+3 -3
View File
@@ -174,14 +174,14 @@ function createOfflineResponse(pathname) {
.offline-title {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #10b981;
color: #6366f1;
}
.offline-message {
margin-bottom: 1.5rem;
line-height: 1.6;
}
.retry-button {
background: #10b981;
background: #6366f1;
color: white;
border: none;
padding: 0.75rem 1.5rem;
@@ -190,7 +190,7 @@ function createOfflineResponse(pathname) {
font-size: 1rem;
}
.retry-button:hover {
background: #059669;
background: #3730a3;
}
</style>
</head>
+2 -2
View File
@@ -4,7 +4,7 @@
</div>
<div class="w-1/3 px-2">
<input
class="bg-grey-lighter text-grey-darker border-red block w-full appearance-none rounded border px-3 py-2 focus:border-emerald-500 focus:outline-none dark:bg-slate-800"
class="bg-grey-lighter text-grey-darker border-red block w-full appearance-none rounded border px-3 py-2 focus:border-indigo-500 focus:outline-none dark:bg-slate-800"
id="num"
placeholder="777"
maxlength="3"
@@ -13,7 +13,7 @@
</div>
<div class="w-1/3 px-2">
<input
class="bg-grey-lighter dark-bg-slate-800 text-grey-darker border-grey-lighter block w-full appearance-none rounded border px-3 py-2 focus:border-emerald-500 focus:outline-none"
class="bg-grey-lighter dark-bg-slate-800 text-grey-darker border-grey-lighter block w-full appearance-none rounded border px-3 py-2 focus:border-indigo-500 focus:outline-none"
id="let"
placeholder="rwxrwxrwx"
maxlength="9"