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, "maxDiscordFiles": 20,
"maxDiscordFileSize": 8388608, "maxDiscordFileSize": 8388608,
"targetGuild": "1024080490677936248", "targetGuild": "1043006429390450769",
"targetChannel": "1024080525993971913", "targetChannel": "1043007326044565604",
"requestTimeout":120000 "requestTimeout":120000
} }

4
package-lock.json generated
View file

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

View file

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

View file

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

View file

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

View file

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