Skip to content

Commit de5f4bb

Browse files
committed
FI image added
1 parent f4e1dae commit de5f4bb

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

apollo-server.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const startApolloServer = async () => {
8080
await server.start();
8181
server.applyMiddleware({ app, path: '/graphql' });
8282

83-
const PORT = 4000;
83+
const PORT = 5000;
8484
app.listen(PORT, () => {
8585
console.log(`🚀 Server ready at http://localhost:${PORT}${server.graphqlPath}`);
8686
});

src/app/home/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ return (
166166
unoptimized={true}
167167
className=" -left-1 logo-44 relative hidden lg:block md:block w-20 h-auto z-50 text-white/70" alt="ISTE Logo" / >
168168
<Link href="https://prody.istenith.com/" target="_blank" rel="noopener noreferrer">
169-
<div className='text-white text-4xl font-barlow absolute lg:right-8 lg:top-7 top-20'>
169+
<div className='text-white text-4xl font-barlowb absolute lg:right-8 lg:top-7 top-20'>
170170
<span className="coming-soon text-4xl">PRODYOGIKI'25</span>
171171
</div>
172172
</Link>

src/app/members/page.jsx

+18-17
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import Image from 'next/image';
88
import { motion, useScroll } from 'framer-motion';
99
import Navbar from '@/components/navbar1';
1010
import Footer from '../../components/footer';
11-
import Loader from "../../components/loader"; // Import the loader component
11+
import Loader from "../../components/loader";
1212
import SkeletonLoader from "../../components/skeltonloader";
1313

1414
const client = new ApolloClient({
15-
uri: process.env.GRAPH_QL_URI || 'https://images.istenith.com/graphql/',
15+
uri: process.env.GRAPH_QL_URI || 'http://localhost:5000/graphql',
1616
cache: new InMemoryCache(),
1717
});
1818

@@ -91,15 +91,15 @@ const Team = () => {
9191
/>
9292
<div className="min-h-screen bg-[#171616] text-white">
9393
<div className="bg-[#171616] lg:w-full top-0 z-50">
94-
<div className="lg:ml-16 mx-auto lg:px-0 pt-20 text-[50px] md:text-6xl font-actor text-center lg:text-start">ISTE NITH</div>
94+
<div className="lg:ml-16 mx-auto lg:px-0 pt-20 text-[50px] md:text-6xl font-actor text-center lg:text-start">ISTE NITH</div>
9595
<div className="border-t-2 border-white mx-auto -mt-2 lg:my-1 w-10/12 lg:w-11/12"></div>
9696
</div>
9797

9898
<div className="flex flex-col-reverse lg:flex-row mt-16 pt-24 lg:pt-0 lg:mt-10">
99-
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 lg:gap-4 w-full md:w-full lg:w-9/12 lg:mx-12">
99+
<div className={`grid ${ 'grid-cols-1 md:grid-cols-2 lg:grid-cols-4 lg:gap-4'} w-full md:w-full lg:w-9/12 lg:mx-12`}>
100100
{filteredProfiles.map((details, index) => (
101101
<motion.div
102-
className="w-full mb-6 md:mb-8 lg:mb-0"
102+
className={`${initialYear === 'w-full mb-6 md:mb-8 lg:mb-0'}`}
103103
key={`${initialYear}-${index}`}
104104
initial={{ opacity: 0, y: 30 }}
105105
animate={{ opacity: 1, y: 0 }}
@@ -151,12 +151,13 @@ const Team = () => {
151151
))}
152152
</div>
153153

154-
<div className="flex flex-col items-center lg:items-start lg:right-12 lg:mt-0 -mt-36 ">
154+
<div className="flex flex-col items-center lg:items-start lg:right-12 lg:mt-0 -mt-36">
155155
<div className={`font-barlow ${getFontSize(initialYear)} font-f2 flex flex-row lg:flex-col items-center lg:items-start text-center lg:text-left`}>
156-
{/* Conditionally display either the year or "INCHARGE" */}
157156
{initialYear === 'FI' ? (
158-
<div className='flex flex-col text-4xl'> <div className=''>FACULTY</div>
159-
<div className='mt-1'>INCHARGE</div></div>
157+
<div className="flex flex-col text-4xl">
158+
<div>FACULTY</div>
159+
<div className="mt-1">INCHARGE</div>
160+
</div>
160161
) : (
161162
<>
162163
<div>{initialYear.toUpperCase()}</div>
@@ -168,22 +169,22 @@ const Team = () => {
168169
<div className="flex flex-col items-center lg:items-start w-full mt-0 mb-8 lg:mt-80">
169170
<div className="sm:border-t-2 sm:border-white sm:w-3/4 lg:w-full mx-auto mb-4"></div>
170171
<div className="grid grid-cols-2 gap-4 lg:grid-cols-1 lg:gap-0 lg:-ml-8 sm:ml-0">
171-
<div className="border-2 lg:border-hidden border-white rounded-lg sm:p-2 lg:p-0 lg:text-2xl text-1.3xl transition-transform transform font-actor hover:scale-105">
172-
<button onClick={() => setYear('FI')} className="w-full ">FI ISTE</button>
172+
<div className="border-2 lg:border-hidden border-white rounded-lg sm:p-2 lg:p-0 lg:text-2xl text-1.3xl transition-transform transform font-actor hover:scale-105">
173+
<button onClick={() => setYear('FI')} className="w-full">FI ISTE</button>
173174
</div>
174175
<div className="border-2 lg:border-hidden border-white rounded-lg sm:p-2 lg:p-0 lg:text-2xl text-1.3xl text-center transition-transform transform font-actor hover:scale-105">
175-
<button onClick={() => setYear('final')} className="w-full ">FINAL YEAR</button>
176+
<button onClick={() => setYear('final')} className="w-full">FINAL YEAR</button>
176177
</div>
177178
<div className="border-2 lg:border-hidden border-white rounded-lg sm:p-2 lg:p-0 lg:text-2xl text-1.3xl text-center transition-transform font-actor transform hover:scale-105">
178-
<button onClick={() => setYear('Third')} className="w-full ">THIRD YEAR</button>
179+
<button onClick={() => setYear('Third')} className="w-full">THIRD YEAR</button>
179180
</div>
180181
<div className="border-2 border-white lg:border-hidden rounded-lg sm:p-2 lg:ml-8 lg:p-0 lg:text-2xl text-1.3xl text-center transition-transform font-actor transform hover:scale-105">
181-
<button onClick={() => setYear('second')} className="w-full ">SECOND YEAR</button>
182+
<button onClick={() => setYear('second')} className="w-full">SECOND YEAR</button>
182183
</div>
183184
<div className="border-2 border-white lg:border-hidden rounded-lg sm:p-2 lg:p-0 lg:text-2xl text-1.3xl text-center transition-transform font-actor transform hover:scale-105">
184-
<button onClick={() => setYear('first')} className="w-full ">FIRST YEAR</button>
185+
<button onClick={() => setYear('first')} className="w-full">FIRST YEAR</button>
185186
</div>
186-
187+
187188
</div>
188189
</div>
189190
</div>
@@ -195,7 +196,7 @@ const Team = () => {
195196
);
196197
};
197198

198-
const TeamWithApollo = () => (
199+
const TeamWithApollo = () => (
199200
<ApolloProvider client={client}>
200201
<Team />
201202
</ApolloProvider>

0 commit comments

Comments
 (0)