Skip to content

Commit

Permalink
Merge pull request #190 from isd-sgcu/main
Browse files Browse the repository at this point in the history
add baan line
  • Loading branch information
TeeGoood authored Jul 28, 2024
2 parents ee13e80 + 0085d16 commit 48ec299
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 2 deletions.
3 changes: 3 additions & 0 deletions public/LineIcon-white.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/LineIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 15 additions & 1 deletion src/components/(main)/home/BaanResultModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Image from 'next/image';
import Link from 'next/link';
import CrossIcon from '@public/cross-white.svg';
import LineWhite from '@public/line-white.png';
import LineIconWhite from '@public/LineIcon-white.svg';
import Baan from '@public/baan.svg';
import InstagramIcon from '@public/rpkm/instagram-icon.svg';
import { baanInfos } from '@/components/rpkm/Baan/baanInfos';
Expand Down Expand Up @@ -126,7 +127,7 @@ const BaanResultModal: React.FC<BaanResultModalProps> = ({
? 'ติดตามข่าวสารต่อได้ที่'
: 'For more information, please visit'}
</p>
<div className="flex flex-row justify-center w-full gap-x-1 mt-2 mb-3">
<div className="flex flex-row justify-center w-full gap-x-1 mt-2">
<Image
src={InstagramIcon}
alt="instagram icon"
Expand All @@ -138,6 +139,19 @@ const BaanResultModal: React.FC<BaanResultModalProps> = ({
{baan.ig}
</Link>
</div>
<div className="flex justify-center text-base text-center text-white items-center w-full gap-1 mt-2 mb-3">
<Image
src={LineIconWhite}
alt="lineIcon"
/>
<div className="">line group:</div>
<Link
href={baan.line}
className="text-center truncate underline underline-offset-auto decoration-from-font w-[50%]"
>
{baan.line}
</Link>
</div>
</div>
</div>
</BaseModal>
Expand Down
Loading

0 comments on commit 48ec299

Please sign in to comment.