change images location

This commit is contained in:
2025-10-03 19:14:11 +07:00
parent 61f2b8b9ec
commit 901023f361
6 changed files with 19 additions and 11 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<template v-if="post">
<NuxtLink class="post-card" :to="post.path">
<img :src="baseUrl + '/portal/f/assets/' + post.coverImage" :alt="post?.title + 's cover image'"/>
<img :src="post.coverImage" :alt="post?.title + 's cover image'"/>
<div class="post-card-content">
<h3>{{ post.title }}</h3>
<p :title="post.description">{{ post.description }}</p>
+2 -2
View File
@@ -11,13 +11,13 @@ import WebThemeToggle from './web-theme-toggle.vue';
<p>
<small>
Copyright &copy; Techit Thawiang 2025 (2568). All rights reserved.<br>
PGP/GPG Key: <code style="font-size: 12px;"><a href="/portal/f/Techit Thawiang_0xE649CED321557334_public.asc">4116 33BE 1B4A 19D4 8D77 9ADE E649 CED3 2155 7334</a></code><br>
PGP/GPG Key: <code style="font-size: 12px;"><a href="https://files.thawia.ng/files/Techit Thawiang_0xE649CED321557334_public.asc">4116 33BE 1B4A 19D4 8D77 9ADE E649 CED3 2155 7334</a></code><br>
Powered by <a class="link" href="https://dailitation.xyz">dailitation.xyz</a>, <a class="link" href="https://github.com/TechitWinner/web">Source Code</a>.
</small>
</p>
<p>
<small>
More from me: <a class="link" href="https://unix.in.th">unix.in.th</a>, <NuxtLink class="link" href="/portal">Portal</NuxtLink> and <a class="link" href="https://uptime.dailitation.xyz">Network Status</a>
More from me: <a class="link" href="https://unix.in.th">unix.in.th</a> and <a class="link" href="https://uptime.dailitation.xyz">Network Status</a>
</small>
</p>
<WebThemeToggle/>
+3 -3
View File
@@ -64,9 +64,9 @@ export default defineNuxtConfig({
// TYPEFACES
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Noto+Serif+Thai:wght@100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap'},
{ rel: 'stylesheet', href: process.env.NUXT_PUBLIC_BASE_URL + '/portal/f/fonts/inter/inter.css' },
{ rel: 'stylesheet', href: process.env.NUXT_PUBLIC_BASE_URL + '/portal/f/fonts/cmu-serif/cmu-serif.css' }
{ rel: 'preconnect', href: 'https://fonts.thawiang.com/' },
{ rel: 'stylesheet', href: 'https://fonts.thawiang.com/inter/inter.css' },
{ rel: 'stylesheet', href: 'https://fonts.thawiang.com/sarabun/sarabun.css' }
],
script: [
// { src: '/js/ripple.js', type: 'text/javascript', defer: true },
+1 -1
View File
@@ -9,7 +9,7 @@
<h3 id="docs" class="web-title">All Bookmarks</h3>
<ul>
<li><a class="link" href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso">VirtIO Windows Driver</a></li>
<li><a class="link" href="https://thawia.ng/portal/f/act/Copyright_Act2_TH.pdf">Thailand Copyright Act: พระราชบญญขสทธ .. ๒๕๓๗</a></li>
<li><a class="link" href="https://files.thawia.ng/files/act/Copyright_Act2_TH.pdf">Thailand Copyright Act: พระราชบญญขสทธ .. ๒๕๓๗</a></li>
<li><a class="link" href="https://github.com/Tyrrrz/YoutubeDownloader">YoutubeDownloader: Downloads videos and playlists from YouTube</a></li>
</ul>
</section>
+11 -3
View File
@@ -2,7 +2,7 @@
<main>
<article class="article">
<section class="web-section" aria-labelledby="hero" aria-describedby="what-does-he-do?">
<img width="240" height="240" class="mb-6" src="https://thawia.ng/portal/f/assets/profile/techit/1758801557516.jpeg" alt="Techit Thawiang's avatar.">
<img width="240" height="240" class="mb-6" src="https://files.thawia.ng/files/assets/profile/techit/1758801557516.jpeg" alt="Techit Thawiang's avatar.">
<h1 id="hero" class="font-hero">Techit Thawiang</h1>
<p id="what-does-he-do?" class="font-hero-desc">A 10th grader <span class="text-pink-500">hobbyist developer</span>, <span class="text-green-600">a math lover</span> and a <span class="text-blue-500">self-hoster</span> who's exploring computer science.</p>
</section>
@@ -12,6 +12,14 @@
<p id="about-me-paragraph-1">My name is Techit Thawiang, aka <u>TechitWinner</u>. I'm a 15 years old 10th grader at Ko Pho Tuay Ngam Wittaya School. In my free time, I usually spend my time playing video games or learning more about software engineering.</p>
<p id="about-me-paragraph-2">In the future, I dream of having my own tech company, being a network engineer or a software engineer.</p>
</section>
<!-- <section class="web-section" aria-labelledby="posts" aria-describedby="posts-paragraph-1">
<h2 class="web-title" id="posts">
<NuxtLink href="/posts" title="Navigate to posts page." class="link link-no-underline">Posts<span aria-hidden="true" class="link-inline-icon"></span></NuxtLink>
</h2>
<p id="posts-paragraph-1"></p>
<p id="posts-paragraph-2">Let's go take a look of my posts collection!</p>
<PostsArticleList/>
</section> -->
<section class="web-section" aria-labelledby="projects" aria-describedby="projects-paragraph-1">
<!-- <h2 class="web-title" id="projects"><NuxtLink href="/projects" title="Navigate to projects page." class="link link-no-underline">Projects <span aria-hidden="true" class="inline-icon">→</span></NuxtLink></h2> -->
<h2 class="web-title" id="projects">Projects</h2>
@@ -19,14 +27,14 @@
<p id="projects-paragraph-2">Let's go take a look of my projects collection!</p>
<div class="project-card-container">
<a target="_blank" href="https://github.com/TechitWinner/warehouse" class="project-card">
<img :src="baseUrl + '/portal/f/assets/warehouse.jpg'">
<img src="https://files.thawia.ng/files/assets/warehouse.jpg">
<div class="project-card-content">
<h3>Warehouse</h3>
<p title="I planned it to be my API for personal website and other stuff; written in Rust and Axum.">I planned it to be my API for personal website and other stuff; written in Rust and Axum.</p>
</div>
</a>
<a target="_blank" href="https://github.com/TechitWinner/web" class="project-card">
<img :src="baseUrl + '/portal/f/assets/web.png'">
<img src="https://files.thawia.ng/files/assets/web.png">
<div class="project-card-content">
<h3>Web</h3>
<p title="Nothing much, just this website written in Nuxt (Vue) and some cool CSS.">Nothing much, just this website written in Nuxt (Vue) and some cool CSS.</p>
+1 -1
View File
@@ -8,7 +8,7 @@
<section class="w-full">
<p id="hero-desc" class="font-hero-desc">{{ post?.description }}</p>
</section>
<img :width="512" class="max-w-[55%] aspect-[4/3] w-full object-cover" :src="baseUrl + '/portal/f/assets/' + post?.coverImage" />
<img :width="512" class="max-w-[55%] aspect-[4/3] w-full object-cover" :src="post?.coverImage" />
</div>
</section>
</section>