diff --git a/package.json b/package.json
index b3514da..c85c6c8 100644
--- a/package.json
+++ b/package.json
@@ -23,6 +23,7 @@
"postcss": "^8.4.33",
"react": "^18.2.0",
"react-dom": "^18.2.0",
+ "react-fast-marquee": "^1.6.4",
"react-katex": "^3.0.1",
"react-markdown": "^9.0.1",
"react-scroll-percentage": "^4.3.2",
diff --git a/src/components/Mutuals.tsx b/src/components/Mutuals.tsx
index f0c5685..98ce458 100644
--- a/src/components/Mutuals.tsx
+++ b/src/components/Mutuals.tsx
@@ -1,16 +1,22 @@
+import Marquee from "react-fast-marquee";
+
export default function Mutuals() {
- const noImageBanner = `border border-4 inline-block border-lime-300 bg-slate-200 pt-1.5 w-fit px-3 text-black h-12 font-extrabold`
- const globalBanner = `h-12 inline`
+ const noImageBanner = `border border-4 border-fuchsia-300 bg-slate-200 pt-1.5 px-3 text-black h-12 font-bold block min-w-56 text-center text-2xl font-serif`
+ const globalBanner = `h-12 inline-block`
return (
-
-
-
+
-
-
+
)
}
-
\ No newline at end of file
diff --git a/src/components/Theme.tsx b/src/components/Theme.tsx
index fcfeead..0e00f73 100644
--- a/src/components/Theme.tsx
+++ b/src/components/Theme.tsx
@@ -32,19 +32,19 @@ type Props = {
};
export const ThemeSwitcher = () => {
- const {theme, toggleTheme} = useTheme();
+ const { theme, toggleTheme } = useTheme();
return (
)
diff --git a/tailwind.config.js b/tailwind.config.js
index 777bd34..2a11ef4 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -6,17 +6,7 @@ export default {
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
- extend: {
- animation: {
- marquee: 'marquee 30s linear infinite'
- },
- keyframes: {
- marquee: {
- '0%': { transform: 'translateX(100%)' },
- '100%': { transform: 'translateX(-160%)' }
- }
- }
- },
+ extend: {},
},
plugins: [
require('@tailwindcss/typography'),