Redesign the home page
This commit is contained in:
1 parent
5b32f3dca7
commit
ebb72c7f24
11 files changed
+269
-263
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 103 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
@@ -1,30 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import Checkout from "layout/checkout/Checkout.svelte";
|
|
||||||
import { user } from "lib/UserStore";
|
|
||||||
import LoginRegister from "login/LoginRegister.svelte";
|
|
||||||
import Euro from "util/Euro.svelte";
|
|
||||||
</script>
|
|
||||||
|
|
||||||
{#if $user !== null}
|
|
||||||
<div class="page_content">
|
|
||||||
<section>
|
|
||||||
{#if $user.subscription.id !== ""}
|
|
||||||
<p>
|
|
||||||
You already have the {$user.subscription.name} plan active.
|
|
||||||
Your account balance is <Euro
|
|
||||||
amount={$user.balance_micro_eur}/>. Subscriptions are
|
|
||||||
charged from this balance every day, use the form below to
|
|
||||||
top it up or to switch to another plan.
|
|
||||||
</p>
|
|
||||||
{:else}
|
|
||||||
<p>
|
|
||||||
Pick a subscription plan to upgrade your account. Your
|
|
||||||
account balance is <Euro amount={$user.balance_micro_eur}/>.
|
|
||||||
</p>
|
|
||||||
{/if}
|
|
||||||
<Checkout/>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
{:else}
|
|
||||||
<LoginRegister/>
|
|
||||||
{/if}
|
|
||||||
@@ -1,55 +1,86 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
import Footer from "layout/Footer.svelte";
|
|
||||||
import GetStarted from "./GetStarted.svelte";
|
|
||||||
import Pricing from "./Pricing.svelte";
|
|
||||||
import SubscriptionPlans from "layout/checkout/SubscriptionPlans.svelte";
|
import SubscriptionPlans from "layout/checkout/SubscriptionPlans.svelte";
|
||||||
import NovaLogo from "util/NovaLogo.svelte";
|
import NovaLogo from "util/NovaLogo.svelte";
|
||||||
|
import { user } from "lib/UserStore";
|
||||||
|
import LoginRegister from "login/LoginRegister.svelte";
|
||||||
|
import Showcase from "./Showcase.svelte";
|
||||||
|
import Euro from "util/Euro.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<header class="logo_header">
|
<header class="hero">
|
||||||
<NovaLogo full style="display: block; height: 100px; max-width: 100%; margin: 50px auto;"/>
|
<NovaLogo full style="display: block; height: 100px; max-width: 100%; margin: 50px auto 0 auto;"/>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="page_content">
|
<section>
|
||||||
<div class="highlight_yellow">
|
<div class="highlight_yellow">
|
||||||
This is a development server. All files and accounts may be lost when
|
This is a development server. All files and accounts may be lost when
|
||||||
the final product launches.
|
the final product launches.
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
<p style="text-align: center;">
|
||||||
|
Nova.storage is a platform for cost-effective cloud storage and content
|
||||||
|
delivery. We store and serve your files at an extremely competitive
|
||||||
|
rate.
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="highlights">
|
||||||
|
<div class="bubble">
|
||||||
|
<h3><i class="icon">public</i> Fully European</h3>
|
||||||
<p>
|
<p>
|
||||||
Nova.storage is a platform for cost-effective cloud storage and
|
Nova is developed and operated entirely within Europe. With its
|
||||||
content delivery. We will store and serve your files at an extremely
|
headquarters in the Netherlands and hosting in Germany.
|
||||||
competitive rate.
|
|
||||||
</p>
|
</p>
|
||||||
<h2>Features</h2>
|
</div>
|
||||||
<ul>
|
<div class="bubble">
|
||||||
<li>
|
<h3><i class="icon">storage</i> Proven storage engine</h3>
|
||||||
Cloud storage with <a href="/filesystem#toc_7">rclone</a> and
|
<p>
|
||||||
FTPS support
|
Pixelstore, the storage engine behind Nova, has been running in
|
||||||
</li>
|
production for more than ten years. It is fine-tuned for
|
||||||
<li>
|
reliability and performance.
|
||||||
Customizable download pages (custom branding colours, header and
|
</p>
|
||||||
background images)
|
</div>
|
||||||
</li>
|
<div class="bubble">
|
||||||
<li>
|
<h3><i class="icon">verified_user</i> Fault-tolerant</h3>
|
||||||
Fault tolerance for up to four storage server failures
|
<p>
|
||||||
</li>
|
The storage, database and caching layers all have redundancy built
|
||||||
<li>
|
in. Your files stay available through up to four storage server
|
||||||
Caching servers highly optimized for long-distance data transfer
|
failures.
|
||||||
</li>
|
</p>
|
||||||
</ul>
|
</div>
|
||||||
<h3>What you don't get</h3>
|
<div class="bubble">
|
||||||
<ul>
|
<h3>
|
||||||
<li>
|
<i class="icon">speed</i>
|
||||||
Data backups - Please keep a local copy of everything you store
|
Highly optimised
|
||||||
in case of emergency
|
</h3>
|
||||||
</li>
|
<p>
|
||||||
<li>
|
Our servers are tuned for high performance transfers over long
|
||||||
Commercial support - I'm busy, please don't bother me
|
distances, so downloads stay fast no matter where you are in the
|
||||||
</li>
|
world.
|
||||||
</ul>
|
</p>
|
||||||
</section>
|
</div>
|
||||||
|
<div class="bubble">
|
||||||
|
<h3><i class="icon">hub</i> Easy integration</h3>
|
||||||
|
<p>
|
||||||
|
Connect with the
|
||||||
|
<a href="https://docs.nova.storage/api/filesystem/">filesystem API</a>,
|
||||||
|
<a href="https://docs.nova.storage/filesystem/#s3">S3</a>,
|
||||||
|
<a href="https://docs.nova.storage/filesystem/#ftps">FTPS</a> or
|
||||||
|
<a href="https://docs.nova.storage/filesystem/#rclone">rclone</a>.
|
||||||
|
Backup tools, NAS devices and file managers work out of the box.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="bubble">
|
||||||
|
<h3>
|
||||||
|
<i class="icon">edit</i>
|
||||||
|
Customizable</h3>
|
||||||
|
<p>
|
||||||
|
You can make Nova look however you want. Apply your brand colours,
|
||||||
|
add a custom wallpaper, link back to your own site, you name it.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
@@ -57,19 +88,86 @@ import NovaLogo from "util/NovaLogo.svelte";
|
|||||||
</header>
|
</header>
|
||||||
<SubscriptionPlans/>
|
<SubscriptionPlans/>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<p>
|
||||||
|
Every plan includes a fixed amount of storage and egress. If you need
|
||||||
|
more, you can turn on
|
||||||
|
<a href="/user/subscription/metered_billing">usage based billing</a>.
|
||||||
|
Usage above your plan is then charged from your account balance at these
|
||||||
|
rates:
|
||||||
|
</p>
|
||||||
|
<div class="rates">
|
||||||
|
<div class="bubble">
|
||||||
|
<div class="rate"><Euro amount={4e6}/> / TB / month</div>
|
||||||
|
Storage above your plan
|
||||||
|
</div>
|
||||||
|
<div class="bubble">
|
||||||
|
<div class="rate"><Euro amount={1e6}/> / TB</div>
|
||||||
|
Egress above your plan
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h1>Feature showcase</h1>
|
||||||
|
</header>
|
||||||
|
<Showcase/>
|
||||||
|
|
||||||
|
{#if $user === null}
|
||||||
|
<header>
|
||||||
|
<h1>Get started</h1>
|
||||||
|
</header>
|
||||||
|
<LoginRegister/>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
header {
|
.hero {
|
||||||
padding-top: 20px;
|
padding: 0 8px 20px 8px;
|
||||||
padding-bottom: 20px;
|
|
||||||
}
|
}
|
||||||
.logo_header {
|
.highlights {
|
||||||
text-align: initial;
|
display: grid;
|
||||||
padding-top: 0;
|
grid-template-columns: repeat(auto-fill, minmax(min(18em, 100%), 1fr));
|
||||||
padding-bottom: 0;
|
gap: 8px;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1000px;
|
||||||
|
margin: 12px auto;
|
||||||
|
padding: 0 4px;
|
||||||
|
}
|
||||||
|
.highlights > div {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 1em;
|
||||||
|
}
|
||||||
|
.highlights h3 {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.4em;
|
||||||
|
font-size: 1.3em;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
.highlights .icon {
|
||||||
|
color: var(--accent_color);
|
||||||
|
background: var(--accent_shade);
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 0.2em;
|
||||||
|
}
|
||||||
|
.rates {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
.rates > div {
|
||||||
|
flex: 0 1 16em;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0.5em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.rate {
|
||||||
|
font-size: 1.5em;
|
||||||
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
header > h1 {
|
header > h1 {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -1,182 +0,0 @@
|
|||||||
<script>
|
|
||||||
import Euro from "util/Euro.svelte";
|
|
||||||
import ProgressBar from "util/ProgressBar.svelte";
|
|
||||||
|
|
||||||
let nova_storage = $state(0)
|
|
||||||
let nova_egress = $state(0)
|
|
||||||
let nova_total = $state(0)
|
|
||||||
let backblaze_storage = $state(0)
|
|
||||||
let backblaze_egress = $state(0)
|
|
||||||
let backblaze_api = $state(0)
|
|
||||||
let backblaze_total = $state(0)
|
|
||||||
let wasabi_storage = $state(0)
|
|
||||||
let wasabi_total = $state(0)
|
|
||||||
let price_max = $state(0)
|
|
||||||
|
|
||||||
let storage = $state(10) // TB
|
|
||||||
let egress = $state(10) // TB
|
|
||||||
let avg_file_size = $state(1000) // kB
|
|
||||||
|
|
||||||
$effect(() => {
|
|
||||||
// Nova has a minimum file size of 10kB. Calculate the number of files from
|
|
||||||
// storage and avg file size, then calculate storage usage based on that.
|
|
||||||
nova_storage = Math.max(storage * 4, ((storage*10)/avg_file_size)*4)
|
|
||||||
nova_egress = egress * 1
|
|
||||||
nova_total = nova_storage + nova_egress
|
|
||||||
|
|
||||||
// Egress at Backblaze is free up to three times the amount of storage, then
|
|
||||||
// it's $10/TB
|
|
||||||
backblaze_storage = storage * 6
|
|
||||||
backblaze_egress = Math.max(egress - (storage * 3), 0) * 10
|
|
||||||
backblaze_api = ((egress * 1e12) / (avg_file_size * 1e3)) * 0.0000004
|
|
||||||
backblaze_total = backblaze_storage + backblaze_egress + backblaze_api
|
|
||||||
|
|
||||||
// Wasabi does not have egress fees
|
|
||||||
wasabi_storage = storage * 6.99
|
|
||||||
wasabi_total = (egress > storage) ? 0 : wasabi_storage
|
|
||||||
|
|
||||||
price_max = Math.max(nova_total, backblaze_total, wasabi_total)
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<h2>Price calculator</h2>
|
|
||||||
<div class="inputs">
|
|
||||||
<div>
|
|
||||||
<div class="usage_label">Storage</div>
|
|
||||||
<div class="usage_input">
|
|
||||||
<input type="number" bind:value={storage}/>
|
|
||||||
<div>TB / month</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div class="usage_label">Egress</div>
|
|
||||||
<div class="usage_input">
|
|
||||||
<input type="number" bind:value={egress}/>
|
|
||||||
<div>TB / month</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div class="usage_label">Average file size</div>
|
|
||||||
<div class="usage_input">
|
|
||||||
<input type="number" bind:value={avg_file_size}/>
|
|
||||||
<div>kB</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="bars">
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
Nova.storage - <Euro amount={nova_total*1e6}/> / month<br/>
|
|
||||||
<Euro amount={nova_storage*1e6}/> storage,
|
|
||||||
<Euro amount={nova_egress*1e6}/> egress
|
|
||||||
<ProgressBar used={nova_total} total={price_max}/>
|
|
||||||
</div>
|
|
||||||
{#if avg_file_size < 10}
|
|
||||||
<div>
|
|
||||||
Nova counts a minimum file size of 10 kB. Files smaller than that
|
|
||||||
are rounded up to 10 kB.
|
|
||||||
</div>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
Backblaze B2 - <Euro symbol="$" amount={backblaze_total*1e6}/> / month<br/>
|
|
||||||
<Euro symbol="$" amount={backblaze_storage*1e6}/> storage,
|
|
||||||
<Euro symbol="$" amount={backblaze_egress*1e6}/> egress,
|
|
||||||
<Euro symbol="$" amount={backblaze_api*1e6}/> API calls
|
|
||||||
<ProgressBar used={backblaze_total} total={price_max}/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
Wasabi - <Euro symbol="$" amount={wasabi_total*1e6}/> / month<br/>
|
|
||||||
<Euro symbol="$" amount={wasabi_storage*1e6}/> storage
|
|
||||||
<ProgressBar used={wasabi_total} total={price_max}/>
|
|
||||||
</div>
|
|
||||||
{#if egress > storage}
|
|
||||||
<div>
|
|
||||||
Wasabi does not allow users to download more than their amount
|
|
||||||
of stored data per month. For this reason Wasabi is excluded
|
|
||||||
from price calculations when egress is higher than storage.
|
|
||||||
</div>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Note that while Nova.storage might not seem to be the cheapest option in some
|
|
||||||
cases, most cloud providers have extra hidden costs for API calls and
|
|
||||||
region-specific prices. This makes it very hard to accurately compare the
|
|
||||||
pricing of these platforms. Nova.storage includes no hidden costs, I only
|
|
||||||
charge for storage and egress.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Large cloud providers like Amazon, Microsoft and Google are excluded from
|
|
||||||
this calculation because their pricing is too complex accurately compare
|
|
||||||
them. Just assume that Nova wil be cheaper.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.inputs {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
justify-content: center;
|
|
||||||
gap: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
@media(max-width: 700px) {
|
|
||||||
.inputs {
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.inputs > div {
|
|
||||||
flex: 1 1 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
border-radius: 6px;
|
|
||||||
overflow: hidden;
|
|
||||||
border: 2px solid var(--card_color);
|
|
||||||
}
|
|
||||||
.usage_label {
|
|
||||||
flex: 1 1 auto;
|
|
||||||
text-align: center;
|
|
||||||
font-size: 1.3em;
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
.usage_input {
|
|
||||||
flex: 1 1 auto;
|
|
||||||
background: var(--card_color);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.usage_input > input {
|
|
||||||
flex: 1 1 auto;
|
|
||||||
background: var(--card_color);
|
|
||||||
}
|
|
||||||
.usage_input > div {
|
|
||||||
flex: 0 0 auto;
|
|
||||||
background: var(--card_color);
|
|
||||||
}
|
|
||||||
.bars {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
gap: 10px;
|
|
||||||
}
|
|
||||||
.bars > div {
|
|
||||||
flex: 1 1 auto;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
border-radius: 6px;
|
|
||||||
overflow: hidden;
|
|
||||||
border: 2px solid var(--card_color);
|
|
||||||
}
|
|
||||||
.bars > div > div {
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
.bars > div > div:first-child {
|
|
||||||
background: var(--card_color);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -0,0 +1,113 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
const slides = [
|
||||||
|
{
|
||||||
|
image: "download_page",
|
||||||
|
title: "Download pages",
|
||||||
|
text: `Share files and directories with a link. Visitors get a fast
|
||||||
|
download page in your own colours, with your header and background.`,
|
||||||
|
}, {
|
||||||
|
image: "access_control",
|
||||||
|
title: "Access control",
|
||||||
|
text: `Decide who can read, write and delete, per link, per user and per
|
||||||
|
password. Passwords double as S3 credentials.`,
|
||||||
|
}, {
|
||||||
|
image: "branding",
|
||||||
|
title: "Branding",
|
||||||
|
text: `Start from one of the theme presets or pick your own colours,
|
||||||
|
header image and background image.`,
|
||||||
|
}, {
|
||||||
|
image: "image_viewer",
|
||||||
|
title: "File previews",
|
||||||
|
text: `Images, videos, audio, PDFs and text files open right in the
|
||||||
|
browser, and archives can be browsed before downloading.`,
|
||||||
|
}, {
|
||||||
|
image: "statistics",
|
||||||
|
title: "Statistics",
|
||||||
|
text: `Follow the downloads and data transfer of every file, from the
|
||||||
|
last day up to five years back.`,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
let slider: HTMLDivElement
|
||||||
|
let current = $state(0)
|
||||||
|
const show = (i: number) => slider.scrollTo({
|
||||||
|
left: ((i + slides.length) % slides.length) * slider.clientWidth,
|
||||||
|
behavior: "smooth",
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div class="page_content showcase">
|
||||||
|
<div
|
||||||
|
class="slider"
|
||||||
|
bind:this={slider}
|
||||||
|
onscroll={() => current = Math.round(slider.scrollLeft / slider.clientWidth)}
|
||||||
|
>
|
||||||
|
{#each slides as slide (slide.image)}
|
||||||
|
<figure>
|
||||||
|
<img
|
||||||
|
src="/res/img/home/{slide.image}.webp"
|
||||||
|
alt={slide.title}
|
||||||
|
width="2000"
|
||||||
|
height="1250"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
|
<figcaption>{slide.text}</figcaption>
|
||||||
|
</figure>
|
||||||
|
{/each}
|
||||||
|
</div>
|
||||||
|
<div class="slider_nav">
|
||||||
|
<button onclick={() => show(current-1)} title="Previous">
|
||||||
|
<i class="icon">chevron_left</i>
|
||||||
|
</button>
|
||||||
|
{#each slides as slide, i (slide.image)}
|
||||||
|
<button class:button_highlight={i === current} onclick={() => show(i)}>
|
||||||
|
{slide.title}
|
||||||
|
</button>
|
||||||
|
{/each}
|
||||||
|
<button onclick={() => show(current+1)} title="Next">
|
||||||
|
<i class="icon">chevron_right</i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/* Lines up with the cards on the home page, which have 4px of padding on each
|
||||||
|
side */
|
||||||
|
.showcase {
|
||||||
|
width: calc(100% - 8px);
|
||||||
|
max-width: 992px;
|
||||||
|
margin: 0 auto 12px auto;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
.slider {
|
||||||
|
display: flex;
|
||||||
|
overflow-x: auto;
|
||||||
|
scroll-snap-type: x mandatory;
|
||||||
|
overscroll-behavior-x: contain;
|
||||||
|
scrollbar-width: none;
|
||||||
|
}
|
||||||
|
.slider::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.slider > figure {
|
||||||
|
flex: 0 0 100%;
|
||||||
|
margin: 0;
|
||||||
|
scroll-snap-align: center;
|
||||||
|
}
|
||||||
|
.slider img {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
border-radius: 6px;
|
||||||
|
border: 1px solid var(--separator);
|
||||||
|
}
|
||||||
|
.slider figcaption {
|
||||||
|
padding: 0.5em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.slider_nav {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -35,4 +35,11 @@ let page = $state("login")
|
|||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
.page_content {
|
||||||
|
margin-top: 0; /* Attach the buttons to the body */
|
||||||
|
width: calc(100% - 8px);
|
||||||
|
max-width: 992px;
|
||||||
|
margin: 0 auto 12px auto;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -281,14 +281,14 @@ const set_offset = (off: number) => {
|
|||||||
</span>
|
</span>
|
||||||
{/snippet}
|
{/snippet}
|
||||||
{#snippet body()}
|
{#snippet body()}
|
||||||
<a class="button" href="/speedtest" use:highlight_current_page>
|
|
||||||
<i class="icon">speed</i>
|
|
||||||
<span>Speedtest</span>
|
|
||||||
</a>
|
|
||||||
<a class="button" href="https://docs.nova.storage" use:highlight_current_page>
|
<a class="button" href="https://docs.nova.storage" use:highlight_current_page>
|
||||||
<i class="icon">text_snippet</i>
|
<i class="icon">text_snippet</i>
|
||||||
<span>Documentation</span>
|
<span>Documentation</span>
|
||||||
</a>
|
</a>
|
||||||
|
<a class="button" href="/speedtest" use:highlight_current_page>
|
||||||
|
<i class="icon">speed</i>
|
||||||
|
<span>Speedtest</span>
|
||||||
|
</a>
|
||||||
{/snippet}
|
{/snippet}
|
||||||
</MenuEntry>
|
</MenuEntry>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user