-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Styling/#124
- Loading branch information
Showing
38 changed files
with
529 additions
and
189 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
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
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
Oops, something went wrong.