refactor(About): clean up unused imports and code
This commit is contained in:
@ -1,8 +1,7 @@
|
|||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import { FadeIn } from '../ui/FadeIn';
|
import { FadeIn } from '../ui/FadeIn';
|
||||||
import { FaGithub, FaLinkedin } from 'react-icons/fa';
|
import { SiPhp, SiJavascript, SiMysql, SiReact } from 'react-icons/si';
|
||||||
import { SiPhp, SiJavascript, SiMysql, SiReact, SiNextdotjs, SiTypescript } from 'react-icons/si';
|
|
||||||
import { MdWeb, MdArchitecture, MdDesignServices, MdSpeed } from 'react-icons/md';
|
import { MdWeb, MdArchitecture, MdDesignServices, MdSpeed } from 'react-icons/md';
|
||||||
|
|
||||||
interface Tech {
|
interface Tech {
|
||||||
@ -18,10 +17,8 @@ interface Interest {
|
|||||||
const technologies: Tech[] = [
|
const technologies: Tech[] = [
|
||||||
{ name: 'PHP', icon: <SiPhp /> },
|
{ name: 'PHP', icon: <SiPhp /> },
|
||||||
{ name: 'JavaScript', icon: <SiJavascript /> },
|
{ name: 'JavaScript', icon: <SiJavascript /> },
|
||||||
{ name: 'TypeScript', icon: <SiTypescript /> },
|
{ name: 'MySQL', icon: <SiMysql /> },
|
||||||
{ name: 'React', icon: <SiReact /> },
|
{ name: 'React', icon: <SiReact /> }
|
||||||
{ name: 'Next.js', icon: <SiNextdotjs /> },
|
|
||||||
{ name: 'MySQL', icon: <SiMysql /> }
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const interests: Interest[] = [
|
const interests: Interest[] = [
|
||||||
@ -128,20 +125,18 @@ export const About = () => {
|
|||||||
href="https://github.com/AtomicWasTaken"
|
href="https://github.com/AtomicWasTaken"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="w-full text-center px-6 sm:px-8 py-3 sm:py-4 border theme-border rounded-lg sm:rounded-full hover:theme-bg-05 transition-colors text-sm sm:text-base tracking-wide font-medium theme-text-90 flex items-center justify-center"
|
className="w-full text-center px-6 sm:px-8 py-3 sm:py-4 border theme-border rounded-lg sm:rounded-full hover:theme-bg-05 transition-colors text-sm sm:text-base tracking-wide font-medium theme-text-90"
|
||||||
whileHover={{ scale: 1.02 }}
|
whileHover={{ scale: 1.02 }}
|
||||||
>
|
>
|
||||||
<FaGithub className="mr-2" />
|
|
||||||
View GitHub
|
View GitHub
|
||||||
</motion.a>
|
</motion.a>
|
||||||
<motion.a
|
<motion.a
|
||||||
href="https://www.linkedin.com/in/janmarlonleibl/"
|
href="https://www.linkedin.com/in/janmarlonleibl/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="w-full text-center px-6 sm:px-8 py-3 sm:py-4 border theme-border rounded-lg sm:rounded-full hover:theme-bg-05 transition-colors text-sm sm:text-base tracking-wide font-medium theme-text-90 flex items-center justify-center"
|
className="w-full text-center px-6 sm:px-8 py-3 sm:py-4 border theme-border rounded-lg sm:rounded-full hover:theme-bg-05 transition-colors text-sm sm:text-base tracking-wide font-medium theme-text-90"
|
||||||
whileHover={{ scale: 1.02 }}
|
whileHover={{ scale: 1.02 }}
|
||||||
>
|
>
|
||||||
<FaLinkedin className="mr-2" />
|
|
||||||
Connect on LinkedIn
|
Connect on LinkedIn
|
||||||
</motion.a>
|
</motion.a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
|
|
||||||
import type { NextApiRequest, NextApiResponse } from "next";
|
|
||||||
|
|
||||||
type Data = {
|
|
||||||
name: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function handler(
|
|
||||||
req: NextApiRequest,
|
|
||||||
res: NextApiResponse<Data>,
|
|
||||||
) {
|
|
||||||
res.status(200).json({ name: "John Doe" });
|
|
||||||
}
|
|
Reference in New Issue
Block a user