no longer use i18n for messages

This commit is contained in:
2025-09-22 17:36:41 +07:00
parent 2cf92499dc
commit babfa1cf56
5 changed files with 81 additions and 47 deletions
+15 -15
View File
@@ -4,16 +4,16 @@
<section class="hero-section">
<div class="container">
<img class="brace" width="100" src="/brace-smile.svg"></img>
<h1 :id="t('home.hero.title').replace(/ /g, '_')" class="title">{{ t('home.hero.title') }}</h1>
<p :id="t('home.hero.sub').replace(/ /g, '_')" class="subtitle">{{ t('home.hero.sub') }}</p>
<h1 id="home-hero-title" class="title">สวสด<br/>นดอนรบส *nix in Thailand สาระคอมพวเตอรกคนสามารถเขาถงได</h1>
<p id="home-hero-sub" class="subtitle">นทสำหรบการซกถาม ยเล และเอกสารสาระคอมพวเตอราง โดยทเนนระบบ UNIX และ Unix-like ไมาจะเป GNU, Linux, macOS, Android, ฯลฯ</p>
</div>
</section>
<!-- <section class="page-section page-section-alt">
<section class="page-section page-section-alt">
<div class="container">
<section class="section">
<h2 class="title">{{ t('home.wiki.title') }}</h2>
<p>{{ t('home.wiki.paragraph') }}</p>
<UButton to="https://wiki.unix.in.th" :label="t('home.wiki.go')"/>
<h2 id="wiki" class="title">สารคอมพวเตอรเสร ()</h2>
<p id="wiki-desc">นยรวมความรซอฟตแวรและฮารดแวรคอมพวเตอร กคนสามารถสามารถแกไขได</p>
<UButton to="https://wiki.unix.in.th" label="ไปที่วิกิ"/>
</section>
<section class="section-img">
<img class="aspect-[4/3]" src="/wiki-mac.png"></img>
@@ -22,17 +22,17 @@
</section>
<section class="page-section page-section-alt">
<div class="container">
<section class="section">
<h2 class="title">{{ t('home.forum.title') }}</h2>
<p>{{ t('home.forum.paragraph') }}</p>
<UButton to="https://forum.unix.in.th" :label="t('home.forum.go')"/>
</section>
<section class="section-img">
<img class="aspect-[4/3]" src="/wiki-mac.png"></img>
<img class="aspect-[4/3]" src="/forum-mac.png"></img>
</section>
<section class="section">
<h2 class="title">ลานประชาคม</h2>
<p>นทสอบถาม อภปราย และคยเล เกยวกบซอฟตแวรและฮารดแวร UNIX และ Unix-like</p>
<UButton to="https://forum.unix.in.th" disabled variant="subtle" label="ไปที่ลานประชาคม"/>
</section>
</div>
</section> -->
<section class="page-section" :aria-labelledby="t('home.wiki.title').replace(/ /g, '_')" :aria-describedby="t('home.wiki.paragraph').replace(/ /g, '_')">
</section>
<!-- <section class="page-section" :aria-labelledby="t('home.wiki.title').replace(/ /g, '_')" :aria-describedby="t('home.wiki.paragraph').replace(/ /g, '_')">
<div class="container">
<section class="section">
<h2 :id="t('home.wiki.title').replace(/ /g, '_')" class="title">{{ t('home.wiki.title') }}</h2>
@@ -49,7 +49,7 @@
<UButton to="https://forum.unix.in.th" :label="t('home.forum.go')"/>
</section>
</div>
</section>
</section> -->
</article>
</main>
</template>