Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

Fix vert BG jumping & comment out privacy policy

JovannMC0cc939f1388c
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 6b134bc..81a6f2e 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -2,10 +2,12 @@
import { beforeNavigate, goto } from "$app/navigation";
import { PUB_HOSTNAME, PUB_PLAUSIBLE_URL } from "$env/static/public";
import { duration } from "$lib/animation";
+ import VertVBig from "$lib/assets/vert-bg.svg?component";
import featuredImage from "$lib/assets/VERT_Feature.webp";
import Navbar from "$lib/components/functional/Navbar.svelte";
import Footer from "$lib/components/visual/Footer.svelte";
import Logo from "$lib/components/visual/svg/Logo.svelte";
+
import {
files,
gradientColor,
@@ -181,7 +183,7 @@
<Footer
class="w-full h-full"
items={{
- "Privacy policy": "#",
+ //"Privacy policy": "#",
"Source code": "https://github.com/not-nullptr/VERT",
"Discord server": "https://discord.gg/kqevGxYPak",
}}
@@ -202,6 +204,11 @@
<!-- Gradients placed here to prevent it overlapping in transitions -->
{#if $showGradient}
{#if data.pathname === "/"}
+ <div
+ class="fixed -z-30 top-0 left-0 w-screen h-screen flex items-center justify-center overflow-hidden"
+ >
+ <VertVBig class="fill-[--fg] opacity-50" />
+ </div>
<div
id="gradient-bg"
class="fixed top-0 left-0 w-screen h-screen -z-40 pointer-events-none"
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 914e83e..089af4b 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -6,16 +6,9 @@
// ship fast n break things !!
// -- nullptr
- import VertVBig from "$lib/assets/vert-bg.svg?component";
import Uploader from "$lib/components/functional/Uploader.svelte";
</script>
-<div
- class="absolute -z-30 top-0 left-0 w-screen h-screen flex items-center justify-center overflow-hidden"
->
- <VertVBig class="fill-[--fg] opacity-50" />
-</div>
-
<div
class="w-screen px-8 h-full flex items-start justify-center overflow-hidden max-h-screen"
>
@@ -54,38 +47,38 @@
}
}
- @media screen and (min-width: 768px) and (min-height: 576px) {
- .content {
- padding-top: 15vh;
- padding-bottom: 15vh;
- }
- }
+ @media screen and (min-width: 768px) and (min-height: 576px) {
+ .content {
+ padding-top: 15vh;
+ padding-bottom: 15vh;
+ }
+ }
- @media screen and (min-width: 768px) and (min-height: 720px) {
- .content {
- padding-top: 20vh;
- padding-bottom: 20vh;
- }
- }
+ @media screen and (min-width: 768px) and (min-height: 720px) {
+ .content {
+ padding-top: 20vh;
+ padding-bottom: 20vh;
+ }
+ }
- @media screen and (min-width: 768px) and (min-height: 1080px) {
- .content {
- padding-top: 25vh;
- padding-bottom: 25vh;
- }
- }
+ @media screen and (min-width: 768px) and (min-height: 1080px) {
+ .content {
+ padding-top: 25vh;
+ padding-bottom: 25vh;
+ }
+ }
- @media screen and (min-width: 768px) and (min-height: 1440px) {
- .content {
- padding-top: 30vh;
- padding-bottom: 30vh;
- }
- }
+ @media screen and (min-width: 768px) and (min-height: 1440px) {
+ .content {
+ padding-top: 30vh;
+ padding-bottom: 30vh;
+ }
+ }
- @media screen and (min-width: 768px) and (min-height: 2160px) {
- .content {
- padding-top: 35vh;
- padding-bottom: 35vh;
- }
- }
+ @media screen and (min-width: 768px) and (min-height: 2160px) {
+ .content {
+ padding-top: 35vh;
+ padding-bottom: 35vh;
+ }
+ }
</style>