Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
3631609
feat: added staff scan qr page
dhanavadh Jul 13, 2025
fe86339
Merge branch 'dev' into feat/firstdate/staff-qr
dhanavadh Jul 13, 2025
076210b
fix: firstdate staff bg
dhanavadh Jul 13, 2025
a25dc69
Merge branch 'dev' into feat/firstdate/staff-qr
dhanavadh Jul 14, 2025
2eb62c2
feat: add @yudiel/react-qr-scanner
dhanavadh Jul 14, 2025
4cbcbd3
Merge branch 'dev' into feat/firstdate/staff-qr
dhanavadh Jul 14, 2025
a70b642
Merge branch 'dev' into feat/firstdate/staff-qr
dhanavadh Jul 14, 2025
2fa23d2
Merge branch 'dev' into feat/firstdate/staff-qr
dhanavadh Jul 14, 2025
560d6a0
Feat: added staff-qr page
dhanavadh Jul 14, 2025
382c2c8
Merge branch 'dev' into feat/firstdate/staff-qr
neennera Jul 15, 2025
a5e278f
chore: fix middleware doesn't work
Dpyde Jul 16, 2025
9846fda
feat: Implement qr scan with api
Dpyde Jul 16, 2025
6b9742a
Merge branch 'dev' into feat/firstdate/staff-qr
dhanavadh Jul 16, 2025
9447040
fix: staff-qr code
dhanavadh Jul 16, 2025
d3ac27c
Merge branch 'feat/firstdate/staff-qr' of https://github.com/isd-sgcu…
neennera Jul 16, 2025
cd6e983
Merge branch 'dev' into feat/firstdate/staff-qr
neennera Jul 17, 2025
e53584f
fix: conflicts
MasterIceZ Jul 17, 2025
707f4a7
fix: qr scan error, body stream err, cannot send cookie to backend err
dhanavadh Jul 17, 2025
8395fc4
Fix: alternative form handle error
dhanavadh Jul 17, 2025
919a945
fix: no event active layout
dhanavadh Jul 17, 2025
9523a05
Merge branch 'dev' into feat/firstdate/staff-qr
dhanavadh Jul 17, 2025
7878eff
Merge branch 'feat/firstdate/staff-qr' of https://github.com/isd-sgcu…
neennera Jul 17, 2025
4104be7
[Fix] Staff-QR (#71)
dhanavadh Jul 17, 2025
80569df
feat: getGroupByInviteCode
BadLuckZ Jul 17, 2025
0b94782
fix: fest content
neennera Jul 17, 2025
e0c6a73
fix: qrcode in /events go to /firstdate/qrcode
neennera Jul 17, 2025
f6e264a
add : checkin not found & remove freshmennight
neennera Jul 17, 2025
d0acd9f
feat: joinGroup and leaveGroup
BadLuckZ Jul 17, 2025
09d2d67
add: fix event period
neennera Jul 17, 2025
1c252d1
fix: staff with navbar
neennera Jul 17, 2025
0bd0a31
Update Routes.ts
BadLuckZ Jul 17, 2025
82d9fc3
feat: add nonStartedRoutes time constraint whitelist
Taihenc Jul 17, 2025
c3c7d6a
fix : home & map unclickable
neennera Jul 17, 2025
8448136
fix: new Date()
neennera Jul 17, 2025
05e7123
Merge pull request #80 from isd-sgcu/fix/qr-code-not-scan
neennera Jul 17, 2025
dd16c0b
feat: getHousePref() + setHousePref()
BadLuckZ Jul 17, 2025
375308a
fix: qr load
Taihenc Jul 17, 2025
be3ec12
Merge branch 'main' into dev
Taihenc Jul 17, 2025
4657972
fix: adjust datatype
BadLuckZ Jul 18, 2025
366cf26
fix: check in not found event
neennera Jul 18, 2025
c56c4d6
fix: qa profile , firstdate register
neennera Jul 18, 2025
2b8d55e
Merge branch 'main' into dev
neennera Jul 18, 2025
b8cf671
Merge pull request #79 from isd-sgcu/feat/rpkm/groupAPI
RawSalmon69 Jul 18, 2025
05e413a
fix: Adjust data type again based on backend
BadLuckZ Jul 18, 2025
9646dcd
fix: Trust me - 0.5s delay can't avoid -1 people in the houses
BadLuckZ Jul 18, 2025
7e4ae70
Merge branch 'dev' into feat/rpkm/houseAPI
BadLuckZ Jul 18, 2025
81acaf5
feat: Can get housePref
BadLuckZ Jul 18, 2025
bce2b41
feat: Get Houses with API
BadLuckZ Jul 18, 2025
cee3abe
feat: Submit Houses
BadLuckZ Jul 18, 2025
35f12cb
feat: Loading Icon
BadLuckZ Jul 18, 2025
5e26cb2
fix: สำรองโคตรเล็ก พึ่งเห็น
BadLuckZ Jul 18, 2025
475d205
fix: Route.ts
BadLuckZ Jul 18, 2025
86c9d78
fix: edit profile
MasterIceZ Jul 18, 2025
3f2f88b
chore: remove ig
MasterIceZ Jul 18, 2025
aa7423e
Merge branch 'main' into dev
MasterIceZ Jul 18, 2025
750a5be
nothing: parse to <script>
BadLuckZ Jul 18, 2025
f54f419
Merge branch 'dev' into feat/rpkm/houseAPI
BadLuckZ Jul 18, 2025
800b2bb
fix: Custom Size's color not only black
BadLuckZ Jul 18, 2025
3637bed
fix: quest-3-x banner path
BadLuckZ Jul 18, 2025
5cf263b
fix: Change Card's gap
BadLuckZ Jul 18, 2025
1a0cd73
[Feat][RPKM] Houses (#84)
BadLuckZ Jul 18, 2025
8d6e30c
Merge branch 'main' into dev
RawSalmon69 Jul 18, 2025
f39eb56
Merge branch 'dev' into feat/rpkm/groupAPI
BadLuckZ Jul 18, 2025
02eb4cf
Merge branch 'feat/rpkm/houseAPI' into feat/rpkm/groupAPI
BadLuckZ Jul 18, 2025
65269ed
feat: Hidden Buttons for non-owner (Not sure for members)
BadLuckZ Jul 18, 2025
49270cb
fix: Bugs from PM
BadLuckZ Jul 18, 2025
72c2ba9
fix: Bugs Again
BadLuckZ Jul 18, 2025
83accf5
fix: Bugs Again...
BadLuckZ Jul 18, 2025
1a8d9b5
feat: Join Group
BadLuckZ Jul 18, 2025
95a5c7f
fix: Remove things
BadLuckZ Jul 18, 2025
138bdaf
feat: leaveGroup
BadLuckZ Jul 18, 2025
b2891b2
fix: Group UI
BadLuckZ Jul 18, 2025
4afd871
fix: Route.ts
BadLuckZ Jul 18, 2025
15edd80
Merge branch 'dev' into feat/rpkm/groupAPI
BadLuckZ Jul 18, 2025
fc70ce2
fix: reload
BadLuckZ Jul 18, 2025
f1e2b41
Merge branch 'feat/rpkm/groupAPI' of https://github.com/isd-sgcu/fdrp…
BadLuckZ Jul 18, 2025
1e6bfe7
fix: Show that members can't pick group
BadLuckZ Jul 19, 2025
2c4ea81
[Fix][RPKM] ฝันดีครับน้อง อุอิอิอา (#87)
BadLuckZ Jul 19, 2025
b5e2297
feat: added Freshmen night regis
dhanavadh Jul 19, 2025
07881af
feat: added FM night link in navbar
dhanavadh Jul 19, 2025
96e5daf
fix: qrcode
neennera Jul 19, 2025
6a6f02d
Merge branch 'dev' into feat/firstdate/staff-qr
neennera Jul 19, 2025
ac39a95
Merge branch 'feat/firstdate/staff-qr' into fix/qr-code-not-scan
neennera Jul 17, 2025
ac4b188
Merge remote-tracking branch 'origin/dev' into feat/rpkm/groupAPI
BadLuckZ Jul 19, 2025
2df5102
fix: EZ Quick Math
BadLuckZ Jul 19, 2025
becbb76
fix: fix middleware potential bug
Taihenc Jul 19, 2025
784401c
chore: update workshops data
Taihenc Jul 19, 2025
4da50d4
feat: update workshop components
Taihenc Jul 19, 2025
33138f5
feat: integrate workshops registration
Taihenc Jul 19, 2025
e260e3a
fix: fd bg to webp and staff home button
dhanavadh Jul 19, 2025
ec27317
feat: impl UI for user's registered workshops
Taihenc Jul 19, 2025
3cca08a
Merge pull request #89 from isd-sgcu/feat/rpkm/groupAPI
MasterIceZ Jul 19, 2025
9bd4c79
fix: changed to hardcoded event-period
dhanavadh Jul 19, 2025
a27d81a
feat: integrate get participant count from be
Taihenc Jul 19, 2025
3c840f9
fix: Changing By PM
BadLuckZ Jul 19, 2025
9a81506
fix: Route.ts
BadLuckZ Jul 19, 2025
3e7dc2e
Merge pull request #91 from isd-sgcu/feat/workshop-integrate-backend
MasterIceZ Jul 19, 2025
b44f991
Merge pull request #88 from isd-sgcu/feat/firstdate/fmnight
MasterIceZ Jul 19, 2025
4e1c296
Merge pull request #90 from isd-sgcu/fix/firstdate/bg
MasterIceZ Jul 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions public/images/frame/frame-blue-sp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/images/frame/frame-purple-sp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/rpkm/loading-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/rpkm/profile/robot-02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
10 changes: 9 additions & 1 deletion src/components/common/Frame.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/

export interface Props {
size?: "lg" | "md" | "sm" | "xs";
size?: "lg" | "md" | "sm" | "xs" | "sp";
color?: "blue" | "purple";
class?: string;
contentContainerClass?: string;
Expand All @@ -44,6 +44,10 @@ const frameSvg = `/images/frame/frame-${color}-${size}.svg`;

// Size configuration with aspect ratios and minimum heights
const sizeConfig = {
sp: {
aspectRatio: "346/300",
minHeight: "300px",
},
lg: {
aspectRatio: "346/550",
minHeight: "550px",
Expand Down Expand Up @@ -110,6 +114,10 @@ const config = sizeConfig[size];
margin: 4% 7%;
}

.frame-container[data-size="sp"] .frame-content-clip {
margin: 3% 5%;
}

/* Custom scrollbar styling */
.frame-content-clip {
scrollbar-width: thin;
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/MapDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ const MapDropdown: React.FC<MapDropdownProps> = ({
aria-expanded={open}
aria-haspopup="true"
type="button"
onClick={handleTriggerClick}
onClick={options.length > 1 ? handleTriggerClick : undefined}
>
<span className={cn("px-2 text-white drop-shadow-lg", liClassName)}>
{selectedOption.label}
</span>
<div className="flex h-10 w-10 items-center justify-center">
<ChevronDown size={18} color="white" />
{options.length > 1 ? <ChevronDown size={18} color="white" /> : null}
</div>
</button>
<div
Expand Down
6 changes: 4 additions & 2 deletions src/components/common/react/Frame.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import React from "react";
import type { ReactNode } from "react";
import React from "react";

import { X } from "lucide-react";

Expand Down Expand Up @@ -42,6 +42,7 @@ export interface FrameProps {
noWrapper?: boolean;
children: ReactNode;
frameId?: string;
noScroll?: boolean; // Optional prop to disable scrolling
onClickX?: () => void;
}

Expand All @@ -52,6 +53,7 @@ const Frame: React.FC<FrameProps> = ({
noWrapper = false,
children,
frameId: propFrameId,
noScroll = false,
onClickX,
}) => {
const { theme } = useTheme();
Expand Down Expand Up @@ -158,7 +160,7 @@ const Frame: React.FC<FrameProps> = ({

{/* Content area with proper clipping */}
<div
className={`content-area absolute inset-0 flex ${contentClipClass} overflow-auto`}
className={`content-area absolute inset-0 flex ${contentClipClass} ${noScroll ? "overflow-visible" : "overflow-auto"}`}
>
{noWrapper ? (
children
Expand Down
3 changes: 3 additions & 0 deletions src/components/firstdate/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ import ButtonFd from "@common/ButtonFd.astro";
<li>
<a href="/firstdate/events/rpkm">รับเพื่อนก้าวใหม่</a>
</li>
<li>
<a href="/firstdate/events/freshmen-night">Freshmen Night</a>
</li>
<li>
<a href="/profile">PROFILE</a>
</li>
Expand Down
Loading