Skip to content

Commit

Permalink
chore: Project 관련 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
youngminss committed Apr 4, 2024
1 parent 73c8115 commit 03a4069
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pages/project/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { useEffect, useState } from 'react';
import { GetStaticProps } from 'next';
import styled from 'styled-components';
import { TabMenu, ProjectCard, Button, BubbleMenu } from 'components/common';
import { getAllProjects } from 'utils/getAllProjects';
import { ProjectCardType, ProjectField } from 'types/project';
import { BubbleMenu, Button, ProjectCard, TabMenu } from 'components/common';
import Breakpoints from 'constants/breakpoints';
import useSmoothScroll from 'hooks/useSmoothScroll';
import useWindowDimensions from 'hooks/useWindowDimensions';
import { GetStaticProps } from 'next';
import { useEffect, useState } from 'react';
import styled from 'styled-components';
import media from 'styles/media';
import Breakpoints from 'constants/breakpoints';
import { ProjectCardType, ProjectField } from 'types/project';
import { getAllProjects } from 'utils/getAllProjects';

export const getStaticProps: GetStaticProps = async () => {
const projects = await getAllProjects();
Expand Down Expand Up @@ -98,6 +98,7 @@ function Project({ projects }: ProjectProps) {
/>
) : (
<BubbleMenu
className="scroll-none"
tabs={PROJECT_CATEGORIES}
currentTab={category}
onClick={setCategory}
Expand Down

0 comments on commit 03a4069

Please sign in to comment.