diff --git a/app/(pages)/(index-page)/_components/Everyone/Everyone.tsx b/app/(pages)/(index-page)/_components/Everyone/Everyone.tsx index 30690532..deeed4d5 100644 --- a/app/(pages)/(index-page)/_components/Everyone/Everyone.tsx +++ b/app/(pages)/(index-page)/_components/Everyone/Everyone.tsx @@ -1,5 +1,6 @@ import styles from './Everyone.module.scss'; import React from 'react'; +import AutoImage from '@components/AutoImage/AutoImage'; const Everyone = () => { return ( @@ -14,10 +15,13 @@ const Everyone = () => { previous experience required.

- cowsit +
- topleaf +
diff --git a/app/(pages)/(index-page)/_components/Landing/_components/Form/Form.tsx b/app/(pages)/(index-page)/_components/Landing/_components/Form/Form.tsx index 677bd77b..39750042 100644 --- a/app/(pages)/(index-page)/_components/Landing/_components/Form/Form.tsx +++ b/app/(pages)/(index-page)/_components/Landing/_components/Form/Form.tsx @@ -1,7 +1,7 @@ import styles from './Form.module.scss'; import { CiCalendar } from 'react-icons/ci'; import WordCycle from './_components/WordCycle'; -import Link from 'next/link'; +// import Link from 'next/link'; export default function Form() { return ( diff --git a/app/(pages)/_components/AutoImage/AutoImage.tsx b/app/(pages)/_components/AutoImage/AutoImage.tsx new file mode 100644 index 00000000..0b79a561 --- /dev/null +++ b/app/(pages)/_components/AutoImage/AutoImage.tsx @@ -0,0 +1,27 @@ +import Image from 'next/image'; + +export default function AutoImage({ + height: _, + width: __, + src, + alt, + style, + ...rest +}: { + height?: number; + width?: number; + src: string; + alt: string; + style?: object; +}) { + return ( + {alt} + ); +} diff --git a/app/(pages)/about-us/_components/About/About.tsx b/app/(pages)/about-us/_components/About/About.tsx index 06aac630..7bc53cd2 100644 --- a/app/(pages)/about-us/_components/About/About.tsx +++ b/app/(pages)/about-us/_components/About/About.tsx @@ -1,5 +1,6 @@ import React from 'react'; import styles from './About.module.scss'; // The name of your CSS module file +import AutoImage from '@components/AutoImage/AutoImage'; const About = () => { return ( @@ -13,7 +14,7 @@ const About = () => { grow in an inclusive environment.
- Cow { experience and an opportunity to explore a new discipline.
- Froggy +
@@ -45,7 +46,7 @@ const About = () => { local and global communities.
- Bunny +
diff --git a/app/(pages)/about-us/_components/Hello/Hello.tsx b/app/(pages)/about-us/_components/Hello/Hello.tsx index ae1017c0..b0ccad6b 100644 --- a/app/(pages)/about-us/_components/Hello/Hello.tsx +++ b/app/(pages)/about-us/_components/Hello/Hello.tsx @@ -1,5 +1,6 @@ import styles from './Hello.module.scss'; import React from 'react'; +import AutoImage from '@components/AutoImage/AutoImage'; const Hello = () => { return ( @@ -12,7 +13,7 @@ const Hello = () => {

- Banner image +
); diff --git a/app/(pages)/about-us/_components/Sponsor/Card.tsx b/app/(pages)/about-us/_components/Sponsor/Card.tsx index b0d21031..c6db5f21 100644 --- a/app/(pages)/about-us/_components/Sponsor/Card.tsx +++ b/app/(pages)/about-us/_components/Sponsor/Card.tsx @@ -1,5 +1,6 @@ import React from 'react'; import styles from './Sponsor.module.scss'; +import AutoImage from '@/app/(pages)/_components/AutoImage/AutoImage'; type CardProps = { imageUrl: string; @@ -17,12 +18,12 @@ const Card: React.FC = ({ return (
- Polaroid frame - {title} { const cards = [ @@ -70,7 +71,7 @@ const Sponsor = () => { Sponsor 2024
-