Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
chore: merge
Browse files Browse the repository at this point in the history
  • Loading branch information
betich committed Aug 3, 2023
2 parents 8174b07 + 985def7 commit 96f6ede
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
9 changes: 9 additions & 0 deletions public/images/EstampBackground.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/EstampBorder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { transformBaanDTOtoIBaan } from '@/utils/baan';
import { useRouter } from 'next/router';
import { useAuth } from '@/context/AuthContext';
import { useToast } from '@/components/Toast';
import Button from '@/components/Button';

function useAllBaans() {
const [allBaans, setAllBaans] = useState<IBaan[]>([]);
Expand Down Expand Up @@ -165,10 +164,8 @@ const BaanChoosing = () => {
)}
</div>

{/* แก้ button */}
<Button
additionalStyle="rounded-lg bg-pink-400 mt-6 ring-4 ring-pink-400/30 text-xl disabled:bg-pink-300 disabled:ring-4"
content={<>บันทึกการเลือก </>}
<button
className="mx-auto mt-6 rounded-lg bg-pink-400 px-3 py-2 text-xl text-white ring-4 ring-pink-400/30 transition-all duration-500 enabled:hover:ring-8 disabled:cursor-not-allowed disabled:bg-pink-300"
onClick={async () => {
const { status } = await httpPut('/group/select', {
baans: selectedBaan.map((e) => e.id),
Expand All @@ -179,7 +176,9 @@ const BaanChoosing = () => {
}
}}
disabled={selectedBaan.some((b) => b.id === '')}
/>
>
บันทึกการเลือก
</button>
</div>
<div className="flex min-h-full w-full flex-col border bg-black/50 p-8 backdrop-blur-sm max-xl:rounded-b-3xl xl:w-3/5 xl:rounded-r-3xl">
<div className="flex items-center gap-2">
Expand Down
5 changes: 5 additions & 0 deletions src/pages/faq.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ const Questions = [
paragraph:
'สามารถแก้ไขข้อมูลได้ตั้งแต่วันที่ 17 กรกฎาคม 2566 จนถึง 22 กรกฎาคม 2566',
},
{
header: 'มีโอกาสที่จะไม่ได้บ้านที่เลือกไว้ไหม ?',
paragraph:
'มีโอกาส แต่ทางเราจะพยายามสุ่มบ้านด้วยวิธีที่ทำให้สามารถได้บ้านตามอันดับที่เลือกไว้ให้ได้มากที่สุด',
},
];

const FAQ = () => {
Expand Down

0 comments on commit 96f6ede

Please sign in to comment.