@@ -5,7 +5,12 @@ const plugins = [
5
5
[' tRPC' , ' /assets/trpc.webp' , ' /plugins/trpc' ],
6
6
[' Vite' , ' /assets/vite.svg' , ' https://github.com/timnghg/elysia-vite' ],
7
7
[' JWT' , ' /assets/jwt.webp' , ' /plugins/jwt' ],
8
- [' Web Socket' , ' /assets/websocket.webp' , ' /patterns/websocket' , ' /assets/websocket-dark.webp' ],
8
+ [
9
+ ' Web Socket' ,
10
+ ' /assets/websocket.webp' ,
11
+ ' /patterns/websocket' ,
12
+ ' /assets/websocket-dark.webp'
13
+ ],
9
14
[
10
15
' Clerk' ,
11
16
' /assets/clerk.webp' ,
@@ -30,11 +35,14 @@ const isDark = useDark()
30
35
</script >
31
36
32
37
<template >
33
- <article class =" flex justify-between flex-col lg:flex-row items-center w-full max-w-6xl mx-auto my-8 gap-12" >
38
+ <article
39
+ class =" flex justify-between flex-col lg:flex-row items-center w-full max-w-6xl mx-auto my-8 gap-12"
40
+ >
34
41
<section class =" flex flex-col w-full max-w-lg" >
35
42
<header class =" flex flex-col justify-center items-start" >
36
43
<h2
37
- class =" text-5xl md:text-6xl leading-tight font-bold bg-clip-text text-transparent bg-gradient-to-tr from-sky-400 to-fuchsia-400 mb-4" >
44
+ class =" text-5xl md:text-6xl leading-tight font-bold bg-clip-text text-transparent bg-gradient-to-tr from-sky-400 to-fuchsia-400 mb-4"
45
+ >
38
46
It works with that
39
47
</h2 >
40
48
</header >
@@ -43,25 +51,43 @@ const isDark = useDark()
43
51
likely there is a plugin for what you want.
44
52
</p >
45
53
<p class =" text-xl text-gray-400 w-full max-w-lg" >
46
- If the plugin you need is not there, it's easy to create one and share
47
- it with the community.
54
+ If the plugin you need is not there, it's easy to create one and
55
+ share it with the community.
48
56
</p >
49
57
<div class =" mt-8" >
50
- <a href =" /plugins/overview"
51
- class =" text-xl font-medium bg-blue-200/25 dark:bg-blue-500/25 text-blue-500 px-6 py-3 rounded-xl" >
58
+ <a
59
+ href =" /plugins/overview"
60
+ class =" text-xl font-medium bg-blue-200/25 dark:bg-blue-500/25 text-blue-500 px-6 py-3 rounded-xl"
61
+ >
52
62
Explore plugins
53
63
</a >
54
64
</div >
55
65
</section >
56
66
<section class =" flex flex-col w-full max-w-xl" >
57
- <ol class =" grid grid-cols-2 sm:grid-cols-3 gap-4 list-none w-full text-gray-500 dark:text-gray-400 text-lg" >
58
- <li v-for =" [name, icon, href, darkIcon = ''] in plugins"
59
- class =" aspect-square rounded-xl border dark:border-gray-700 bg-gradient-to-br from-white to-gray-50 dark:from-gray-700/75 dark:to-gray-800/75 text-xl transform transition-all ease-out duration-200 hover:shadow-lg focus:shadow-lg hover:-translate-y-1.5 focus:-translate-y-1.5" >
60
- <a :href =" href" :target =" href.startsWith('http') ? '_blank' : ''"
61
- class =" flex flex-col justify-center items-center gap-3 w-full h-full text-lg font-medium text-gray-600 dark:text-gray-400 overflow-hidden" >
62
- <img :src =" isDark && darkIcon ? darkIcon ?? icon : icon" :alt =" name"
63
- class =" absolute w-36 h-36 opacity-10 filter blur-lg" />
64
- <img :src =" isDark && darkIcon ? darkIcon ?? icon : icon" :alt =" name" class =" h-14" />
67
+ <ol
68
+ class =" grid grid-cols-2 sm:grid-cols-3 gap-4 list-none w-full text-gray-500 dark:text-gray-400 text-lg"
69
+ >
70
+ <li
71
+ v-for =" [name, icon, href, darkIcon = ''] in plugins"
72
+ class =" aspect-square rounded-xl border dark:border-gray-700 bg-gradient-to-br from-white to-gray-50 dark:from-gray-700/75 dark:to-gray-800/75 text-xl transform transition-all ease-out duration-200 hover:shadow-lg focus:shadow-lg hover:-translate-y-1.5 focus:-translate-y-1.5"
73
+ >
74
+ <a
75
+ :href =" href"
76
+ :target =" href.startsWith('http') ? '_blank' : ''"
77
+ class =" flex flex-col justify-center items-center gap-3 w-full h-full text-lg font-medium text-gray-600 dark:text-gray-400 overflow-hidden"
78
+ >
79
+ <img
80
+ :src =" isDark && darkIcon ? darkIcon ?? icon : icon"
81
+ :alt =" name"
82
+ loading =" lazy"
83
+ class =" absolute w-36 h-36 opacity-10 filter blur-lg"
84
+ />
85
+ <img
86
+ :src =" isDark && darkIcon ? darkIcon ?? icon : icon"
87
+ :alt =" name"
88
+ class =" h-14"
89
+ loading =" lazy"
90
+ />
65
91
{{ name }}
66
92
</a >
67
93
</li >
0 commit comments