Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Comment applied
Browse files Browse the repository at this point in the history
  • Loading branch information
bakulf committed Nov 3, 2023
1 parent 718a7fc commit 60b3d3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
2 changes: 1 addition & 1 deletion components/nav/NavFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function toggleDark() {
</CommonTooltip>
</div>
<div>
<NuxtLink to="/about" target="_blank">
<NuxtLink to="/about">
About
</NuxtLink>
&middot;
Expand Down
8 changes: 3 additions & 5 deletions components/settings/SettingsAbout.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<script setup lang="js">
const content = (await $fetch(`/api/${publicServer.value}/extended_description`)).content
const content = (await $fetch(`https://${publicServer.value}/api/v1/instance/extended_description`)).content
const instance = await useMastoClient().v2.instance.fetch()
const { t } = useI18n()
const subtitle = t('about.subtitle')
const administered_by = t('about.administered_by')
const contact = t('about.contact', [instance.contact.email])
const contact = t('about.contact', [`<a href="mailto:${instance.contact.email}">${instance.contact.email}</a>`])
const server_rules = t('about.server_rules')
const footer_about = t('about.footer_about')
const footer_profiles_directory = t('about.footer_privacy_notice')
Expand Down Expand Up @@ -34,9 +34,7 @@ const footer_view_code = t('about.footer_view_code', [instance.version])

<AccountCard :account="instance.contact.account" />

<div p-t-2>
{{ contact }}
</div>
<div p-t-2 class="content-rich" v-html="contact" />
</div>

<div m-b-5 b-t-1px p-t-5 class="content-rich" v-html="content" />
Expand Down
14 changes: 0 additions & 14 deletions server/api/[server]/extended_description.ts

This file was deleted.

0 comments on commit 60b3d3b

Please sign in to comment.