no longer use i18n for messages
This commit is contained in:
+18
-9
@@ -3,27 +3,36 @@
|
||||
<article class="article">
|
||||
<section class="hero-section">
|
||||
<div class="container">
|
||||
<h1 :id="t('about.hero.title').replace(/ /g, '_')" class="title">{{ t('about.hero.title') }}</h1>
|
||||
<!-- <p :id="t('about.hero.sub').replace(/ /g, '_')" class="subtitle">{{ t('about.hero.sub') }}</p> -->
|
||||
<h1 id="about" class="title">เกี่ยวกับเรา</h1>
|
||||
</div>
|
||||
</section>
|
||||
<section class="container">
|
||||
|
||||
<section class="page-section">
|
||||
<div class="container">
|
||||
<p>
|
||||
*nix in Thailand (unix.in.th) เป็นเว็บไซต์แม่ข่ายสำหรับทรัพยากรสาระข้อมูล คู่มือ เอกสาร ของฮาร์ดแวร์และซอฟต์แวร์คอมพิวเตอร์ที่ทุกคนสามารถใช้ แก้ไข และเผยแพร่ต่อได้อย่างเสรี
|
||||
</p>
|
||||
<p>
|
||||
เว็บไซต์นี้มีบริการวิกิ (Wiki) ที่เป็นเอกสาร ข้อมูล และวิธีทำสำหรับซอฟต์แวร์และฮาร์ดแวร์ ที่ทุกคนเข้าถึงได้ โดยที่หัวข้อเน้นระบบ UNIX และ Unix-like เป็นหลัก แต่ก็สามารถกล่าวถึงระบบอื่น ๆ ได้เช่นกันเป็นเบ็ดเตล็ด
|
||||
</p>
|
||||
<p>
|
||||
นอกจากนี้ยังมีลานประชาคม (Forum) สำหรับผู้ใช้ที่อาจซักถามอภิปราย หรือคุยเล่น เกี่ยวกับซอฟต์แวร์ และฮาร์ดแวร์ ระบบ UNIX, Unix-like และอื่น ๆ
|
||||
</p>
|
||||
<p>
|
||||
และระบบบัญชีส่วนกลาง (Identity provider) เป็นระบบเสาหลักในการลงชื่อใช้งานระบบทั้งหมดของ *nix in Thailand ทำงานโดยใช้ OpenID Connect (OAuth2)
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const {t} = useI18n();
|
||||
const config = useRuntimeConfig();
|
||||
const baseUrl = config.public.baseUrl
|
||||
|
||||
useHead({
|
||||
title: '*nix in Thailand',
|
||||
titleTemplate: '%s',
|
||||
title: 'เกี่ยวกับ',
|
||||
meta: [
|
||||
{ property: 'og:type', content: 'website' }
|
||||
{ property: 'og:type', content: 'article' }
|
||||
]
|
||||
})
|
||||
</script>
|
||||
+10
-8
@@ -3,12 +3,15 @@
|
||||
<article class="article">
|
||||
<section class="hero-section">
|
||||
<div class="container">
|
||||
<img></img>
|
||||
<h2 class="text-3xl ">contact page</h2>
|
||||
<h1 class="title">ติดต่อเรา</h1>
|
||||
</div>
|
||||
</section>
|
||||
<section class="container">
|
||||
|
||||
<section class="page-section">
|
||||
<div class="container">
|
||||
<p>
|
||||
มีวิธีเดียวที่จะติดต่อเราได้คือไปรษณีย์อิเล็กทรอนิกส์ postmaster[at]unix.in.th
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
</main>
|
||||
@@ -16,13 +19,12 @@
|
||||
|
||||
<script setup>
|
||||
const config = useRuntimeConfig();
|
||||
const baseUrl = config.public.baseUrl
|
||||
|
||||
useHead({
|
||||
title: '*nix in Thailand',
|
||||
titleTemplate: '%s',
|
||||
title: 'ติดต่อ',
|
||||
meta: [
|
||||
{ property: 'og:type', content: 'website' }
|
||||
{ name: 'description', content: 'ติดต่อเรา' },
|
||||
{ property: 'og:type', content: 'article' }
|
||||
]
|
||||
})
|
||||
</script>
|
||||
+15
-15
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user