Skip to content

Commit 12e2845

Browse files
committed
Add new links, optimize styles for bg
New links: - Appwrite - VitePress - void(0) - Cypress - Can I WebView... - Accessibility Support
1 parent bcb2686 commit 12e2845

File tree

7 files changed

+54
-12
lines changed

7 files changed

+54
-12
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<link rel="apple-touch-icon" href="/logo192.png" />
1010
<link rel="manifest" href="/manifest.json" />
1111

12-
<title>&lt;WebdevHome /&gt;</title>
12+
<title>WebdevHome</title>
1313

1414
<link rel="stylesheet" href="./index.css" />
1515

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webdevhome.github.io",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"type": "module",
55
"scripts": {
66
"dev": "vite",

src/components/Header/AppHeader.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export const AppHeader: FC<Props> = ({ centerItems, actions }) => {
3333
className={classNames(
3434
'grid items-center',
3535
'grid-cols-[1fr,auto] grid-rows-[auto,auto] md:grid-cols-[1fr,auto,1fr] md:grid-rows-1',
36-
'border-b border-black/10 dark:border-white/10',
36+
// 'border-b border-black/10 dark:border-white/10',
37+
'bg-black/5 dark:bg-white/5',
3738
'px-page',
3839
)}
3940
>

src/components/Links/LinkGroup.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const LinkGroup: FC<Props> = ({ group }) => {
7777
'flex-auto',
7878
'px-4 py-2',
7979
`bg-${group.color ?? 'gray'}-100 dark:bg-${group.color ?? 'gray'}-600`,
80-
'text-center font-semibold uppercase tracking-wider',
80+
'text-center font-semibold uppercase tracking-wider leading-tight',
8181
`text-${group.color ?? 'gray'}-800 dark:text-${group.color ?? 'gray'}-50`,
8282
'rounded-md',
8383
{

src/components/Links/LinkGroupButton.tsx

+9-5
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@ export const LinkGroupButton: FC<PropsWithChildren<Props>> = ({
1313
<button
1414
className={classNames(
1515
'justify-self-center',
16-
'text-sm font-semibold text-gray-600 dark:text-gray-300',
16+
'text-sm font-semibold',
1717
'tracking-wide',
1818
'my-2 px-4 py-1',
19-
'border border-gray-300 hover:border-gray-400',
20-
'dark:border-gray-500 dark:hover:border-gray-400',
21-
'hover:bg-gray-200 active:bg-gray-300',
22-
'dark:hover:bg-gray-600 dark:active:bg-gray-500',
19+
'border',
20+
'bg-clip-padding',
21+
'text-gray-600 hover:text-gray-800 active:text-gray-800',
22+
'dark:text-gray-300 dark:hover:text-gray-100 dark:active:text-gray-100',
23+
'border-black/15 active:border-black/25',
24+
'hover:bg-black/15 active:bg-black/25',
25+
'dark:border-white/20 dark:hover:border-white/20 dark:active:border-white/25',
26+
'dark:hover:bg-white/20 dark:active:bg-white/25',
2327
'rounded',
2428
'select-none',
2529
'cursor-default',

src/components/Search/SearchTargetLabel.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const SearchTargetLabel: FC<Props> = ({ title, icon, color }) => {
5151
className={classNames(
5252
'flex flex-col items-start gap-y-4 sm:flex-row sm:items-center',
5353
'sm:px-8',
54-
'text-xl',
54+
'text-base',
5555
'text-gray-700 dark:text-gray-100',
5656
)}
5757
>
@@ -60,8 +60,8 @@ export const SearchTargetLabel: FC<Props> = ({ title, icon, color }) => {
6060
className={classNames(
6161
'flex items-center',
6262
'mr-4 px-2 py-1',
63-
'bg-gray-100 hover:bg-gray-200 active:bg-gray-300',
64-
'dark:bg-gray-600 dark:hover:bg-gray-500 dark:active:bg-gray-400',
63+
'bg-black/10 hover:bg-black/20 active:bg-black/25',
64+
'dark:bg-white/15 dark:hover:bg-white/25 dark:active:bg-white/30',
6565
'rounded',
6666
'cursor-default select-none',
6767
)}

src/links.json

+37
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,12 @@
149149
"icon": "supabase",
150150
"color": "#3ecf8e"
151151
},
152+
{
153+
"title": "Appwrite",
154+
"url": "https://appwrite.io",
155+
"icon": "appwrite",
156+
"color": "#FD366E"
157+
},
152158
{
153159
"title": "DigitalOcean",
154160
"url": "https://www.digitalocean.com",
@@ -694,6 +700,13 @@
694700
"icon": "nuxtdotjs",
695701
"color": "#00DC82"
696702
},
703+
{
704+
"title": "VitePress",
705+
"url": "https://vitepress.dev",
706+
"description": "Static site generator powered by Vue.",
707+
"icon": "vitepress",
708+
"color": "#5C73E7"
709+
},
697710
{
698711
"title": "Angular",
699712
"url": "https://angular.io",
@@ -1006,6 +1019,11 @@
10061019
"icon": "createreactapp",
10071020
"color": "#09D3AC"
10081021
},
1022+
{
1023+
"title": "void(0)",
1024+
"url": "https://voidzero.dev",
1025+
"description": "A universal build chain from the creators of Vite."
1026+
},
10091027
{
10101028
"title": "Biome",
10111029
"url": "https://biomejs.dev",
@@ -1064,6 +1082,13 @@
10641082
"icon": "eslint",
10651083
"color": "#4B32C3"
10661084
},
1085+
{
1086+
"title": "Cypress",
1087+
"url": "https://www.cypress.io",
1088+
"description": "Library for test automation.",
1089+
"icon": "cypress",
1090+
"color": "#69D3A7"
1091+
},
10671092
{
10681093
"title": "Puppeteer",
10691094
"url": "https://developers.google.com/web/tools/puppeteer",
@@ -1706,6 +1731,18 @@
17061731
"searchUrl": "https://www.canidev.tools/?q={search}",
17071732
"searchConcat": "+"
17081733
},
1734+
{
1735+
"title": "Can I WebView...",
1736+
"url": "https://caniwebview.com",
1737+
"description": "Check system webviews for feature support.",
1738+
"searchUrl": "https://caniwebview.com/search/?s={search}",
1739+
"searchConcat": "+"
1740+
},
1741+
{
1742+
"title": "Accessibility Support",
1743+
"url": "https://a11ysupport.io",
1744+
"description": "Will your code work with assistive technologies?"
1745+
},
17091746
{
17101747
"title": "Web Platform Status",
17111748
"url": "https://webstatus.dev",

0 commit comments

Comments
 (0)