forked from labex-labs/python-cheatsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaseBadge.vue
More file actions
41 lines (41 loc) · 1.23 KB
/
BaseBadge.vue
File metadata and controls
41 lines (41 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<template>
<a
href="https://www.javascriptcheatsheet.org/"
class="text-xs relative flex items-center rounded-full px-4 py-0.5 leading-6 text-primary-600 dark:text-primary-500 dark:ring-slate-100/10 ring-1 ring-slate-900/10 hover:ring-gray-900/20"
>
<strong class="line-clamp-1 font-semibold">
<slot>
<span class="hidden xl:flex items-center">
✨
<!-- <img
src="https://www.javascriptcheatsheet.org/icons/javascript_logo.png"
alt="javascript cheatsheet"
class="h-4 w-4 rounded-sm mr-1.5"
/> -->
Read Online
<span class="mx-1.5">·</span>
JavaScript Cheatsheet
</span>
<span class="hidden md:block xl:hidden">
✨ Javascript Cheatsheet
</span>
<span class="md:hidden xl:hidden"> ✨ JVS </span>
</slot>
</strong>
<svg
width="3"
height="6"
class="ml-3 overflow-visible text-primary-600 dark:text-primary-400"
aria-hidden="true"
>
<path
d="M0 0L3 3L0 6"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
></path>
</svg>
</a>
</template>