From bb4f5a3d0e94014c1a55543e7785d71cef7a4e60 Mon Sep 17 00:00:00 2001 From: chimpdev Date: Sat, 2 Nov 2024 08:50:21 +0300 Subject: [PATCH] style: standardize JSX quotes and reorder class names for consistency --- components/about-tab.jsx | 12 ++++++------ components/keywords.jsx | 2 +- components/projects-tab.jsx | 4 ++-- components/tooltip.jsx | 2 +- components/work-tab.jsx | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/components/about-tab.jsx b/components/about-tab.jsx index cd70fd6..64a798e 100644 --- a/components/about-tab.jsx +++ b/components/about-tab.jsx @@ -1,5 +1,5 @@ -import Link from "next/link"; -import { MdArrowOutward } from "react-icons/md"; +import Link from 'next/link'; +import { MdArrowOutward } from 'react-icons/md'; export default function AboutTab() { const aboutText = 'I’m a 19-year-old high school student and freelancer, passionate about software development and always eager to learn. I dive into various projects, from building efficient Discord bots to exploring web development with Next.js and React.\n\nI’m meticulous about my workflow, using GitHub Actions for automation, optimizing APIs, and implementing caching and validation systems. I like building projects that are useful, like my Discord resource hub and personal portfolio.\n\nI enjoy adding a bit of irony and teasing to keep things fun. Overall, I’m driven by curiosity, continuous improvement, and a love for creating.'; @@ -33,7 +33,7 @@ export default function AboutTab() { About -

+

{aboutText}

@@ -41,20 +41,20 @@ export default function AboutTab() { Contact -
+
{contacts.map(contact => (
- + {contact.label} {contact.text} diff --git a/components/keywords.jsx b/components/keywords.jsx index 47f8b75..8dd8767 100644 --- a/components/keywords.jsx +++ b/components/keywords.jsx @@ -43,7 +43,7 @@ export default function Page() { const isLoading = isDarkMode === 'loading'; return ( -
+
{isLoading ? ( new Array(keywords.length).fill(null).map((_, index) => (
-

+

{item.description}

{item.images?.length > 0 && ( -
+
)} diff --git a/components/tooltip.jsx b/components/tooltip.jsx index 5aefef7..a7a8a01 100644 --- a/components/tooltip.jsx +++ b/components/tooltip.jsx @@ -31,7 +31,7 @@ export default function Tooltip({ children, content, side, sideOffset, hide }) { {content && ( diff --git a/components/work-tab.jsx b/components/work-tab.jsx index 4d34fd5..6256a5f 100644 --- a/components/work-tab.jsx +++ b/components/work-tab.jsx @@ -70,7 +70,7 @@ export default function WorkTab() {
-

+

{item.description}