Nevernight Vk -
<button v-if="isMember" class="submit-btn" @click="showSubmit = true"> + Night Moment </button>
async function loadInitial() { const [theme, feed] = await Promise.all([fetchCurrentTheme(), nevernight vk
-- Posts CREATE TABLE posts ( id BIGSERIAL PRIMARY KEY, user_id BIGINT REFERENCES users(vk_id), type TEXT CHECK (type IN ('photo','video','text')), media_url TEXT, text_body TEXT, created_at TIMESTAMP DEFAULT now(), theme_id BIGINT REFERENCES themes(id) ); + Night Moment <
const posts = ref([]); const currentTheme = ref({}); const showSubmit = ref(false); const socket = io(import.meta.env.VITE_WS_URL); async function loadInitial() { const [theme