updatge
This commit is contained in:
@@ -1,19 +1,75 @@
|
||||
import { computed, defineComponent, ref } from "vue";
|
||||
import { defineComponent } from "vue";
|
||||
import useHead from "@/useHead.ts";
|
||||
import DJTooltip from "@/DJTooltip.tsx";
|
||||
import DJEmail from "@/DJEmail.tsx";
|
||||
|
||||
export default defineComponent({
|
||||
name: "app-root",
|
||||
setup() {
|
||||
const count = ref(0);
|
||||
const countDouble = computed(() => count.value * 2);
|
||||
count.value++;
|
||||
useHead({ title: "DJ Ledda's Homepage" });
|
||||
return () => (
|
||||
<div class="app-main">
|
||||
<button class="test" onClick={() => count.value++}>Click me!</button>
|
||||
<div>Count: {count.value}</div>
|
||||
<div>Count Double: {countDouble.value}</div>
|
||||
<p>
|
||||
<a href="/generative-energy/">Go to this other site hosted here but a different Vue app!</a>
|
||||
</p>
|
||||
<div class="supercontainer">
|
||||
<div class="shakeable">
|
||||
<div class="title_name">
|
||||
<DJTooltip tooltip="I wonder what he's listening to?">
|
||||
<img src="/home/img/dj.gif" alt="dj legt krasse Mucke auf" class="dude" />
|
||||
</DJTooltip>
|
||||
<DJTooltip tooltip="Easily the coolest guy out there.">
|
||||
<span>DJ Ledda</span>
|
||||
</DJTooltip>
|
||||
<DJTooltip tooltip="I once heard this guy played at revs.">
|
||||
<img src="/home/img/dj.gif" alt="dj laying down some sick beats" class="dude" />
|
||||
</DJTooltip>
|
||||
</div>
|
||||
<div class="main">
|
||||
<div class="subject">
|
||||
<div class="resourcelist">
|
||||
<a href="https://drum-slayer.com">
|
||||
<DJTooltip class="resource" tooltip="Small app for designing multitrack looped rhythms with local save and multiple files. Originally built using just vanilla TypeScript and CSS, now with Vue.">
|
||||
Drum Slayer
|
||||
</DJTooltip>
|
||||
</a>
|
||||
<a href="/somaesque">
|
||||
<DJTooltip class="resource" tooltip="Puzzle solver app for puzzle cubes resembling the original Soma Cube puzzle. Save and edit your own puzzles! Built with Svelte, THREE.js and AssemblyScript.">
|
||||
Somaesque
|
||||
</DJTooltip>
|
||||
</a>
|
||||
<a href="/generative-energy">
|
||||
<DJTooltip class="resource" tooltip="Thyroid calculator, German translations, and more...">
|
||||
Generative Energy - Ray Peat Resources
|
||||
</DJTooltip>
|
||||
</a>
|
||||
<a href="/home/muenchen-auf-englisch.html">
|
||||
<DJTooltip class="resource" tooltip="
|
||||
Authentic historically accurate translations of all of Munich's S-Bahn and U-Bahn
|
||||
stations, as well as the main municipalities, into English. You live in Allach? It's
|
||||
Axleigh now. Giesing? Nope! Kyesing! This is a WIP.
|
||||
">
|
||||
München auf Englisch - Munich in English
|
||||
</DJTooltip>
|
||||
</a>
|
||||
<a href="/kadi/">
|
||||
<DJTooltip class="resource" tooltip="Make an account and start saving paper and tracking your Yatzy stats with your
|
||||
friends! Make your own rulesets, and more. Built with React, express.js, and
|
||||
MongoDB. Currently inactive.">
|
||||
K A D I: Online Yatzy Scoresheets
|
||||
</DJTooltip>
|
||||
</a>
|
||||
<a href="http://git.djledda.de/Ledda">
|
||||
<DJTooltip class="resource" tooltip="Check out what I'm coding!">
|
||||
My git projects
|
||||
</DJTooltip>
|
||||
</a>
|
||||
<DJEmail>
|
||||
<DJTooltip class="resource" tooltip="You'll see my address when you click here.">
|
||||
Click here to get in touch
|
||||
</DJTooltip>
|
||||
</DJEmail>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="tooltipCarrier"></div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
||||
4
app/home/client.ts
Normal file
4
app/home/client.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { createSSRApp } from "vue";
|
||||
import App from "@/home/App.tsx";
|
||||
|
||||
createSSRApp(App).mount("#app-root");
|
||||
7
app/home/server.ts
Normal file
7
app/home/server.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { createSSRApp } from "vue";
|
||||
import App from "@/home/App.tsx";
|
||||
|
||||
export default function createApp() {
|
||||
const app = createSSRApp(App);
|
||||
return { app, router: null };
|
||||
}
|
||||
Reference in New Issue
Block a user