mirror of
https://github.com/muerwre/muerwre.github.io.git
synced 2025-04-25 02:46:39 +07:00
displaying contact links as grid
This commit is contained in:
parent
623fa7b7fd
commit
f47db1fd50
3 changed files with 16 additions and 3 deletions
|
@ -30,7 +30,7 @@ onMounted(() => (mail.value = atob(contacts.email)));
|
||||||
.grid {
|
.grid {
|
||||||
width: auto;
|
width: auto;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-auto-flow: row;
|
grid-template-columns: repeat(auto-fit, minmax(230px, auto));
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|
|
@ -2,4 +2,5 @@ export const contacts = {
|
||||||
telegram: "vv4000",
|
telegram: "vv4000",
|
||||||
email: "Z290aGFtNDhAZ21haWwuY29t",
|
email: "Z290aGFtNDhAZ21haWwuY29t",
|
||||||
github: "muerwre",
|
github: "muerwre",
|
||||||
|
location: "Pavlodar, Rep. Kazakhstan",
|
||||||
} as const;
|
} as const;
|
||||||
|
|
|
@ -2,7 +2,10 @@
|
||||||
<article :class="$style.content">
|
<article :class="$style.content">
|
||||||
<div :class="$style.grid">
|
<div :class="$style.grid">
|
||||||
<div :class="$style.text">
|
<div :class="$style.text">
|
||||||
<h1>Write me a letter!</h1>
|
<h1 :class="$style.title">Write me a letter!</h1>
|
||||||
|
<div :class="$style.location">
|
||||||
|
<b>Current Location:</b> {{ contacts.location }}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div :class="$style.contacts">
|
<div :class="$style.contacts">
|
||||||
<ContactInformation />
|
<ContactInformation />
|
||||||
|
@ -17,7 +20,12 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { contacts } from "~~/constants/contacts";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
data() {
|
||||||
|
return { contacts };
|
||||||
|
},
|
||||||
scrollToTop: true,
|
scrollToTop: true,
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
|
@ -48,6 +56,10 @@ definePageMeta({ layout: "landing" });
|
||||||
}
|
}
|
||||||
|
|
||||||
.contacts {
|
.contacts {
|
||||||
margin-top: 40px;
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue