🔥 Deletes terminal

This commit is contained in:
2025-06-30 16:03:51 +02:00
parent 4c2f096a18
commit 0334d18e23
4 changed files with 9 additions and 96 deletions

View File

@@ -1,17 +1,13 @@
// @ts-check
import { defineConfig } from 'astro/config';
import {defineConfig} from 'astro/config';
import tailwindcss from '@tailwindcss/vite';
import vue from '@astrojs/vue';
// https://astro.build/config
export default defineConfig({
site: "https://svitan.dev",
vite: {
plugins: [tailwindcss()]
},
integrations: [vue()]
site: "https://svitan.dev",
vite: {
plugins: [tailwindcss()]
},
integrations: [vue()]
});

View File

@@ -1,74 +0,0 @@
<template>
<p v-html="text" class="p-4"/>
</template>
<style>
p {
color: #ffffff;
line-height: normal;
font-size: 1.15rem;
}
.s-white {
color: #ffffff;
}
.s-green {
color: #2ec27e;
}
.s-blue {
color: #1e78e4;
}
</style>
<script lang="ts" setup>
import {onMounted, ref} from "vue";
const text = ref("")
const prompt = `<span class="s-white">╭─</span><span class="s-green font-bold">guest@svitan.dev</span> <span class="s-blue">~</span>
<span class="s-white">╰─$</span>`
const target = `${prompt} ./portfolio
____ _ _ ____ _ _ \\\\//
| _ \\ __ _ _ __ (_) ___| | / ___|_ _(_) |_ __ _ _\\/_
| | | |/ _\` | '_ \\| |/ _ \\ | \\___ \\ \\ / / | __/ _\` | '_ \\
| |_| | (_| | | | | | __/ | ___) \\ V /| | || (_| | | | |
|____/ \\__,_|_| |_|_|\\___|_| |____/ \\_/ |_|\\__\\__,_|_| |_|
<h1 class="text-xl">Hi, I'm <span class="font-bold">Daniel Svitaň</span>, {a} {years} year-old aspiring engineer</h1>
<p>Residence: Bratislava, Slovakia</p><p>Contacts:
<a href="mailto:selfsigned-ash@proton.me" target="_blank" class="underline">selfsigned-ash@proton.me</a>
<a href="tel:+421948309804" target="_blank" class="underline">+421 948 309 804</a>
<span>@selfsigned-ash:svitan.dev (Matrix)</span>
</p><p>Socials:
<a href="https://github.com/Streamer272" target="_blank" class="underline">GitHub</a>
<a href="https://gitea.svitan.dev/Streamer272" target="_blank" class="underline">Gitea</a>
<span>Signal</span>
<a href="https://mastodon.social/@selfsigned_ash" rel="me" target="_blank" class="underline">Mastodon</a>
</p>
`
onMounted(() => {
let i = 0;
const id = setInterval(() => {
if (i === target.length) {
clearInterval(id);
return;
}
let next = "";
if (target[i] === "<") {
do {
next += target[i++]
} while(target[i] !== ">");
}
next += target[i]
.replace("\n", "<br>")
.replace(" ", "&nbsp;");
text.value += next;
i++;
}, 5)
})
</script>

View File

@@ -68,7 +68,8 @@ let a = years === 18 ? "an " : "a ";
<a href="https://github.com/Streamer272" target="_blank" class="underline">GitHub</a><br/>
<a href="https://gitea.svitan.dev/Streamer272" target="_blank" class="underline">Gitea</a><br/>
<span>Signal</span><br/>
<a href="https://mastodon.social/@selfsigned_ash" rel="me" target="_blank" class="underline">Mastodon</a>
<a href="https://mastodon.social/@selfsigned_ash" rel="me" target="_blank"
class="underline">Mastodon</a>
</p>
<div class="h-6"/>

View File

@@ -1,10 +0,0 @@
---
import Layout from "../layouts/Layout.astro"
import Terminal from "../components/Terminal.vue"
---
<Layout>
<div class="w-screen h-full flex items-start justify-start flex-col overflow-x-scroll bg-[#1c1c1f]">
<Terminal client:only />
</div>
</Layout>