Skip to content

Commit 6654606

Browse files
committed
feat: account logo
1 parent c44b052 commit 6654606

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/app/src/pages/Account.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<main class="wb-screen w-full flex flex-row justify-center flex-wrap gap-20 items-center bg-theme-background-2">
2+
<main :style="{ background: 'linear-gradient(1448deg,rgba(61, 58, 58, 1) 0%, rgba(55, 65, 81, 1) 100%)' }" class="wb-screen w-full flex flex-row justify-center flex-wrap gap-20 items-center">
33
<section class="relative left-25 flex text-white justify-around items-center flex-col gap-5 w-80 h-140 rounded-xl bg-theme-background-4">
44
<h2 class="font-bold text-3xl">{{ t('account.common.title') }}</h2>
55
<h3 class="font-bold text-3xl">{{ t('account.common.price') }}</h3>
@@ -18,6 +18,11 @@
1818
<p class="font-raleway text-lg text-center">{{ t('account.force.description') }}</p>
1919
<Button @click="onCreateAccount('force')">{{ t('account.force.enter') }}</Button>
2020
</section>
21+
<img
22+
class="absolute right-20 bottom-20 opacity-20 shadow-lg rounded-xs w-80 md:w-80"
23+
alt="Better Write Logo"
24+
src="/logo_default.svg"
25+
/>
2126
</main>
2227
</template>
2328

packages/plugin-backend/src/data.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export const DataSet = (
2727
// TODO: backend types
2828
await ofetch(`/api/user/${id}`, {
2929
method: 'POST',
30-
body: { some: 'json' },
3130
async onRequestError() {
3231
hooks.toast.error(hooks.i18n.t('toast.user.fail'))
3332
},

0 commit comments

Comments
 (0)