maybe its fixed

This commit is contained in:
Proxyy587 2024-06-16 17:12:05 +05:30
parent de011cb351
commit 99838cc93d
4 changed files with 45 additions and 104 deletions

View file

@ -212,66 +212,3 @@ footer {
background-repeat: no-repeat; background-repeat: no-repeat;
transition: all 0.3s ease; transition: all 0.3s ease;
} }
.footbootom {
margin-top: 3%;
padding: 0 9%;
display: flex;
justify-content: space-between;
}
.foot-header {
font-size: 2rem;
font-weight: 300;
/* color: rgb(55, 115, 255); */
}
.footimg > img {
width: 64px;
margin: 10px;
border-radius: 50%;
}
.footop a {
text-decoration: none;
font-weight: 300;
font-size: 1rem;
transition: all 0.3s ease;
}
.footbootom h4 {
font-size: 1rem;
font-weight: 300;
}
.footcolum1 > p {
line-height: 1;
font-size: 1.2rem;
font-weight: 300;
transition: all 0.2s ease;
}
.box-socials-foot > a > i {
font-size: 1.6rem;
cursor: pointer;
transition: all 0.3 ease;
}
.footbootom > h4 > a {
font-weight: 600;
text-decoration: none;
}
@media screen and (max-width: 900px) {
footer {
padding: 1% 1%;
background-image: none;
}
.footop {
@apply flex-center text-center flex-col gap-6;
}
.footcolum1 {
@apply flex-center flex-col;
}
.footbootom {
@apply flex-center text-center gap-5 opacity-80;
}
}

View file

@ -6,9 +6,9 @@ import { FOOTERLINKS } from "@/constants";
const Footer = () => { const Footer = () => {
return ( return (
<footer className="flex flex-col px-24 md:px-32 py-10 w-full bg-zinc-100 text-black dark:bg-[#00000738] dark:text-white border-t dark:border-none"> <footer className="flex flex-col px-6 md:px-16 lg:px-32 py-10 w-full bg-zinc-100 text-black dark:bg-[#0308033b] dark:text-white border-t max-md:bg-none transition-all">
<div className="footop flex justify-around items-start mb-14"> <div className="flex flex-col lg:flex-row justify-between md:items-start items-center mb-14">
<div className="flex items-center"> <div className="flex items-center mb-6 lg:mb-0">
<Image <Image
src="/logo.svg" src="/logo.svg"
alt="logo" alt="logo"
@ -24,43 +24,47 @@ const Footer = () => {
className="dark:hidden block" className="dark:hidden block"
/> />
</div> </div>
<div className="footcolum1 flex flex-col items-start justify-center "> <div className="flex flex-col items-center md:items-start md:flex-row justify-between w-full lg:w-auto gap-8 lg:space-y-0 lg:space-x-12">
<h1 className="foot-header font-[700] text-primary">Other Pages</h1> <div className="flex flex-col items-center md:items-start">
{FOOTERLINKS.otherPages.map((link) => ( <h1 className="text-2xl font-light text-primary">Use SvrJs</h1>
<h3 key={link.href}> {FOOTERLINKS.otherPages.map((link) => (
<Link <h3 key={link.href}>
href={link.href} <Link
className="dark:hover:text-green-100/70 hover:text-green-500" href={link.href}
> className="text-base font-light dark:hover:text-green-100/70 hover:text-green-500"
{link.label} >
</Link> {link.label}
</h3> </Link>
))} </h3>
</div> ))}
<div className="footcolum1 flex flex-col items-start justify-center"> </div>
<h1 className="foot-header text-primary">Plans</h1> <div className="flex flex-col items-center md:items-start">
{FOOTERLINKS.plans.map((link) => ( <h1 className="text-2xl font-light text-primary">Other Pages</h1>
<h3 key={link.href}> {FOOTERLINKS.plans.map((link) => (
<Link <h3 key={link.href}>
href={link.href} <Link
className="dark:hover:text-green-100/70 hover:text-green-500" href={link.href}
> className="text-base font-light dark:hover:text-green-100/70 hover:text-green-500"
{link.label} >
</Link> {link.label}
</h3> </Link>
))} </h3>
</div> ))}
<div className="footcolum1 flex flex-col items-start justify-center"> </div>
<h1 className="foot-header text-primary">Social</h1> <div className="flex flex-col items-center md:items-start">
<p>{FOOTERLINKS.social.supportText}</p> <h1 className="text-2xl font-light text-primary">Social</h1>
<div className="box-socials-foot flex py-5"> <p className="text-base font-light">
<Iconss /> {FOOTERLINKS.social.supportText}
</p>
<div className="flex space-x-1 py-3">
<Iconss />
</div>
</div> </div>
</div> </div>
</div> </div>
<div className="line mb-6 border-t dark:border-white/30 border-gray-300"></div> <div className="border-t mb-6 border-gray-300 dark:border-white/30"></div>
<div className="footbootom flex justify-between items-center"> <div className="flex flex-col lg:flex-row justify-between items-center space-y-4 lg:space-y-0 px-4">
<h4 className="text-sm max-md:hidden"> <h4 className="text-sm font-light">
Designed and Developed by{" "} Designed and Developed by{" "}
<Link <Link
href={FOOTERLINKS.footerBottom.designedBy.href} href={FOOTERLINKS.footerBottom.designedBy.href}
@ -69,7 +73,7 @@ const Footer = () => {
{FOOTERLINKS.footerBottom.designedBy.label} {FOOTERLINKS.footerBottom.designedBy.label}
</Link> </Link>
</h4> </h4>
<h4 className="text-sm"> <h4 className="text-sm font-light">
All Rights Reserved{" "} All Rights Reserved{" "}
<Link <Link
href={FOOTERLINKS.footerBottom.rightsReserved.href} href={FOOTERLINKS.footerBottom.rightsReserved.href}

View file

@ -44,7 +44,7 @@ const Hero = () => {
}; };
return ( return (
<section className="relative container grid lg:grid-cols-2 place-items-center py-20 md:py-24 gap-10"> <section className="relative sm:container grid lg:grid-cols-2 place-items-center py-20 md:py-24 gap-10">
<GridPattern <GridPattern
squares={[ squares={[
[4, 4], [4, 4],

View file

@ -120,7 +120,7 @@ export const questions = [
export const FOOTERLINKS = { export const FOOTERLINKS = {
otherPages: [ otherPages: [
{ href: "/", label: "Home" }, { href: "/", label: "Home" },
{ href: "/testimonial", label: "Testimonial" }, { href: "/docs", label: "Docs" },
{ href: "/contact", label: "Contact" }, { href: "/contact", label: "Contact" },
], ],
plans: [ plans: [
@ -138,7 +138,7 @@ export const FOOTERLINKS = {
}, },
rightsReserved: { rightsReserved: {
href: "https://cyprostudio.com", href: "https://cyprostudio.com",
label: "Cypro Studio", label: "SVRJS",
}, },
}, },
}; };