Skip to content

Commit

Permalink
FIX :: build type error
Browse files Browse the repository at this point in the history
  • Loading branch information
wjknnn committed May 28, 2024
1 parent 34a5d65 commit f0b1411
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 61 deletions.
2 changes: 1 addition & 1 deletion src/app/profile/application/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import { Arrow } from '@/assets'
import { ApplicationBox } from '@/components'
import { applicationData } from '@/constants'
import { useRouter } from 'next/navigation'
import { applicationData } from '../page'

export default function MyApplicationPage() {
const router = useRouter()
Expand Down
60 changes: 1 addition & 59 deletions src/app/profile/page.tsx
Original file line number Diff line number Diff line change
@@ -1,67 +1,9 @@
import { Arrow, Bag, DecorationImg_1, GradientImg, User } from '@/assets'
import { ApplicationBox, Button, TipBox } from '@/components'
import { ApplicationPreviewType } from '@/types'
import { applicationData, tipData } from '@/constants'
import Image from 'next/image'
import Link from 'next/link'

export const applicationData: ApplicationPreviewType[] = [
{
post_id: 0,
post_title: '개인적으로 완벽한 포트폴리오',
post_post_type: 'Portfolio',
user_oauth_id: '이강혁',
post_major: 'Backend',
post_created_at: '2024-05-16 01:00:01+00',
},
{
post_id: 1,
post_title: '완벽에 가까운 포트폴리오',
post_post_type: 'Portfolio',
user_oauth_id: '이강혁',
post_major: 'Backend',
post_created_at: '2024-05-16 01:00:01+00',
},
{
post_id: 2,
post_title: '자기소개의 완벽한 예',
post_post_type: 'PersonalStatement',
user_oauth_id: '강진현',
post_major: 'Frontend',
post_created_at: '2024-05-16 01:00:01+00',
},
{
post_id: 3,
post_title: '자기소개의 완벽한 예',
post_post_type: 'PersonalStatement',
user_oauth_id: '강진현',
post_major: 'Frontend',
post_created_at: '2024-05-16 01:00:01+00',
},
]

export const tipData = [
{
title: '지원서 작성 팁 3가지',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim',
name: '이강혁',
date: '2024-05-16 01:00:01+00',
},
{
title: '지원서 작성 팁 3가지',
content: 'eiusmod tembna aliqua. Ut enim',
name: '이강혁',
date: '2024-05-16 01:00:01+00',
},
{
title: '지원서 작성 팁 3가지',
content:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim',
name: '이강혁',
date: '2024-05-16 01:00:01+00',
},
]

export default function ProfilePage() {
return (
<main className="flex flex-col items-center">
Expand Down
2 changes: 1 addition & 1 deletion src/app/profile/tip/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import { Arrow } from '@/assets'
import { TipBox } from '@/components'
import { tipData } from '@/constants'
import { useRouter } from 'next/navigation'
import { tipData } from '../page'

export default function MyTipPage() {
const router = useRouter()
Expand Down

0 comments on commit f0b1411

Please sign in to comment.