Skip to content
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

Feature/fe-036 : 메인페이지 수정사항 #53

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/home/components/HeroSection/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const HeroSection = () => {
가볍게 대화해보세요!
</Typography>

<Link href="/">
<Link href={'/write'}>
<Button color="primary" className={button}>
<Typography color="white" variant="title2">
우리 회사 먹팟 만들기
Expand Down
13 changes: 8 additions & 5 deletions src/components/Header/LoginActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
} from '@/components';
import { type Profile as ProfileData } from '@/types/data';
import { dropdownToggle } from './Header.css';
import Link from 'next/link';

interface Props {
profile: ProfileData;
Expand All @@ -18,11 +19,13 @@ interface Props {
const LoginActions = ({ profile }: Props) => {
return (
<>
<Button color="explain" size="micro">
<Typography variant="label3" color="white">
먹팟 만들기
</Typography>
</Button>
<Link href={'/write'}>
<Button color="explain" size="micro">
<Typography variant="label3" color="white">
먹팟 만들기
</Typography>
</Button>
</Link>
<Dropdown>
<DropdownToggle className={dropdownToggle}>
<Profile uid={profile.userId} nickname={profile.nickName} size="medium" fontSize="large" />
Expand Down