Skip to content

Commit

Permalink
chore: change import module
Browse files Browse the repository at this point in the history
  • Loading branch information
kalecream committed Sep 2, 2023
1 parent b6e6e0c commit 9654038
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/components/projects/latestProjects.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import * as React from 'react';
import { Button, Container, Section } from '@components/_basics/Basics';
import { Container, Section } from '@components/_basics/Basics';
import Projects from '../../data/projectsData';
import styled from '@emotion/styled';
import { FaToolbox, FaLanguage, FaGithub } from 'react-icons/fa6';
import 'animate.css';
import Link from 'next/link';
import button from '@components/_basic/button.module.scss';

// interface Project {
// id: number;
Expand Down Expand Up @@ -170,11 +171,6 @@ const Emoji = styled.span`
}
`;

const ProjectButton = styled(Button)`
background-color: var(--text);
border-radius: var(--border-radius);
`;

const LatestProjects = () => {
return (
<Section>
Expand Down Expand Up @@ -226,9 +222,9 @@ const LatestProjects = () => {
}}
>
{project.link ? (
<ProjectButton href={project.link} target={'_blank'}>
<Link className={button.secondary} href={project.link} target={'_blank'}>
<FaGithub />
</ProjectButton>
</Link>
) : null}
</div>
</Overlay>
Expand Down

0 comments on commit 9654038

Please sign in to comment.