removed tools, and progress on deprived trackers
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Successful in 23s
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Successful in 23s
This commit is contained in:
parent
3c54f7cdd1
commit
d5a57521b3
3 changed files with 73 additions and 28 deletions
|
@ -87,7 +87,7 @@
|
||||||
<header class="{hideOnPrint ? 'hide-on-print' : ''} bg-base-300">
|
<header class="{hideOnPrint ? 'hide-on-print' : ''} bg-base-300">
|
||||||
<div class="nav-bar pr-4">
|
<div class="nav-bar pr-4">
|
||||||
{#if !isMobile}
|
{#if !isMobile}
|
||||||
<div class="desktop">
|
<div class="desktop items-center">
|
||||||
<a href="/" class="nav-head">
|
<a href="/" class="nav-head">
|
||||||
<DeprivedLogo
|
<DeprivedLogo
|
||||||
Class="fill-base-content p-2"
|
Class="fill-base-content p-2"
|
||||||
|
@ -105,9 +105,9 @@
|
||||||
<a
|
<a
|
||||||
href="/zhen/cv/rev3?hideOnPrint=1"
|
href="/zhen/cv/rev3?hideOnPrint=1"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
style="width: 7.5rem;">Zhen CV</a
|
style="width: 7.5rem;" class="text-center justify-center">Zhen CV</a
|
||||||
>
|
>
|
||||||
<a href="/tools" style="width: 7.5rem;">Tools</a>
|
<!-- <a href="/tools" style="width: 7.5rem;" class="text-center">Tools</a> -->
|
||||||
<a href="https://botalex.itch.io/" target="_blank">Games</a>
|
<a href="https://botalex.itch.io/" target="_blank">Games</a>
|
||||||
<!-- <a href="/posts">Blog</a>
|
<!-- <a href="/posts">Blog</a>
|
||||||
<a href="/about">About</a> -->
|
<a href="/about">About</a> -->
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
href="https://botalex.itch.io/"
|
href="https://botalex.itch.io/"
|
||||||
target="_blank">Games</a
|
target="_blank">Games</a
|
||||||
>
|
>
|
||||||
<a href="/zhen/cv/rev3?hideOnPrint=1" target="_blank">Zhen's CV</a>
|
<a href="/zhen/cv/rev3?hideOnPrint=1" target="_blank" class="justify-center">Zhen's CV</a>
|
||||||
<!-- <a onclick={resetNavBar} href="/posts">Blog</a>
|
<!-- <a onclick={resetNavBar} href="/posts">Blog</a>
|
||||||
<a onclick={resetNavBar} href="/about">About</a> -->
|
<a onclick={resetNavBar} href="/about">About</a> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
import Tags from './comps/Tags.svelte';
|
import Tags from './comps/Tags.svelte';
|
||||||
import NameAndTag from './comps/NameAndTag.svelte';
|
import NameAndTag from './comps/NameAndTag.svelte';
|
||||||
import Profile from './comps/Profile.svelte';
|
import Profile from './comps/Profile.svelte';
|
||||||
|
import DeprivedTrackerSection from './comps/DeprivedTrackerSection.svelte';
|
||||||
|
|
||||||
const mobileThreshold : string = '600px'; // was 1000px. zhen testing
|
const mobileThreshold : string = '600px'; // was 1000px. zhen testing
|
||||||
let mobile : boolean;
|
let mobile : boolean;
|
||||||
|
@ -76,30 +77,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="{debug? "" : "hidden"} cozette flex flex-col justify-center items-center w-full md:px-8 pt-4">
|
<DeprivedTrackerSection/>
|
||||||
<h2 class="text-center" style="font-size: {!mobile ? 3 : 2}rem;">
|
|
||||||
Trackers
|
|
||||||
</h2>
|
|
||||||
<div class="grid grid-cols-2 items-center">
|
|
||||||
<div>
|
|
||||||
<img src="https://placehold.co/400x400" alt="">
|
|
||||||
</div>
|
|
||||||
<div class="flex flex-col">
|
|
||||||
<div>
|
|
||||||
<h2 class="font-semibold text-base-content">Deprived Trackers</h2>
|
|
||||||
<span class="text-base-content">
|
|
||||||
Hopefully the cheapest Smol-type SlimeVR Trackers on the market.
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="py-2"></div>
|
|
||||||
<div class="flex justify-center gap-2">
|
|
||||||
<a href="/" class="btn btn-secondary">Buy</a>
|
|
||||||
<a href="/shop/trackers" class="btn btn-primary">Learn more</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="cozette flex flex-col justify-center items-center w-full md:px-8 pt-4">
|
<div class="cozette flex flex-col justify-center items-center w-full md:px-8 pt-4">
|
||||||
<h2 class="text-center" style="font-size: {!mobile ? 3 : 2}rem;">
|
<h2 class="text-center" style="font-size: {!mobile ? 3 : 2}rem;">
|
||||||
|
|
67
src/routes/comps/DeprivedTrackerSection.svelte
Normal file
67
src/routes/comps/DeprivedTrackerSection.svelte
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
<script>
|
||||||
|
import { onMount } from "svelte";
|
||||||
|
|
||||||
|
let debug = false;
|
||||||
|
|
||||||
|
onMount(()=> {
|
||||||
|
let tabTittleElement = window.document.getElementById("TabTittle");
|
||||||
|
if (tabTittleElement) // Not null
|
||||||
|
tabTittleElement.innerHTML = "Deprived devs";
|
||||||
|
|
||||||
|
const params = new URLSearchParams(window.location.search);
|
||||||
|
debug = params.has('debug');
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- Desktop -->
|
||||||
|
<div class="{debug? "" : "hidden"} max-md:hidden cozette flex flex-col justify-center items-center w-full md:px-8 pt-4">
|
||||||
|
<h2 class="text-center text-3xl" >
|
||||||
|
Trackers desktop
|
||||||
|
</h2>
|
||||||
|
<div class="grid grid-cols-2 items-center">
|
||||||
|
<div>
|
||||||
|
<img src="https://placehold.co/400x400" alt="">
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<div>
|
||||||
|
<h2 class="font-semibold text-base-content">Deprived Trackers</h2>
|
||||||
|
<span class="text-base-content">
|
||||||
|
Hopefully the cheapest Smol-type SlimeVR Trackers on the market.
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="py-2"></div>
|
||||||
|
<div class="flex justify-center gap-2">
|
||||||
|
<a href="/" class="btn btn-secondary">Buy</a>
|
||||||
|
<a href="/shop/trackers" class="btn btn-primary">Learn more</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Mobile -->
|
||||||
|
<div class="{debug? "" : "hidden"} md:hidden cozette flex flex-col justify-center items-center w-full md:px-8 pt-4">
|
||||||
|
<h2 class="text-center text-3xl" >
|
||||||
|
Trackers mobile
|
||||||
|
</h2>
|
||||||
|
<div class="grid grid-cols-2 items-center">
|
||||||
|
<div>
|
||||||
|
<img src="https://placehold.co/400x400" alt="">
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<div>
|
||||||
|
<h2 class="font-semibold text-base-content">Deprived Trackers</h2>
|
||||||
|
<span class="text-base-content">
|
||||||
|
Hopefully the cheapest Smol-type SlimeVR Trackers on the market.
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="py-2"></div>
|
||||||
|
<div class="flex justify-center gap-2">
|
||||||
|
<a href="/" class="btn btn-secondary">Buy</a>
|
||||||
|
<a href="/shop/trackers" class="btn btn-primary">Learn more</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Add table
Add a link
Reference in a new issue