Skip to content

Commit 45da3a3

Browse files
committed
ui(help): add subscription expiration help page
1 parent bc43d9f commit 45da3a3

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

apps/client/src/pages/home/Help/Help.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@
5757
What is the refund policy on DeepNotes?
5858
</router-link>
5959
</li>
60+
61+
<li>
62+
<router-link :to="{ name: 'help/subscription-expiration' }">
63+
What happens when my subscription expires?
64+
</router-link>
65+
</li>
6066
</ul>
6167

6268
<Gap style="height: 80px" />
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<template>
2+
<div style="font-size: 28px; font-weight: bold">{{ title }}</div>
3+
4+
<Gap style="height: 36px" />
5+
6+
<div style="max-width: 500px">
7+
When your subscription expires, all pages created during your subscription
8+
becomes read-only. You will not be able to edit them, but you will still be
9+
able to view them.
10+
</div>
11+
</template>
12+
13+
<script setup lang="ts">
14+
const title = 'What happens when my subscription expires?';
15+
16+
useMeta(() => ({
17+
title: `${title} - Help - DeepNotes`,
18+
}));
19+
</script>

apps/client/src/router/routes.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,18 @@ const routes: RouteRecordRaw[] = [
188188
},
189189
],
190190
},
191+
{
192+
path: 'subscription-expiration',
193+
component: () => import('src/pages/home/Help/HelpLayout.vue'),
194+
children: [
195+
{
196+
path: '',
197+
name: 'help/subscription-expiration',
198+
component: () =>
199+
import('src/pages/home/Help/Pages/SubscriptionExpiration.vue'),
200+
},
201+
],
202+
},
191203
],
192204
},
193205

0 commit comments

Comments
 (0)