feat(front): improve about page, remove redundant link from nav menu
This commit is contained in:
parent
eaac5f3ace
commit
3abd692ce3
@ -1,15 +1,25 @@
|
|||||||
<script>
|
<script>
|
||||||
import BaseTemplate from "./templates/BaseTemplate.svelte";
|
import BaseTemplate from "./templates/BaseTemplate.svelte";
|
||||||
import {locals} from "../ts/stores";
|
import {locals} from "../ts/stores";
|
||||||
|
import Icon from "./utils/Icon.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<BaseTemplate title="{$locals.app.name} - About us" noH1>
|
<BaseTemplate title="{$locals.app.name} - About us"
|
||||||
|
description="Simple, self-hosted file hosting and link shrinking solution. Power lies in simplicity."
|
||||||
|
noH1>
|
||||||
<h1>Self-hosting files</h1>
|
<h1>Self-hosting files</h1>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<section class="panel">
|
<section class="panel">
|
||||||
<h2>Details</h2>
|
<h2>What is ily.li?</h2>
|
||||||
<p class="center">Powered by swaf</p>
|
<p>ily.li is a simple, self-hosted file sharing/hosting and link shrinking platform. It is based on <a href="https://eternae.ink/ashpie/swaf" target="_blank">swaf</a>.</p>
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="https://eternae.ink/ashpie/ily.li" target="_blank"><Icon name="code"/> Repository</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</BaseTemplate>
|
</BaseTemplate>
|
||||||
|
@ -4,9 +4,6 @@
|
|||||||
import {route} from "../../../../common/Routing";
|
import {route} from "../../../../common/Routing";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<NavMenuItem href={route('about')} icon="info" text="About" />
|
|
||||||
|
|
||||||
|
|
||||||
{#if $locals.user}
|
{#if $locals.user}
|
||||||
<NavMenuItem href={route('file-uploader')} icon="upload" text="Upload" />
|
<NavMenuItem href={route('file-uploader')} icon="upload" text="Upload" />
|
||||||
<NavMenuItem href={route('url-shrinker')} icon="shrink" text="Shrink URL" />
|
<NavMenuItem href={route('url-shrinker')} icon="shrink" text="Shrink URL" />
|
||||||
|
Loading…
Reference in New Issue
Block a user