diff --git a/public/grid-dark.svg b/public/grid-dark.svg new file mode 100644 index 0000000..3a554fb --- /dev/null +++ b/public/grid-dark.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/components/CustomLayout.tsx b/src/components/CustomLayout.tsx index 2b551c2..d9610f6 100644 --- a/src/components/CustomLayout.tsx +++ b/src/components/CustomLayout.tsx @@ -10,12 +10,11 @@ type Props = { const CustomLayout = ({ children, withMenu }: Props) => { return ( <> -
-
+
+
+
- {/* Corrected the class name for "md:hidden" */}
- {/* Corrected the class name for "md:visible" */}
@@ -23,6 +22,7 @@ const CustomLayout = ({ children, withMenu }: Props) => {
+ ); }; diff --git a/src/components/Menu/Menu.tsx b/src/components/Menu/Menu.tsx index bec3a7e..8ff6056 100644 --- a/src/components/Menu/Menu.tsx +++ b/src/components/Menu/Menu.tsx @@ -1,54 +1,54 @@ -import { neonBlanc, neonPurple } from '@/components/neonStyles' -import Link from 'next/link' -import { useRouter } from 'next/router' -import React from 'react' +import { neonBlanc, neonPurple, neonBlack, neonBlue } from '@/components/neonStyles'; +import Link from 'next/link'; +import { useRouter } from 'next/router'; +import React from 'react'; -type Props = {} +type Props = {}; export default function Menu({ }: Props) { const router = useRouter(); return ( -
+
About Posters Matthys.Dev Video Contact
- ) -} \ No newline at end of file + ); +} diff --git a/src/components/neonStyles.ts b/src/components/neonStyles.ts index e1c3c4b..53cb418 100644 --- a/src/components/neonStyles.ts +++ b/src/components/neonStyles.ts @@ -7,6 +7,9 @@ export const neonBlue = { export const neonPurple = { textShadow: '1px 1px 2px purple, 0 0 1em purple, 0 0 0.2em purple', }; +export const neonBlack = { + textShadow: '1px 1px 2px black, 0 0 1em black, 0 0 0.2em black', +}; export const neonBlanc = { textShadow: '0.3px 0.3px 0.3px white, 0 0 0.3em white, 0 0 0.05em white', diff --git a/src/pages/posters.tsx b/src/pages/posters.tsx index 4d074dd..025442c 100644 --- a/src/pages/posters.tsx +++ b/src/pages/posters.tsx @@ -16,12 +16,12 @@ export default function posters({ }: Props) { return ( - Matthys.dev | Posters {/* Setting the title metadata */} + Matthys.dev | Posters
-
+

Human animals collection

diff --git a/tailwind.config.ts b/tailwind.config.ts index 1af3b8f..a8923fa 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -10,11 +10,25 @@ const config: Config = { extend: { backgroundImage: { 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', - 'gradient-conic': - 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', + 'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', }, + // Optionally extend other theme properties here }, }, - plugins: [], + plugins: [ + // Define a custom plugin for the neonBlack text shadow + function ({ addUtilities }: any) { + const newUtilities = { + '.neon-black': { + textShadow: '1px 1px 1px black, 0 0 1em black, 0 0 0.1em black', + }, + '.neon-white': { + textShadow: '0.3px 0.3px 0.3px white, 0 0 0.3em white, 0 0 0.05em white', + } + }; + addUtilities(newUtilities, ['responsive', 'hover']); + }, + ], } + export default config