= ({ children, label, position }) =
left: 'right-full top-1/2 -translate-y-1/2',
right: 'left-full top-1/2 -translate-y-1/2',
}
- const tooltipPosition:string = tooltipStyles[position]
+ const tooltipPosition: string = tooltipStyles[position]
const tooltipClass = `pointer-events-none absolute mt-2 whitespace-nowrap rounded bg-slate-800 px-2 py-1 text-xs text-slate-100 opacity-0 transition before:absolute before:left-1/2 before:top-full before:-translate-x-1/2 before:border-4 before:border-transparent before:border-t-slate-800 before:content-[''] group-hover:opacity-100 ${tooltipPosition}`
return (
{children}
-
- {label}
-
+ {label}
)
}
diff --git a/frontend/src/index.css b/frontend/src/index.css
index bd6213e..b5c61c9 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -1,3 +1,3 @@
@tailwind base;
@tailwind components;
-@tailwind utilities;
\ No newline at end of file
+@tailwind utilities;
diff --git a/frontend/src/pages/Projects.tsx b/frontend/src/pages/Projects.tsx
index 6170e24..d4e3f82 100644
--- a/frontend/src/pages/Projects.tsx
+++ b/frontend/src/pages/Projects.tsx
@@ -98,15 +98,15 @@ const Projects = () => {
{project.links.map((link, linkIndex) => (
))}
diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js
index d9b73a2..210a735 100644
--- a/frontend/tailwind.config.js
+++ b/frontend/tailwind.config.js
@@ -1,10 +1,7 @@
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
- content: [
- "./index.html",
- "./src/**/*.{js,ts,jsx,tsx}",
- ],
+ content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {},
},
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index 1ffef60..d32ff68 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -1,7 +1,4 @@
{
"files": [],
- "references": [
- { "path": "./tsconfig.app.json" },
- { "path": "./tsconfig.node.json" }
- ]
+ "references": [{ "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" }]
}