From 8411e4681177a2f890d339f6a2d685cd28e9e527 Mon Sep 17 00:00:00 2001 From: Craig Date: Tue, 15 Apr 2025 16:13:22 +0100 Subject: [PATCH] Remove ContactUs component and associated styles: delete ContactUs.tsx and ContactUs.module.css files to streamline the codebase. --- .../components/ContactUs/ContactUs.module.css | 64 ------------------ .../src/components/ContactUs/ContactUs.tsx | 66 ------------------- 2 files changed, 130 deletions(-) delete mode 100644 frontend/vite-template-master/src/components/ContactUs/ContactUs.module.css delete mode 100644 frontend/vite-template-master/src/components/ContactUs/ContactUs.tsx diff --git a/frontend/vite-template-master/src/components/ContactUs/ContactUs.module.css b/frontend/vite-template-master/src/components/ContactUs/ContactUs.module.css deleted file mode 100644 index e402a66..0000000 --- a/frontend/vite-template-master/src/components/ContactUs/ContactUs.module.css +++ /dev/null @@ -1,64 +0,0 @@ -.wrapper { - min-height: 400px; - background-image: linear-gradient( - -60deg, - var(--mantine-color-blue-4) 0%, - var(--mantine-color-blue-7) 100% - ); - border-radius: var(--mantine-radius-md); - padding: calc(var(--mantine-spacing-xl) * 2.5); - - @media (max-width: $mantine-breakpoint-sm) { - padding: calc(var(--mantine-spacing-xl) * 1.5); - } - } - - .title { - font-family: - "Greycliff CF", - var(--mantine-font-family); - color: var(--mantine-color-white); - line-height: 1; - } - - .description { - color: var(--mantine-color-blue-0); - max-width: 300px; - - @media (max-width: $mantine-breakpoint-sm) { - max-width: 100%; - } - } - - .form { - background-color: var(--mantine-color-white); - padding: var(--mantine-spacing-xl); - border-radius: var(--mantine-radius-md); - box-shadow: var(--mantine-shadow-lg); - } - - .social { - color: var(--mantine-color-white); - - @mixin hover { - color: var(--mantine-color-blue-1); - } - } - - .input { - background-color: var(--mantine-color-white); - border-color: var(--mantine-color-gray-4); - color: var(--mantine-color-black); - - &::placeholder { - color: var(--mantine-color-gray-5); - } - } - - .inputLabel { - color: var(--mantine-color-black); - } - - .control { - background-color: var(--mantine-color-blue-6); - } \ No newline at end of file diff --git a/frontend/vite-template-master/src/components/ContactUs/ContactUs.tsx b/frontend/vite-template-master/src/components/ContactUs/ContactUs.tsx deleted file mode 100644 index 071f2aa..0000000 --- a/frontend/vite-template-master/src/components/ContactUs/ContactUs.tsx +++ /dev/null @@ -1,66 +0,0 @@ -import { TbBrandInstagram, TbBrandTwitter, TbBrandYoutube } from 'react-icons/tb'; -import { - ActionIcon, - Button, - Group, - SimpleGrid, - Text, - Textarea, - TextInput, - Title, -} from '@mantine/core'; -import { ContactIconsList } from './ContactIcons'; -import classes from './ContactUs.module.css'; - -const social = [TbBrandInstagram, TbBrandTwitter, TbBrandYoutube]; - -export function ContactUs() { - const icons = social.map((Icon, index) => ( - - - - )); - - return ( -
- -
- Contact us - - Get in touch - - - - - {icons} -
-
- - -