diff --git a/kentai_radiquum/index.html b/kentai_radiquum/index.html deleted file mode 100644 index 9e9c40c..0000000 --- a/kentai_radiquum/index.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - -kentai radiquum - - - - - - - - - - - - - - - -
-
- -
- -
-
-
- - Loading... -
- -
-
-

kentai radiquum

by: ketfox

safe

-
-
- -
- - - -

Telegram

-
- - - - -

FluffyChat

-
- - -

Cinny

-
- - -
- -
- - - - - - - - - \ No newline at end of file diff --git a/src/templates/components/packPreview.js b/src/templates/components/packPreview.js new file mode 100644 index 0000000..14072d3 --- /dev/null +++ b/src/templates/components/packPreview.js @@ -0,0 +1,48 @@ +const { CreateImageURL } = require("../../utils"); + +function _addSticker(index, sticker) { + return ` +
+
+ + Loading... +
+ +
+`}; + +function _packPreview(index, pack) { + + let stickers = []; + pack.stickers.forEach((sticker) => stickers.push(_addSticker(index, sticker))); + + return ` +
+

Pack Preview (${pack.stickers.length} stickers)

+
+ ${stickers.join("\n")} +
+
+`}; + +module.exports = _packPreview; diff --git a/src/templates/pack.js b/src/templates/pack.js index 08f16c3..3a4287c 100644 --- a/src/templates/pack.js +++ b/src/templates/pack.js @@ -1,6 +1,7 @@ const Head = require("./components/head"); const PackCard = require("./components/packCard"); const PackLinks = require("./components/PackLinks"); +const PackPreview = require("./components/packPreview"); function _CreatePackPage(index, pack) { return ` @@ -20,7 +21,7 @@ function _CreatePackPage(index, pack) {
${PackLinks(pack)}
- + ${PackPreview(index, pack)} diff --git a/static/tailwind.css b/static/tailwind.css index b0bb5fd..c385dc5 100644 --- a/static/tailwind.css +++ b/static/tailwind.css @@ -608,14 +608,14 @@ video { inset: 0px; } -.top-8 { - top: 2rem; -} - .left-1\/2 { left: 50%; } +.top-8 { + top: 2rem; +} + .-z-10 { z-index: -10; } @@ -645,6 +645,10 @@ video { display: flex; } +.grid { + display: grid; +} + .hidden { display: none; } @@ -653,6 +657,10 @@ video { height: 4rem; } +.h-24 { + height: 6rem; +} + .h-48 { height: 12rem; } @@ -669,6 +677,10 @@ video { width: 4rem; } +.w-24 { + width: 6rem; +} + .w-48 { width: 12rem; } @@ -677,10 +689,6 @@ video { width: 100%; } -.max-w-\[90\%\] { - max-width: 90%; -} - .-translate-x-1\/2 { --tw-translate-x: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); @@ -881,6 +889,14 @@ video { transition-duration: 150ms; } +.\[grid-template-columns\:repeat\(auto-fill\2c 96px\)\] { + grid-template-columns: repeat(auto-fill,96px); +} + +.\[grid-template-columns\:repeat\(auto-fill\2c minmax\(128px\2c 372px\)\)\] { + grid-template-columns: repeat(auto-fill,minmax(128px,372px)); +} + .tiledBackground { background-image: url('images/background-white.png'); background-repeat: repeat;