This commit is contained in:
taskylizard 2023-11-04 20:27:52 +05:30
parent 566edc1c36
commit 76224933d0
No known key found for this signature in database
GPG Key ID: 5CABA3D642DDC497
3 changed files with 31 additions and 24 deletions

View File

@ -15,25 +15,25 @@ jobs:
ci:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 6
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- run: pnpm install --no-frozen-lockfile
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 6
- uses: pnpm/action-setup@v2.4.0
- name: Build
run: pnpm api:build
env:
NITRO_PRESET: cloudflare
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Publish to Cloudflare
uses: cloudflare/wrangler-action@3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
- run: pnpm install --no-frozen-lockfile
- name: Build
run: pnpm api:build
env:
NITRO_PRESET: cloudflare
- name: Publish to Cloudflare
uses: cloudflare/wrangler-action@3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}

View File

@ -76,7 +76,11 @@ async function handleSubmit(type?: string) {
</div>
</div>
<div class="button-container">
<button v-for="item in feedbackOptions" :key="item.value" class="btn" @click="handleSubmit(item.value)">
<button
v-for="item in feedbackOptions"
:key="item.value"
class="btn"
@click="handleSubmit(item.value)">
<span>{{ item.label }}</span>
</button>
</div>
@ -86,7 +90,10 @@ async function handleSubmit(type?: string) {
<p class="desc">The wiki is...</p>
<div>
<span>{{ getFeedbackOption(feedback.feedbackType)?.label }}</span>
<button style="margin-left: 0.5rem" class="btn" @click="feedback.feedbackType = undefined">
<button
style="margin-left: 0.5rem"
class="btn"
@click="feedback.feedbackType = undefined">
<span class="i-carbon-close-large">close</span>
</button>
</div>
@ -106,7 +113,7 @@ async function handleSubmit(type?: string) {
</template>
<style scoped>
.step>*+* {
.step > * + * {
margin-top: 1rem;
}

View File

@ -13,5 +13,5 @@ export default {
"sidebar-nav-after": () => h(Sidebar),
});
},
enhanceApp({ app, router, siteData }) { },
enhanceApp({ app, router, siteData }) {},
} satisfies Theme;