website/pages/index.vue

110 lines
2.2 KiB
Vue
Raw Normal View History

2023-04-16 20:12:24 +03:00
<template>
<div>
<Navbar />
<Header> <label class="glitch">echo</label> hello world! </Header>
<div class="info">
<Card>
<h1>👋 Welcome to my website!</h1>
<h2>
I am a high school student who is interested in
<br />
cyber security
<br />
coding
<br />
electronics
<br />
gaming
<br />
simply: everything about computers!
</h2>
</Card>
<Card>
<h1>👉 Contact me</h1>
<h2>You can contact me on the following platforms:</h2>
2023-06-11 00:22:06 +03:00
<a href="https://discord.com/users/568131907368386565"
><i class="bx bxl-discord-alt"></i> Discord</a
>
<br />
<a href="https://github.com/ngn13"
><i class="bx bxl-github"></i> Github</a
>
<br />
<a href="https://mastodon.social/@ngn"
><i class="bx bxl-mastodon"></i> Mastodon</a
>
<br />
<a href="mailto:ngn13proton@proton.me"
><i class="bx bxs-envelope"></i> Mail</a
>
<br />
<h2>or private message me on matrix:</h2>
<a><i>[matrix]</i> @ngn:matrix.ngn13.fun</a>
</Card>
2023-04-16 20:12:24 +03:00
</div>
<Logout v-if="logged" />
<div class="version">
<p>v2.5</p>
</div>
</div>
2023-04-16 20:12:24 +03:00
</template>
<script>
import Navbar from "../components/Navbar.vue"
import Header from "../components/Header.vue"
2023-04-16 20:12:24 +03:00
import Card from "../components/Card.vue"
import Logout from "../components/Logout.vue"
2023-04-16 20:12:24 +03:00
export default {
head() {
return {
title: "[ngn]",
meta: [
{
hid: "description",
name: "description",
content: "homepage of my website"
2023-04-16 20:12:24 +03:00
}
]
}
},
data() {
return {
logged: false
}
},
mounted() {
if (localStorage.getItem("token")) this.logged = true
}
2023-04-16 20:12:24 +03:00
}
</script>
<style scoped>
.info {
padding: 50px;
gap: 30px;
display: flex;
2023-04-16 20:12:24 +03:00
}
.version {
color: var(--dark-fife);
position: fixed;
bottom: 10px;
right: 10px;
font-size: 15px;
}
2023-04-16 20:12:24 +03:00
i {
font-style: normal;
}
2023-04-16 20:12:24 +03:00
@media only screen and (max-width: 1076px) {
.info {
flex-direction: column;
}
.info div {
width: auto;
}
2023-04-16 20:12:24 +03:00
}
2023-05-28 00:17:31 +03:00
</style>