Compare commits

...

14 Commits

Author SHA1 Message Date
victorAnumudu 01eb545687 bug fixed 2024-10-13 07:34:52 +01:00
ameye deb89d1303 Merge branch 'accept-cookies' of WrenchBoard/WrenchBoardMainSite2025 into master 2024-10-12 13:06:51 +00:00
victorAnumudu 4fc97cdd2a accept cookie added and image updated 2024-10-12 09:51:32 +01:00
CHIEFSOFT\ameye 74e8c36c48 bannr image 2024-10-01 10:37:20 -04:00
CHIEFSOFT\ameye 62d4822f96 past due jib image 2024-09-30 10:53:54 -04:00
CHIEFSOFT\ameye 1673e45a9e invite image 2024-09-26 23:45:51 -04:00
CHIEFSOFT\ameye 2fb56cd9f4 learnmore 2024-09-26 21:56:55 -04:00
CHIEFSOFT\ameye ed02d978f3 new banner 2024-09-26 09:21:06 -04:00
CHIEFSOFT\ameye 54dc33aa4d banner-coupons 2024-09-21 08:24:32 -04:00
CHIEFSOFT\ameye 754c54fe28 new images 2024-09-21 08:07:50 -04:00
CHIEFSOFT\ameye c79bc8a7d1 new banners 2024-09-20 22:50:10 -04:00
CHIEFSOFT\ameye 85b92a94d9 https://www.wrenchboard.com/assets/images/apps/banners/banner-waiting.jpg 2024-09-20 22:18:27 -04:00
CHIEFSOFT\ameye 2894d6d25f banner images 2024-09-20 22:02:16 -04:00
ameye f86ab9bd2b Merge branch 'text-bug-fix' of WrenchBoard/WrenchBoardMainSite2025 into master 2024-09-16 21:31:24 +00:00
24 changed files with 83 additions and 7 deletions
+1 -1
View File
@@ -8664,4 +8664,4 @@ LND PAGE STYLE STARTS HERE
.react-multi-carousel-item--active, .slick-center{
transform: scale(1);
transition: all 2s;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

+36
View File
@@ -0,0 +1,36 @@
"use client"
import React, { useEffect, useState } from 'react'
import Cookies from 'js-cookie'
export default function AcceptCookies() {
const [cookies, setCookies] = useState(true)
const acceptCookies = () => {
Cookies.set('useCookies', 'true')
setCookies(true)
}
useEffect(()=>{
const useCookies = Cookies.get('useCookies')
if(useCookies == 'true'){
setCookies(true)
}else{
setCookies(false)
}
},[])
return (
<>
{/* {cookies ?
<></>
: */}
<div className={`${cookies ? 'slide-down' : 'slide-up'} cookies-wrapper position-fixed d-lg-flex justify-content-center align-items-center gap-5 p-2`}>
<p className='m-0'>
This website uses cookies to provide you the best experience possible, as well as for tracking performance and marketing purposes. You can check our privacy policy for more information. By clicking &#x275B;&#x275B;Confirm&#x275C;&#x275C; or by continuing to use our website, you consent to our use of cookies.
</p>
<button onClick={acceptCookies} className='px-5 py-2'>Accept</button>
</div>
{/* } */}
</>
)
}
+3 -3
View File
@@ -3,7 +3,7 @@ import React from 'react';
import Image from 'next/image'
import heroThumbTwo from '../assets/images/app-pic.png';
import AI from '../assets/images/home/ai-assist.png'
import AI from '../assets/images/home/ai-assisted.png'
import CustomSlider from './customSlider/CustomSlider'
@@ -76,8 +76,8 @@ function HeroHomeOne() {
>
<Image
src={AI}
width={'100%'}
height={'100%'}
width={'150'}
height={'150'}
alt="Image"
/>
</div>
-1
View File
@@ -16,7 +16,6 @@ import SelectFeatures from "@/app/components/SelectFeatutes";
function HomeOne() {
return (
<>
+1 -1
View File
@@ -231,7 +231,7 @@ function SelectFeatures({ className }) {
Fund <br /> wallets
</h3>
<p>
Take control and feel secure by creating a virtual or physical card, allocating funds, and managing wallets for your kids. .
Take control and feel secure by creating a virtual or physical card, allocating funds, and managing wallets for your kids.
</p>
<a className="main-btn" href="#">
Learn More
+36
View File
@@ -100,6 +100,42 @@ a {
text-decoration: none;
}
/* ACCEPT COOKIE SLIDE UP EFFECT */
.cookies-wrapper{
width: 90%;
left: 50%;
transform: translateX(-50%);
background-color: white;
box-shadow: 0px 0px 1px black;
z-index: 999;
}
.slide-up {
animation: slideup 1s linear forwards;
}
.slide-down {
animation: slidedown 1s linear forwards;
}
@keyframes slideup {
0%{bottom: -50%;}
100%{bottom: 0;}
}
@keyframes slidedown {
0%{bottom: 0;}
100%{bottom: -50%; display: none;}
}
@media only screen and (max-width: 992px) {
.cookies-wrapper p, .cookies-wrapper button {
font-size: 14px;
line-height: 20px;
}
}
/* END ACCEPT COOKIE SLIDE UP EFFECT */
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
+5 -1
View File
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import Script from "next/script";
import AcceptCookies from "./components/AcceptCookies";
const inter = Inter({ subsets: ["latin"] });
@@ -31,7 +32,10 @@ export default function RootLayout({
/>
<meta property="og:image" content="%PUBLIC_URL%/favicon-32x32.png" />
<body className={inter.className}>{children}</body>
<body className={inter.className}>
{children}
<AcceptCookies />
</body>
<Script id='chat-support'>
{`
var LHC_API = LHC_API || {};
+1
View File
@@ -11,6 +11,7 @@
"dependencies": {
"axios": "^1.7.2",
"caniuse-lite": "^1.0.30001651",
"js-cookie": "^3.0.5",
"next": "14.2.5",
"react": "^18",
"react-dom": "^18",
Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB