Skip to content

Commit

Permalink
Merge pull request #27 from APPS-sookmyung/feature/modify-style
Browse files Browse the repository at this point in the history
Style: 상단 λ„€λΉ„κ²Œμ΄μ…˜ 메뉴에 Divider μΆ”κ°€ 및 ν”„λ‘œμ νŠΈμ„Ήμ…˜ λ‚΄ μ…€λ ‰ν„° id μˆ˜μ •
  • Loading branch information
misung-dev authored Nov 19, 2023
2 parents 41ee076 + 5ace0e3 commit 5938251
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const Header = () => {
<S.Nav>
<S.NavItem onClick={() => scrollToSection('aboutApps')}>APPS μ†Œκ°œ</S.NavItem>
<S.NavItem onClick={() => scrollToSection('projectsSection')}>ν”„λ‘œμ νŠΈ μ†Œκ°œ</S.NavItem>
<S.NavDivider>|</S.NavDivider>
<S.NavItem onClick={handleGitHubClick}>κΉƒν—ˆλΈŒ</S.NavItem>
</S.Nav>
</S.Inner>
Expand Down
2 changes: 2 additions & 0 deletions src/components/Header/Header.style.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ export const NavItem = styled.a`
color: white;
}
`;

export const NavDivider = styled.text``;
4 changes: 2 additions & 2 deletions src/components/ProjectsSection/ProjectsSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ const PROJECT_CATEGORY_LIST = [
const ProjectsSection = () => {
return (
<S.Section>
<S.TopBackground />
<S.TopBackground id="projectsSection" />
<S.BottomBackground />
<S.SectionInner>
<S.SectionTitle id="projectsSection">ν”„λ‘œμ νŠΈ μ†Œκ°œ</S.SectionTitle>
<S.SectionTitle>ν”„λ‘œμ νŠΈ μ†Œκ°œ</S.SectionTitle>
<S.SectionNav>
{PROJECT_CATEGORY_LIST.map(({ id, title }) => (
<S.SectionNavItem key={id} href={`#${id}`}>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/HomePage/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ const HomePage = () => {
</S.MessageSectionInner>
</S.MessageSection>

<S.AboutAppsSection>
<S.AboutAppsSection id="aboutApps">
<S.AboutAppsSectionInner>
<AnimationOnScroll animateIn="animate__fadeInUp" animateOnce={true}>
<S.SectionTitle id="aboutApps">{'APPS μ†Œκ°œ'}</S.SectionTitle>
<S.SectionTitle>{'APPS μ†Œκ°œ'}</S.SectionTitle>
<S.SectionDescription>
APPSλŠ” λͺ¨λ°”일 μ•±&μ›Ή ν”„λ‘œκ·Έλž˜λ° λ™μ•„λ¦¬λ‘œ,
<br /> 기술과 아이디어λ₯Ό 톡해 ν”„λ‘œμ νŠΈλ₯Ό μ§„ν–‰ν•˜λ©°
Expand Down

0 comments on commit 5938251

Please sign in to comment.