Compare commits

...

4 Commits

Author SHA1 Message Date
techit a38bac26be add new services cover image 2025-09-30 13:07:45 +07:00
techit ac7039fcc5 change services cover image 2025-09-30 13:06:39 +07:00
techit 5156f5e4cf add บริการ dropdown for small screen 2025-09-30 13:06:25 +07:00
techit 707c4130e9 fix stretched image 2025-09-30 13:06:00 +07:00
5 changed files with 23 additions and 7 deletions
+3 -3
View File
@@ -128,15 +128,15 @@ body {
@apply my-16 md:my-0; @apply my-16 md:my-0;
} }
.page-section.page-section-alt > .container { .page-section.page-section-alt > .container {
@apply my-0 flex flex-col md:flex-row justify-between items-center; @apply my-0 flex flex-col md:flex-row items-center;
} }
.page-section.page-section-alt > .container > .section { .page-section.page-section-alt > .container > .section {
@apply md:mb-4; @apply md:mb-4;
} }
.page-section.page-section-alt > .container > .section-img { .page-section.page-section-alt > .container > .section-img {
@apply w-full md:w-[45%]; @apply w-full md:w-[45%] md:mr-12;
img { img {
@apply md:my-16; @apply md:my-16 object-cover rounded-xl;
} }
} }
.footer { .footer {
+17 -1
View File
@@ -29,6 +29,22 @@
</UFieldGroup> </UFieldGroup>
</div> </div>
</div> </div>
<div class="flex sm:hidden w-fit items-center">
<UDropdownMenu
size="sm"
:items="siteTitleItems"
:content="{
align: 'end',
side: 'bottom',
sideOffset: 8
}"
:ui="{
content: 'w-36'
}"
>
<UButton size="sm" label="บริการ" icon="i-lucide-map" color="neutral" variant="outline" />
</UDropdownMenu>
</div>
</div> </div>
</div> </div>
<nav class="site-navbar"> <nav class="site-navbar">
@@ -47,7 +63,7 @@
</ul> </ul>
</div> </div>
<div class="flex sm:hidden w-fit float-right"> <div class="flex sm:hidden w-fit float-right">
<UButton @click="toggleMobileNavbar" size="sm" variant="subtle" color="neutral" icon="i-lucide-menu"/> <UButton @click="toggleMobileNavbar" size="sm" variant="subtle" color="neutral" :icon="mobileNavbar ? 'i-lucide-x' : 'i-lucide-menu'"/>
</div> </div>
</div> </div>
</nav> </nav>
+3 -3
View File
@@ -11,7 +11,7 @@
<section class="page-section page-section-alt"> <section class="page-section page-section-alt">
<div class="container"> <div class="container">
<section class="section-img"> <section class="section-img">
<img class="aspect-[4/3]" src="/wiki-mac.png"></img> <img class="aspect-[4/3]" src="/wiki-cover.jpg"></img>
</section> </section>
<section class="section"> <section class="section">
<h2 id="wiki" class="title">สารคอมพวเตอรเสร ()</h2> <h2 id="wiki" class="title">สารคอมพวเตอรเสร ()</h2>
@@ -23,12 +23,12 @@
<section class="page-section page-section-alt"> <section class="page-section page-section-alt">
<div class="container"> <div class="container">
<section class="section-img"> <section class="section-img">
<img class="aspect-[4/3]" src="/forum-mac.png"></img> <img class="aspect-[4/3]" src="/forum-cover.jpg"></img>
</section> </section>
<section class="section"> <section class="section">
<h2 class="title">ลานประชาคม</h2> <h2 class="title">ลานประชาคม</h2>
<p>นทสอบถาม อภปราย และคยเล เกยวกบซอฟตแวรและฮารดแวร UNIX และ Unix-like</p> <p>นทสอบถาม อภปราย และคยเล เกยวกบซอฟตแวรและฮารดแวร UNIX และ Unix-like</p>
<UButton to="https://forum.unix.in.th" disabled variant="subtle" label="ไปที่ลานประชาคม"/> <UButton to="https://forum.unix.in.th" label="ไปที่ลานประชาคม"/>
</section> </section>
</div> </div>
</section> </section>
Binary file not shown.

After

Width:  |  Height:  |  Size: 473 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 KiB