-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fe): show update information modal for existing users (#2006)
- Loading branch information
Showing
3 changed files
with
156 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
'use client' | ||
|
||
import { Button } from '@/components/ui/button' | ||
import CodedangLogo from '@/public/codedang.svg' | ||
import Image from 'next/image' | ||
import { useRouter } from 'next/navigation' | ||
import { IoWarningOutline } from 'react-icons/io5' | ||
|
||
export default function UpdateInformation() { | ||
const router = useRouter() | ||
return ( | ||
<div className="flex w-full flex-col items-center gap-1"> | ||
<div className="flex justify-center pt-4"> | ||
<Image | ||
className="absolute top-4" | ||
src={CodedangLogo} | ||
alt="codedang" | ||
width={100} | ||
/> | ||
</div> | ||
<div className="mt-12 inline-flex items-center text-center font-mono text-xl font-bold text-red-500"> | ||
<IoWarningOutline /> | ||
<p className="pl-2">Update Information</p> | ||
</div> | ||
<div className="mt-5 text-center text-xs text-neutral-700"> | ||
<p>To continue using the service,</p> | ||
<p>you must update your information.</p> | ||
</div> | ||
<div className="text-center text-xs text-neutral-700"> | ||
<p>Your account will be DELETED if you do not </p> | ||
<p>update your information by August 31.</p> | ||
</div> | ||
<div className="my-8 w-36 border-b" /> | ||
<p className="text-xs font-medium">We need the information</p> | ||
<ul className="mt-1 text-xs font-medium text-neutral-700"> | ||
<li>Your Student ID</li> | ||
<li>Your First Major</li> | ||
</ul> | ||
<Button | ||
className="mt-10 w-full bg-red-500 font-semibold hover:bg-red-600" | ||
onClick={() => router.push('/settings')} | ||
> | ||
Update Now | ||
</Button> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters