diff --git a/apollo-server.mjs b/apollo-server.mjs index 2775645..c49a4b5 100644 --- a/apollo-server.mjs +++ b/apollo-server.mjs @@ -80,7 +80,7 @@ const startApolloServer = async () => { await server.start(); server.applyMiddleware({ app, path: '/graphql' }); - const PORT = 4000; + const PORT = 5000; app.listen(PORT, () => { console.log(`🚀 Server ready at http://localhost:${PORT}${server.graphqlPath}`); }); diff --git a/src/app/home/page.tsx b/src/app/home/page.tsx index 455cd30..9100535 100644 --- a/src/app/home/page.tsx +++ b/src/app/home/page.tsx @@ -166,7 +166,7 @@ return ( unoptimized={true} className=" -left-1 logo-44 relative hidden lg:block md:block w-20 h-auto z-50 text-white/70" alt="ISTE Logo" / > -
+
PRODYOGIKI'25
diff --git a/src/app/members/page.jsx b/src/app/members/page.jsx index a20411d..af8062d 100644 --- a/src/app/members/page.jsx +++ b/src/app/members/page.jsx @@ -8,11 +8,11 @@ import Image from 'next/image'; import { motion, useScroll } from 'framer-motion'; import Navbar from '@/components/navbar1'; import Footer from '../../components/footer'; -import Loader from "../../components/loader"; // Import the loader component +import Loader from "../../components/loader"; import SkeletonLoader from "../../components/skeltonloader"; const client = new ApolloClient({ - uri: process.env.GRAPH_QL_URI || 'https://images.istenith.com/graphql/', + uri: process.env.GRAPH_QL_URI || 'http://localhost:5000/graphql', cache: new InMemoryCache(), }); @@ -91,15 +91,15 @@ const Team = () => { />
-
ISTE NITH
+
ISTE NITH
-
+
{filteredProfiles.map((details, index) => ( { ))}
-
+
- {/* Conditionally display either the year or "INCHARGE" */} {initialYear === 'FI' ? ( -
FACULTY
-
INCHARGE
+
+
FACULTY
+
INCHARGE
+
) : ( <>
{initialYear.toUpperCase()}
@@ -168,22 +169,22 @@ const Team = () => {
-
- +
+
- +
- +
- +
- +
- +
@@ -195,7 +196,7 @@ const Team = () => { ); }; -const TeamWithApollo = () => ( +const TeamWithApollo = () => (