diff --git a/frontend/src/components/Pages/Home.jsx b/frontend/src/components/Pages/Home.jsx index a37bf94c..df0c497c 100644 --- a/frontend/src/components/Pages/Home.jsx +++ b/frontend/src/components/Pages/Home.jsx @@ -4,6 +4,7 @@ import FeedbackForm from '../ui/FeedbackForm'; import About from './About'; import React, { useEffect } from 'react'; import MainHOC from '../MainHOC'; +import Google from '../Shared/footer/Google'; function Home() { useEffect(() => { diff --git a/frontend/src/components/Shared/Navbar.jsx b/frontend/src/components/Shared/Navbar.jsx index 260a1386..1c6e0a2a 100644 --- a/frontend/src/components/Shared/Navbar.jsx +++ b/frontend/src/components/Shared/Navbar.jsx @@ -2,6 +2,7 @@ import { useState, useEffect } from 'react'; import Logo from '../../assets/Logo/playcafe.png'; import { Link, useLocation, useNavigate } from 'react-router-dom'; import Cookies from 'js-cookie'; +import Google from './footer/Google'; import ThemeToggle from '../../components/ThemeToggle'; const Navbar = () => { diff --git a/frontend/src/components/Shared/footer/Content.jsx b/frontend/src/components/Shared/footer/Content.jsx index f682a278..3364b425 100644 --- a/frontend/src/components/Shared/footer/Content.jsx +++ b/frontend/src/components/Shared/footer/Content.jsx @@ -49,7 +49,9 @@ const Section2 = () => { > BoardGame Cafe{!isWide &&
} -

©2024 by Sip & Play

+

+ ©2024 by Sip & Play +

@@ -108,10 +110,10 @@ const Nav = () => { const emailAddress = 'sipnplaynyc@gmail.com'; return ( -
+
-

About

+

About

{navLinks.map((item, index) => ( { ))}
+
-

Socials

+

Socials

{socialLink.map((item, index) => ( { ))}
+
-

Contact Us

+

Contact Us

{ style={{ clipPath: 'polygon(0% 0, 100% 0%, 100% 100%, 0 100%)' }} >
-
+
diff --git a/frontend/src/components/Shared/footer/Google.jsx b/frontend/src/components/Shared/footer/Google.jsx index 33443e9b..22810b83 100644 --- a/frontend/src/components/Shared/footer/Google.jsx +++ b/frontend/src/components/Shared/footer/Google.jsx @@ -8,7 +8,7 @@ const Google = () => { } else { new window.google.translate.TranslateElement({ pageLanguage: 'en', - includedLanguages: 'en,hi,ur,es,ja,ko,zh-CN,nl,fr,de,it,ta,te,ru,ar,pt,th', + includedLanguages: 'en,hi,mr,ur,es,ja,ko,zh-CN,nl,fr,de,it,ta,te,ru,ar,pt,th', layout: window.google.translate.TranslateElement.InlineLayout.HORIZONTAL, defaultLanguage: 'en', autoDisplay: false, @@ -56,12 +56,12 @@ const Google = () => { .goog-te-combo { background-color: #f0f8ff; /* Soft blue background */ border-radius: 0.3rem; /* Rounded corners */ - padding: 0.5rem; - font-size: 1.175rem; + padding: 8px 4px; + font-size: 1.1rem; transition: all 0.3s ease-in-out; /* Smooth transition */ outline: none; color: #007bff; /* Blue text */ - font-weight: 500; /* Tailwind: font-medium */ + font-weight: 400; /* Tailwind: font-medium */ cursor: pointer; text-align:center; } @@ -70,7 +70,6 @@ const Google = () => { background-color: #e6f0ff; /* Lighter blue on hover */ border-color: #0056b3; /* Darker blue on hover */ color: #0056b3; /* Darker blue text */ - transform: scale(1.05); /* Slight scale effect */ } .goog-logo-link {