remove 18+ filter
Browse files- index.html +8 -33
index.html
CHANGED
@@ -26,22 +26,6 @@
|
|
26 |
<meta name="twitter:player:height" content="600" />
|
27 |
|
28 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
|
29 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
30 |
-
<style>
|
31 |
-
body,
|
32 |
-
html {
|
33 |
-
height: 100%;
|
34 |
-
}
|
35 |
-
|
36 |
-
details > summary {
|
37 |
-
list-style: none;
|
38 |
-
}
|
39 |
-
|
40 |
-
details > summary::-webkit-details-marker {
|
41 |
-
display: none;
|
42 |
-
}
|
43 |
-
</style>
|
44 |
-
|
45 |
<script src="https://cdn.tailwindcss.com"></script>
|
46 |
|
47 |
<script type="module">
|
@@ -63,7 +47,7 @@
|
|
63 |
totalPages: -1,
|
64 |
buttonClass(attr, filter) {
|
65 |
if (this[attr] === filter) {
|
66 |
-
return "bg-black dark:bg-white shadow-lg text-white dark:text-black";
|
67 |
}
|
68 |
return "text-gray-600 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-500 hover:text-gray-800";
|
69 |
},
|
@@ -121,12 +105,10 @@
|
|
121 |
<div class="col-span-2 lg:col-span-1 flex flex-col gap-2 row-start">
|
122 |
<h1 class="text-lg font-semibold dark:text-white whitespace-nowrap">Diffusers Models Gallery</h1>
|
123 |
<details>
|
124 |
-
<summary
|
125 |
-
class="text-xs font-thin cursor-pointer focus:outline-none focus:shadow-outline-gray dark:text-white"
|
126 |
-
>
|
127 |
About
|
128 |
</summary>
|
129 |
-
<p class="
|
130 |
The gallery only displays models with valid images in the model card, and the classifiers use the first
|
131 |
image in the card.
|
132 |
|
@@ -151,9 +133,9 @@
|
|
151 |
</details>
|
152 |
</div>
|
153 |
|
154 |
-
<div class="col-span-2 md:col-span-3 flex items-center gap-
|
155 |
-
<div class="flex
|
156 |
-
<span class="md:px-3 py-1
|
157 |
<button
|
158 |
:class="buttonClass('sort', 'trending')"
|
159 |
class="px-2 md:px-3 py-1 rounded-full text"
|
@@ -176,8 +158,8 @@
|
|
176 |
Most Likes
|
177 |
</button>
|
178 |
</div>
|
179 |
-
<div class="flex
|
180 |
-
<span class="md:px-3 py-1
|
181 |
<button
|
182 |
:class="buttonClass('filter', 'all')"
|
183 |
class="px-2 md:px-3 py-1 rounded-full"
|
@@ -206,13 +188,6 @@
|
|
206 |
>
|
207 |
Realistic
|
208 |
</button>
|
209 |
-
<button
|
210 |
-
:class="buttonClass('filter', 'nsfw')"
|
211 |
-
class="text-gray-600 hover:bg-gray-200 dark:hover:bg-gray-500 hover:text-gray-800 px-2 md:px-3 py-1 rounded-full"
|
212 |
-
@click="filterModels('nsfw')"
|
213 |
-
>
|
214 |
-
18+
|
215 |
-
</button>
|
216 |
</div>
|
217 |
</div>
|
218 |
|
|
|
26 |
<meta name="twitter:player:height" content="600" />
|
27 |
|
28 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
<script src="https://cdn.tailwindcss.com"></script>
|
30 |
|
31 |
<script type="module">
|
|
|
47 |
totalPages: -1,
|
48 |
buttonClass(attr, filter) {
|
49 |
if (this[attr] === filter) {
|
50 |
+
return "bg-black dark:bg-white shadow-lg text-white dark:text-black hover:bg-black hover:text-white";
|
51 |
}
|
52 |
return "text-gray-600 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-500 hover:text-gray-800";
|
53 |
},
|
|
|
105 |
<div class="col-span-2 lg:col-span-1 flex flex-col gap-2 row-start">
|
106 |
<h1 class="text-lg font-semibold dark:text-white whitespace-nowrap">Diffusers Models Gallery</h1>
|
107 |
<details>
|
108 |
+
<summary class="font-thin cursor-pointer focus:outline-none focus:shadow-outline-gray dark:text-white">
|
|
|
|
|
109 |
About
|
110 |
</summary>
|
111 |
+
<p class="font-thin dark:text-white">
|
112 |
The gallery only displays models with valid images in the model card, and the classifiers use the first
|
113 |
image in the card.
|
114 |
|
|
|
133 |
</details>
|
134 |
</div>
|
135 |
|
136 |
+
<div class="col-span-2 md:col-span-3 flex items-center gap-4 flex flex-wrap lg-auto lg:ml-auto text-sm">
|
137 |
+
<div class="flex gap-2">
|
138 |
+
<span class="md:px-3 py-1 dark:text-white text-gray-400">sort by</span>
|
139 |
<button
|
140 |
:class="buttonClass('sort', 'trending')"
|
141 |
class="px-2 md:px-3 py-1 rounded-full text"
|
|
|
158 |
Most Likes
|
159 |
</button>
|
160 |
</div>
|
161 |
+
<div class="flex gap-2">
|
162 |
+
<span class="md:px-3 py-1 dark:text-white text-gray-400"> style</span>
|
163 |
<button
|
164 |
:class="buttonClass('filter', 'all')"
|
165 |
class="px-2 md:px-3 py-1 rounded-full"
|
|
|
188 |
>
|
189 |
Realistic
|
190 |
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
</div>
|
192 |
</div>
|
193 |
|