feat: add feed links in dashboard

This commit is contained in:
DIYgod
2022-11-04 23:01:43 +00:00
parent 5ec4c3382d
commit 48fafcfcd6
2 changed files with 31 additions and 0 deletions
+19
View File
@@ -33,6 +33,25 @@ export default function SubdomainIndex() {
Change Site Name or Icon
</UniLink>
</li>
<li>
Subscribe the{" "}
<UniLink
href={`${getSiteLink({
subdomain: subdomain,
})}/feed`}
>
posts feed
</UniLink>{" "}
and{" "}
<UniLink
href={`${getSiteLink({
subdomain: subdomain,
})}/feed/notifications`}
>
notifications feed
</UniLink>{" "}
via RSS Reader
</li>
</ul>
<p>
You are not alone, join the community to meet friends or give xLog
@@ -50,6 +50,18 @@ export default function SubdomainIndex() {
<DashboardLayout title="Dashboard">
<DashboardMain>
<h2 className="text-2xl font-bold">Notifications</h2>
<p className="mt-4">
Subscribing the{" "}
<UniLink
className="text-accent-emphasis"
href={`${getSiteLink({
subdomain: subdomain,
})}/feed/notifications`}
>
notifications feed
</UniLink>{" "}
via RSS Reader is a great way to get notified in a timely manner.
</p>
<div className="xlog-comment">
<div className="prose space-y-4 pt-4">
{notifications.data?.map((notification) => {