2024-12-21 19:11:09 -08:00
|
|
|
<script setup>
|
|
|
|
import { ref } from 'vue';
|
|
|
|
import markdownit from 'markdown-it'
|
|
|
|
import PostCard from '../components/PostCard.vue';
|
2024-12-22 12:22:47 -08:00
|
|
|
import configured_markdown from '~/assets/markdown_conf';
|
|
|
|
import Markdown from '~/components/Markdown.vue';
|
2024-12-21 19:11:09 -08:00
|
|
|
|
2024-12-22 12:22:47 -08:00
|
|
|
const aboutMe = ref("");
|
2024-12-21 19:11:09 -08:00
|
|
|
|
2024-12-22 12:22:47 -08:00
|
|
|
fetch("/about_me.md")
|
|
|
|
.then((res) => res.text())
|
|
|
|
.then((data) => {
|
|
|
|
console.log(data);
|
|
|
|
aboutMe.value = data;
|
|
|
|
});
|
2024-12-21 19:11:09 -08:00
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2024-12-22 13:21:05 -08:00
|
|
|
<div class="relative flex w-full justify-center text-white">
|
2024-12-22 12:22:47 -08:00
|
|
|
<div class="mt-8 flex-col text-center">
|
|
|
|
<div class="flex justify-center">
|
|
|
|
<div class="p-2 shadow-md rounded-full bg-pink-500">
|
2024-12-22 13:21:05 -08:00
|
|
|
<img class="transition-all w-40 h-40 md:w-56 md:h-56 rounded-full"
|
2024-12-22 12:22:47 -08:00
|
|
|
src="https://avatars.githubusercontent.com/u/94077364?v=4" alt="User PFP" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-12-22 13:21:05 -08:00
|
|
|
<div class="max-w-4xl mt-4 p-6 max-md:w-screen rounded-md container bg-opacity-90 bg-purple-950">
|
2024-12-22 12:22:47 -08:00
|
|
|
<Markdown :text="aboutMe"></Markdown>
|
2024-12-21 19:11:09 -08:00
|
|
|
</div>
|
2024-12-22 12:22:47 -08:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-12-21 19:11:09 -08:00
|
|
|
</template>
|