diff --git a/.gitignore b/.gitignore index 7dd56d55..81927021 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,8 @@ dist/ *.tsbuildinfo .vercel +# Editor +.idea +.vscode + yarn.lock diff --git a/components/sections/explore/ProjectSectionCard.tsx b/components/sections/explore/ProjectSectionCard.tsx index 8fc06810..7c0833bf 100644 --- a/components/sections/explore/ProjectSectionCard.tsx +++ b/components/sections/explore/ProjectSectionCard.tsx @@ -8,8 +8,6 @@ import { Text, Img, GridItem, - Button, - Tooltip, } from "@chakra-ui/react"; import NextLink from "next/link"; diff --git a/components/sections/explore/ProjectsList.tsx b/components/sections/explore/ProjectsList.tsx index 93cdfda1..cb3cade1 100644 --- a/components/sections/explore/ProjectsList.tsx +++ b/components/sections/explore/ProjectsList.tsx @@ -1,6 +1,5 @@ import { Container, Flex, useBreakpointValue } from "@chakra-ui/react"; import { Project } from "models/project"; -import { totalmem } from "os"; import { FC, useMemo, useState } from "react"; import CategoryList from "./CategoryList"; import { Pagination } from "./Pagination"; diff --git a/components/sections/explore/TitleAndSelect.tsx b/components/sections/explore/TitleAndSelect.tsx index 5633f26f..563709ca 100644 --- a/components/sections/explore/TitleAndSelect.tsx +++ b/components/sections/explore/TitleAndSelect.tsx @@ -1,4 +1,4 @@ -import { Flex, Heading, HStack, LightMode, Select } from "@chakra-ui/react"; +import { Heading, HStack, LightMode, Select } from "@chakra-ui/react"; import { FC } from "react"; export type TitleAndSelectProps = { diff --git a/components/sections/home/RoadMapFull.tsx b/components/sections/home/RoadMapFull.tsx index 7c6a9830..b4a27c00 100644 --- a/components/sections/home/RoadMapFull.tsx +++ b/components/sections/home/RoadMapFull.tsx @@ -3,16 +3,12 @@ import { Box, Container, Flex, - Grid, - Heading, Text, VStack, Button, - Spacer, } from "@chakra-ui/react"; import { useTranslation } from "next-i18next"; import Image from "next/image"; -import { useEffect, useRef } from "react"; import { VerticalTimeline, VerticalTimelineElement } from "react-vertical-timeline-component"; import { CalendarIcon } from "@chakra-ui/icons"; @@ -290,8 +286,6 @@ function RoadmapFull({ heading }: any) { {roadmapList.map((item: any) => { - const percentage = getQuarterProgressInPercentage(item); - const additionaLProps = { "data-scroll-to": percentage > 0 && percentage < 100 }; return ( {roadmapList.map((item: any) => { - const percentage = getQuarterProgressInPercentage(item); - const additionaLProps = { "data-scroll-to": percentage > 0 && percentage < 100 }; return (