This commit is contained in:
stringsplit 2023-02-08 04:10:21 +00:00
parent 306d642806
commit 3eff8461e0
6 changed files with 28 additions and 6 deletions

View file

@ -1,7 +1,7 @@
{
"maxDiscordFiles": 20,
"maxDiscordFileSize": 8388608,
"targetGuild": "1024080490677936248",
"targetChannel": "1024080525993971913",
"targetGuild": "1043006429390450769",
"targetChannel": "1043007326044565604",
"requestTimeout":120000
}

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "monofile",
"version": "1.3.0",
"version": "1.3.0-pa",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "monofile",
"version": "1.3.0",
"version": "1.3.0-pa",
"license": "Unlicense",
"dependencies": {
"@types/body-parser": "^1.19.2",

View file

@ -1,4 +1,5 @@
@use "../base";
@use "pulldown/faq";
#overlay {
position:absolute;

View file

@ -0,0 +1,6 @@
.pulldown_display[name=faq] {
.faqGroup {
h2 {}
p {}
}
}

View file

@ -1,7 +1,19 @@
<script>
import Pulldown from "./Pulldown.svelte"
let faq = [
{
question : "test",
answer : "abc"
}
]
</script>
<Pulldown>
<p>faq: how do i kms</p>
<Pulldown name="faq">
{#each faq as question}
<div style="faqGroup">
<h2>{question.question}</h2>
<p>{question.answer}</p>
</div>
{/each}
</Pulldown>

View file

@ -2,9 +2,12 @@
import { fade } from "svelte/transition";
export let name;
</script>
<div
class="pulldown_display"
name=name
transition:fade={{duration:200}}
>
<slot />