Add files via upload

This commit is contained in:
t404owo
2025-07-19 12:56:11 +07:00
committed by GitHub
parent fb7df36292
commit a162a9a16c

View File

@@ -79,16 +79,20 @@ if (!params.get("release")) {
supabase
.from("events")
.select("title, context, bg_src")
.or("event_type.eq.release,event_type.eq.highlight_release")//
.eq("event_id", id)
.then((d) => {
let res = d.data;
if (res !== null && res.length > 0) {
let _pg = document.createElement("div"),
_box = document.createElement("div"),
_longbr = document.createElement("div"),
_h1 = document.createElement("h1"),
title = document.createElement("strong"),
data = res[0];
_longbr.classList.add("long-break");
_pg.classList.add("release-track");
_pg.style =
"background-image: url(" +
@@ -102,6 +106,7 @@ if (!params.get("release")) {
main.appendChild(_pg);
_box.appendChild(_longbr);
_pg.appendChild(_box);
_box.appendChild(_h1);
_h1.appendChild(title);