Skip to content

Commit

Permalink
fix(bottle); profile edit layout (#72)
Browse files Browse the repository at this point in the history
* fix(bottle): profile edit page layout

* fix(bottle): 취준생.무직 -> 취준생
  • Loading branch information
stakbucks authored Oct 6, 2024
1 parent f2e0c48 commit 9a87e94
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/bottle/src/app/profile/edit/ProfileArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useCurrentUserProfileQuery } from '@/store/query/useCurrentUserProfileQ
import { Asset, Paragraph, spacings } from '@bottlesteam/ui';
import Link from 'next/link';
import { useMemo } from 'react';
import { profileItemLeftStyle, profileItemStyle } from './profileEditStyle.css';
import { profileItemLeftStyle, profileItemStyle, profileSelectListStyle } from './profileEditStyle.css';

export function ProfileArea() {
const {
Expand Down Expand Up @@ -84,7 +84,7 @@ export function ProfileArea() {

return (
<Card asChild style={{ marginTop: spacings.sm, marginBottom: spacings.xl }}>
<ul>
<ul className={profileSelectListStyle}>
{editProfileItems.map(({ title, description, endpoint }) => (
<Link href={endpoint} key={title}>
<li key={title} className={profileItemStyle} onClick={() => {}}>
Expand Down
7 changes: 7 additions & 0 deletions apps/bottle/src/app/profile/edit/profileEditStyle.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ export const introductionBoxStyle = style({
color: colors.neutral900,
backgroundColor: colors.purple100,
...typography.bo,
marginTop: spacings.xl,
});

export const profileSelectListStyle = style({
display: 'flex',
flexDirection: 'column',
gap: spacings.xl,
});

export const profileItemStyle = style({
Expand Down
2 changes: 1 addition & 1 deletion apps/bottle/src/models/profile/job.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const jobList = ['대학생 · 대학원생', '직장인', '프리랜서', '자영업', '취준생 · 무직'] as const;
export const jobList = ['대학생 · 대학원생', '직장인', '프리랜서', '자영업', '취준생'] as const;
export type Job = (typeof jobList)[number];

0 comments on commit 9a87e94

Please sign in to comment.