website/pages/index.vue

105 lines
2.5 KiB
Vue
Raw Normal View History

2023-04-16 20:12:24 +03:00
<template>
<div>
<Navbar />
<Header>
2023-06-18 18:09:03 +03:00
<label class="glitch">echo</label> hello world!
2023-04-16 20:12:24 +03:00
</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>
2023-04-16 20:12:24 +03:00
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
2023-04-16 20:12:24 +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>
2023-06-11 00:22:06 +03:00
<a href="https://mastodon.social/@ngn"><i class='bx bxl-mastodon'></i> Mastodon</a>
<br>
2023-05-28 00:17:31 +03:00
<a href="mailto:ngn13proton@proton.me"><i class='bx bxs-envelope'></i> Mail</a>
2023-04-16 20:12:24 +03:00
<br>
2023-06-11 00:22:06 +03:00
<h2>or private message me on matrix:</h2>
<a><i>[matrix]</i> @ngn:matrix.ngn13.fun</a>
2023-04-16 20:12:24 +03:00
</Card>
</div>
<Logout v-if="logged"/>
<div class="version">
2023-06-11 00:22:06 +03:00
<p>v2.3</p>
</div>
2023-04-16 20:12:24 +03:00
</div>
</template>
<script>
import Navbar from "../components/Navbar.vue";
import Header from "../components/Header.vue";
import Card from "../components/Card.vue"
import Logout from "../components/Logout.vue";
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
}
}
</script>
<style scoped>
.info {
padding: 50px;
gap: 30px;
display: flex;
}
.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-05-28 00:17:31 +03:00
</style>