v0.11.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wanderer",
|
||||
"version": "0.10.1",
|
||||
"version": "0.11.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
|
||||
@@ -95,5 +95,5 @@
|
||||
d="M43.857 43.3045C44.0569 43.0652 44.4246 43.0652 44.6245 43.3045L46.6259 45.7008C46.8978 46.0263 46.6663 46.5213 46.2421 46.5213H42.2394C41.8152 46.5213 41.5837 46.0263 41.8556 45.7008L43.857 43.3045Z"
|
||||
fill="#242734"
|
||||
/>
|
||||
<text x="170" y="64" fill="white" font-size="0.75rem">v0.10.1</text>
|
||||
<text x="170" y="64" fill="white" font-size="0.75rem">v0.11.0</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
@@ -42,10 +42,10 @@ Command: npx @threlte/gltf@2.0.1 static/models/mountain.glb
|
||||
});
|
||||
$: cabinLightIntensity.set($theme == "dark" ? 4 : 0);
|
||||
|
||||
const sunLightIntensity = tweened($theme == "light" ? 4 : 0, {
|
||||
const sunLightIntensity = tweened($theme == "light" ? 5 : 0, {
|
||||
duration: 500,
|
||||
});
|
||||
$: sunLightIntensity.set($theme == "light" ? 4 : 0);
|
||||
$: sunLightIntensity.set($theme == "light" ? 5 : 0);
|
||||
|
||||
const moonLightIntensity = tweened($theme == "dark" ? 0.8 : 0, {
|
||||
duration: 500,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<script lang="ts">
|
||||
import { browser } from "$app/environment";
|
||||
import { beforeNavigate, goto } from "$app/navigation";
|
||||
import { page } from "$app/stores";
|
||||
import { env } from "$env/dynamic/public";
|
||||
@@ -9,11 +8,11 @@
|
||||
import { currentUser } from "$lib/stores/user_store";
|
||||
import { isRouteProtected } from "$lib/util/authorization_util";
|
||||
import "@fortawesome/fontawesome-free/css/all.min.css";
|
||||
import { onMount } from "svelte";
|
||||
import { slide } from "svelte/transition";
|
||||
import "../css/app.css";
|
||||
import "../css/components.css";
|
||||
import "../css/theme.css";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
beforeNavigate((n) => {
|
||||
if (!$currentUser && isRouteProtected(n.to?.url?.pathname ?? "")) {
|
||||
|
||||
Reference in New Issue
Block a user