-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Styling/#124 #132
Merged
Merged
Styling/#124 #132
Changes from 48 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
5a7bec2
chore: Add navigation buttons to navigation bar for larger screens
seonghunYang 6f47927
refactor: Update navigation bar to use NavigationItem component for lβ¦
seonghunYang 173f84e
refactor: Update navigation bar to use NavigationItems component for β¦
seonghunYang b98b09a
refactor: Update navigation bar to use NavigationItems component for β¦
seonghunYang afe50f7
refactor: Update navigation bar to use NavigationItems component for β¦
seonghunYang 47fad13
[web] refactor: Update sign-in page layout to use flexbox for better β¦
seonghunYang c48cb97
[web] refactor: Update sign-in page layout to use flexbox for better β¦
seonghunYang 9ce5fbd
[web] refactor: Update sign-up terms page layout and content
seonghunYang 840bbd8
refactor: Update sign-up page to use SignUp component
seonghunYang 4650e12
refactor: Update sign-in page layout to use flexbox for better responβ¦
seonghunYang b850880
refactor: Update sign-up page layout and content
seonghunYang 8bc64f5
refactor: Update sign-up page layout to center the image
seonghunYang cb8b5ca
refactor: Update sign-up success page layout and content
seonghunYang 1c19971
refactor: Update API base URL to staging environment
seonghunYang 625f704
refactor: Handle non-200 response in createUser function
seonghunYang c6f2785
refactor: Update user login error message status code
seonghunYang 672bb58
refactor: Update API base URL to staging environment
seonghunYang 60a1f13
refactor: Update sign-up page layout and content
seonghunYang eeefa78
refactor: Update sign-up page layout and content
seonghunYang 1ffc88f
refactor: Add Separator component for UI layout consistency
seonghunYang d326c5f
refactor: Add buttons for account management in sign-in page
seonghunYang 39269a1
refactor: Update sign-in page layout and content
seonghunYang c35a52c
refactor: Add links to sign-in page buttons for better user navigation
seonghunYang e24a9a7
refactor: Update sign-up page layout and content
seonghunYang 76f763f
refactor: Update sign-up success page layout and content
seonghunYang 5982e45
refactor: Update user authentication API endpoint
seonghunYang 898dc56
refactor: Update API base URL to staging environment
seonghunYang 78f5ddc
refactor: Update user authentication API endpoint
seonghunYang c363da3
refactor: Remove unused validateToken function from user command
seonghunYang b1d3687
refactor: Synchronize user command and validation code
seonghunYang a91daab
refactor: Synchronize user command and validation code
seonghunYang a4090b5
refactor: Update user delete modal layout and content
seonghunYang 061d5c1
refactor: Update user delete modal layout and content
seonghunYang 9cc47c6
refactor: Replace loading spinner with sign-up form skeleton
seonghunYang 3a080d4
refactor: Update user sign-out functionality and delete cookies
seonghunYang 962666e
chore: Update API_PATH in result-handler.mock.ts
seonghunYang 4275317
chore: Add Vercel production deployment workflow
seonghunYang 70d7eef
chore: Add div wrapper for submit button in UploadTakenLecture component
seonghunYang 7b2c0bb
refactor: Update heading size and padding in Manual component
seonghunYang afe89e7
chore: Update language options in sign-up form
seonghunYang 911c04e
refactor: Remove unnecessary comments and improve user-related functions
seonghunYang b197e63
Update app/business/services/user/user.validation.ts
seonghunYang 1f43663
chore: Update navigation link for team introduction
seonghunYang af8f899
refactor: Update NavigationItems component to use TypeScript interface
seonghunYang e16125a
refactor: Update user query to handle both UserInfoResponse and InitUβ¦
seonghunYang d574585
refactor: Update useFunnel hook to handle default step when step is nβ¦
seonghunYang 01d5efa
feat: Update API URLs and setup URL utility function
seonghunYang e0dfdbf
refactor: Add refreshToken function for handling token refresh
seonghunYang e0d2f17
Merge branch 'main' into styling/#124
seonghunYang b04114f
Update app/utils/api/setup-url.util.ts
seonghunYang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Vercel Production Deployment | ||
|
||
env: | ||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | ||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
Deploy-Production: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Vercel CLI | ||
run: npm install --global vercel@latest | ||
- name: Pull Vercel Environment Information | ||
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | ||
- name: Build Project Artifacts | ||
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} | ||
- name: Deploy Project Artifacts to Vercel | ||
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} |
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,45 @@ | ||
import { auth } from '@/app/business/services/user/user.query'; | ||
import Button from '@/app/ui/view/atom/button/button'; | ||
import Link from 'next/link'; | ||
import { ChevronRightIcon } from 'lucide-react'; | ||
|
||
export default async function NavigationItems() { | ||
const userInfo = await auth(); | ||
|
||
return ( | ||
<div className="flex flex-col lg:flex-row divide-y lg:divide-y-0 "> | ||
{userInfo ? ( | ||
<> | ||
<NavigationItem href={'/my'} label="λ§μ΄νμ΄μ§" /> | ||
<NavigationItem href={'/result'} label="κ²°κ³ΌνμΈ" /> | ||
</> | ||
) : ( | ||
<NavigationItem href={'/sign-in'} label="λ‘κ·ΈμΈ" /> | ||
)} | ||
<NavigationItem href={'/tutorial'} label="νν 리μΌ" /> | ||
<NavigationItem | ||
href={'https://soft-anorak-0ca.notion.site/e35e3b210995463fa748f35aab536f2c?pvs=74'} | ||
label="νμκ°" | ||
/> | ||
</div> | ||
); | ||
} | ||
|
||
interface NavigationItemProps { | ||
href: string; | ||
label: string; | ||
} | ||
|
||
export function NavigationItem({ href, label }: NavigationItemProps) { | ||
return ( | ||
<Link href={href} className="flex items-center justify-between"> | ||
<Button | ||
size={'xs'} | ||
className="text-black lg:text-white hover:text-slate-400 lg:text-base text-lg my-1" | ||
variant={'text'} | ||
label={label} | ||
/> | ||
<ChevronRightIcon className="h-4 w-4 lg:hidden text-black" /> | ||
</Link> | ||
); | ||
} |
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
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 |
---|---|---|
@@ -1,10 +1,40 @@ | ||
import SignInForm from '@/app/ui/user/sign-in-form/sign-in-form'; | ||
import ContentContainer from '@/app/ui/view/atom/content-container/content-container'; | ||
import TitleBox from '@/app/ui/view/molecule/title-box/title-box'; | ||
import Image from 'next/image'; | ||
import MaruImage from '@/public/assets/mju-maru.jpg'; | ||
import Separator from '@/app/ui/view/atom/separator'; | ||
import Button from '@/app/ui/view/atom/button/button'; | ||
import Responsive from '@/app/ui/responsive'; | ||
import Link from 'next/link'; | ||
|
||
export default function Page() { | ||
return ( | ||
<ContentContainer className="md:w-[768px]"> | ||
<SignInForm /> | ||
<ContentContainer className="md:w-[768px] h-[550px] xl:w-[960px] flex p-9"> | ||
<Responsive minWidth={767}> | ||
<div className="w-2/4"> | ||
<Image className="object-cover h-full" src={MaruImage} alt="λ§λ£¨" /> | ||
</div> | ||
</Responsive> | ||
<div className="w-full md:w-2/4 md:pl-7 "> | ||
<div className="pb-12"> | ||
<TitleBox title={'λ‘κ·ΈμΈ'} /> | ||
</div> | ||
<SignInForm /> | ||
<div className="flex mt-12 space-x-4 h-6 items-center justify-center"> | ||
<Link href={'/'}> | ||
<Button className="text-xs" label="μμ΄λ μ°ΎκΈ°" variant={'text'} /> | ||
</Link> | ||
<Separator orientation={'vertical'} /> | ||
<Link href={'/'}> | ||
<Button className="text-xs" label="λΉλ°λ²νΈ μ¬μ€μ " variant={'text'} /> | ||
</Link> | ||
<Separator orientation={'vertical'} /> | ||
<Link href={'/sign-up'}> | ||
<Button className="text-xs" label="νμκ°μ " variant={'text'} /> | ||
</Link> | ||
</div> | ||
</div> | ||
</ContentContainer> | ||
); | ||
} |
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 |
---|---|---|
@@ -1,25 +1,21 @@ | ||
import Button from '@/app/ui/view/atom/button/button'; | ||
import TitleBox from '@/app/ui/view/molecule/title-box/title-box'; | ||
import Link from 'next/link'; | ||
|
||
// λ΄μ©μ΄λ μ€νμΌμ mockμΈ μνμ λλ€. | ||
export default function SignUpSuccess() { | ||
return ( | ||
<div className="min-h-screen bg-gray-100 flex items-center justify-center px-4 sm:px-6"> | ||
<div className="max-w-md w-full space-y-8"> | ||
<div className="space-y-2"> | ||
<h2 className="text-3xl font-extrabold tracking-tight">Youre all set.</h2> | ||
<p className="text-gray-500"> | ||
Thanks for signing up! We just need to verify your email address to complete the process. | ||
</p> | ||
</div> | ||
<div className="space-y-4"> | ||
<div className="grid grid-cols-2 gap-4"> | ||
<Link className="inline-block w-full" href="/sign-in"> | ||
<Button className="w-full" label={'λ‘κ·ΈμΈ νκΈ°'} /> | ||
</Link> | ||
</div> | ||
<> | ||
<TitleBox title={'νμκ°μ μλ£'} /> | ||
<div className="h-[260px] text-2xl font-bold flex flex-col items-center justify-center space-y-2"> | ||
<div>νμκ°μ μ΄ μλ£λμμ΅λλ€</div> | ||
<div className="text-xl font-medium">λ‘κ·ΈμΈ ν μ‘Έμ μ¬μ κ²°κ³Όλ₯Ό νμΈν΄λ³΄μΈμ!</div> | ||
<div className="pt-6"> | ||
<Link href="/sign-in"> | ||
<Button size={'md'} label={'λ‘κ·ΈμΈ νκΈ°'} /> | ||
</Link> | ||
</div> | ||
</div> | ||
</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
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,27 @@ | ||
import Responsive from '@/app/ui/responsive'; | ||
import SignUpForm from '@/app/ui/user/sign-up-form/sign-up-form'; | ||
import TitleBox from '@/app/ui/view/molecule/title-box/title-box'; | ||
import MaruImage from '@/public/assets/mju-maru.jpg'; | ||
import Image from 'next/image'; | ||
|
||
interface SignUpProps { | ||
onNext?: () => void; | ||
} | ||
|
||
export default function SignUp({ onNext }: SignUpProps) { | ||
return ( | ||
<div className="flex p-9"> | ||
<Responsive minWidth={767}> | ||
<div className="w-2/4 flex items-center justify-center"> | ||
<Image className="object-cover h-[400px]" src={MaruImage} alt="λ§λ£¨" /> | ||
</div> | ||
</Responsive> | ||
<div className="w-full md:w-2/4 md:pl-7 "> | ||
<div className="pb-12"> | ||
<TitleBox title={'νμκ°μ '} /> | ||
</div> | ||
<SignUpForm onSuccess={onNext} /> | ||
</div> | ||
</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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λͺλͺ νμ΄μ§ μ»΄ν¬λνΈλ MyPage, ResultPageλ‘ λ€μ΄λ°μ΄ λμ΄μκ³ , λͺλͺ νμ΄μ§ μ»΄ν¬λνΈλ λ³λ€λ₯Έ μ΄λ¦ μ§μ μμ΄ Pageλ‘ λμ΄μλ€μ! ν΅μΌνλ©΄ μ’μ κ² κ°μμ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ΄ λΆλΆμ λ³ν©ν νμ ν΅μΌνλ κ³Όμ μ μ§ννλλ‘ νκ² μ΅λλ€.