From 5b1400e14b6370558fcd3bb105bf0d7d52da376d Mon Sep 17 00:00:00 2001 From: Cypro Freelance <110410268+Proxyy587@users.noreply.github.com> Date: Fri, 26 Jul 2024 00:53:26 +0530 Subject: [PATCH] minor design changes --- components/shared/About.tsx | 66 +++++++++++++-------------- components/shared/HowItWorks.tsx | 54 +++++++++++------------ components/shared/Navbar.tsx | 2 +- components/shared/Partners.tsx | 71 ++++++++++++++++-------------- components/shared/Testimonials.tsx | 2 +- 5 files changed, 99 insertions(+), 96 deletions(-) diff --git a/components/shared/About.tsx b/components/shared/About.tsx index 30b5151..fad7e17 100644 --- a/components/shared/About.tsx +++ b/components/shared/About.tsx @@ -3,40 +3,40 @@ import React from "react"; import Statistics from "./Statistics"; const About = () => { - return ( -
-
-
- aboutpicture + return ( +
+
+
+ aboutpicture -
-
-

- About{" "} - - SVRJS! - -

-

- Host a webpage, run server-side JavaScript, use mods to expand - server functionality, or use it as a forward or reverse proxy. - SVRJS is a web server that runs on top of Node.JS, enabling - server-side JS on webpages. SVRJS also has an integrated log - viewer, log highlighter, and user management tool. -

-
- -
-
-
-
- ); +
+
+

+ About{" "} + + SVRJS! + +

+

+ Host a webpage, run server-side JavaScript, use mods to expand + server functionality, or use it as a forward or reverse proxy. + SVRJS is a web server that runs on top of Node.JS, enabling + server-side JS on webpages. SVRJS also has an integrated log + viewer, log highlighter, and user management tool. +

+
+ +
+
+
+
+ ); }; export default About; diff --git a/components/shared/HowItWorks.tsx b/components/shared/HowItWorks.tsx index abeec59..5e73a1a 100644 --- a/components/shared/HowItWorks.tsx +++ b/components/shared/HowItWorks.tsx @@ -3,33 +3,33 @@ import React from "react"; import { Card, CardContent, CardHeader, CardTitle } from "../ui/card"; const HowItWorks = () => { - return ( -
-

- Accelerate your{" "} - - development - -

-

- Beautifully designed components that you can copy and paste into your - apps. Accessible. Customizable. Open Source. -

-
- {Features.map(({ icon, title, description }) => ( - - - - {icon} - {title} - - - {description} - - ))} -
-
- ); + return ( +
+

+ Accelerate your{" "} + + development + +

+

+ Beautifully designed components that you can copy and paste into your + apps. Accessible. Customizable. Open Source. +

+
+ {Features.map(({ icon, title, description }) => ( + + + + {icon} + {title} + + + {description} + + ))} +
+
+ ); }; export default HowItWorks; diff --git a/components/shared/Navbar.tsx b/components/shared/Navbar.tsx index 228387b..3df247b 100644 --- a/components/shared/Navbar.tsx +++ b/components/shared/Navbar.tsx @@ -38,7 +38,7 @@ const Navbar = () => { href={href} target={target} className={`text-[17px] tracking-tight ${ - pathname == href ? "bg-accent/40" : "" + pathname == href ? "bg-muted-foreground/20" : "" } ${buttonVariants({ variant: "ghost", })}`} diff --git a/components/shared/Partners.tsx b/components/shared/Partners.tsx index b891fa9..c6d3c48 100644 --- a/components/shared/Partners.tsx +++ b/components/shared/Partners.tsx @@ -6,41 +6,44 @@ import Link from "next/link"; import { useRouter } from "next/navigation"; const Partners = () => { - const router = useRouter(); - const handleClick = () => { - router.push("/docs"); - }; - return ( -
-

- SVRJS in action -

-
-
-

- Process of setting up a WordPress website running on SVR.JS. -

- -
-
+ const router = useRouter(); + const handleClick = () => { + router.push("/docs"); + }; + return ( +
+

+ + SVRJS + {" "} + in action +

+
+
+

+ Process of setting up a WordPress website running on SVR.JS. +

+ +
+
- -
-
- ); + +
+
+ ); }; export default Partners; diff --git a/components/shared/Testimonials.tsx b/components/shared/Testimonials.tsx index 22aa629..66e504e 100644 --- a/components/shared/Testimonials.tsx +++ b/components/shared/Testimonials.tsx @@ -81,7 +81,7 @@ const Testimonials = () => {

Hear it from{" "} - + our users