From 7f5e344b2595413af6c648a187d7cb92e72b7cd0 Mon Sep 17 00:00:00 2001 From: moonlightnexus <68702919+moonlightnexus@users.noreply.github.com> Date: Wed, 15 Nov 2023 22:11:52 +0530 Subject: [PATCH] Revert "Revert "fix: replaced all img with next/image"" --- src/app/accessManagement/page.tsx | 9 ++-- src/app/systems/page.tsx | 6 +-- src/components/Customize.tsx | 7 ++-- src/components/Dropdown.tsx | 1 + src/components/LandingHero.tsx | 5 +-- src/components/Showcase.tsx | 16 +++---- src/components/Timeline.tsx | 51 ++++++++++++----------- src/components/interactivePrism/index.tsx | 2 +- 8 files changed, 50 insertions(+), 47 deletions(-) diff --git a/src/app/accessManagement/page.tsx b/src/app/accessManagement/page.tsx index f9a7fcb..f50aaf3 100644 --- a/src/app/accessManagement/page.tsx +++ b/src/app/accessManagement/page.tsx @@ -1,5 +1,6 @@ import React from "react"; import Footer from "../../components/Footer"; +import Image from "next/image"; function AccessManagement() { return ( @@ -29,13 +30,13 @@ function AccessManagement() {
- +
- +
@@ -77,13 +78,13 @@ function AccessManagement() {
- +
- +
diff --git a/src/app/systems/page.tsx b/src/app/systems/page.tsx index 4868ac4..817c283 100644 --- a/src/app/systems/page.tsx +++ b/src/app/systems/page.tsx @@ -24,7 +24,7 @@ function Systems() {
- gridphotos
- gridphotos - gridphotos
{/* replace thsi with shadcn avatar compnent in regular codebase */} -
{/* replace thsi with shadcn avatar compnent in regular codebase */} -
{/* replace thsi with shadcn avatar compnent in regular codebase */} - - {/*Hero Heading*/} -

+

TrustAuthX
Low-Code Auth
Infra for the Web.

{/*CTA*/} -
+
- Depl

- - {/* things to make the background */} - - - - -
- + - + - + - + - + - + - +
@@ -162,24 +163,24 @@ function Timeline() {
- + -
- + - + - + - - - - + + + +
{/* required */} @@ -331,15 +332,15 @@ function Timeline() {
- - - - + + + +
- +
@@ -363,8 +364,8 @@ function Timeline() {
- - + +
@@ -470,7 +471,7 @@ function GradientCard({ return (
-
- +
{header}
diff --git a/src/components/interactivePrism/index.tsx b/src/components/interactivePrism/index.tsx index 9a3790b..4b02c04 100644 --- a/src/components/interactivePrism/index.tsx +++ b/src/components/interactivePrism/index.tsx @@ -68,7 +68,7 @@ export default function InteractivePrism({ triggerOnce: false, // Change to true if you want to render only once }); return ( -
+
{inView && (