Skip to content

Commit

Permalink
28082024 Pointed GraphQL URI to server
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulambastha committed Aug 28, 2024
1 parent 7803907 commit 0a75653
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GRAPH_QL_URI='http://sumitdhiman.in:4000/graphql/'
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@
"remark-toc": "^9.0.0",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/app/gallery/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Loader from '@/components/loader';

import { motion, useScroll } from "framer-motion";
const client = new ApolloClient({
uri: 'http://localhost:4000/graphql/',
uri: process.env.GRAPH_QL_URI || 'http://sumitdhiman.in:4000/graphql/',
cache: new InMemoryCache(),
});

Expand Down
6 changes: 4 additions & 2 deletions src/app/home/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@ export default function contact (){
<div className="lg:h-20 lg:w-20 md:h-28 md:w-28 h-20 w-20"> <Lottie animationData= {animationmap}/></div>
<div className='lg:ml-8 ml-8 md:ml-20'>
<p className="text-1xl lg:text-1.5xl md:text-1.5xl font-barlow">Address</p>
<p className="text-1xl lg:text-1.5xl md:text-1.5xl font-barlow">NIT, Hamirpur<br />Himachal Pradesh,<br/> India, 177005</p>
<p className="text-1xl lg:text-1.5xl md:text-1.5xl font-barlow">NIT Hamirpur<br />Himachal Pradesh,<br/> India, 177005</p>
</div>
</div>
<div className=" flex lg:flex-row lg:mx-12 mx-[20%] md:mt-12 lg:mt-0 mt-7 md:mx-[24%] items-center ">
<div className="lg:h-16 lg:w-16 md:h-24 md:w-24 h-16 w-16"> <Lottie animationData= {animatiomcall}/></div>
<div className=' ml-10 lg:ml-8 md:ml-24'>
<p className="text-1xl lg:text-1.5xl md:text-1.5xl font-barlow">Phone</p>
<p className="text-1xl lg:text-1.5xl md:text-1.5xl font-actor">12345578</p>
<p className="text-1xl lg:text-1.5xl md:text-1.5xl font-actor">
+91 8580788014
</p>
</div>
</div>
<div className="lg:mr-20 flex lg:flex-row mt-7 lg:mx-12 md:mx-[24%] mx-[20%] items-center">
Expand Down
2 changes: 1 addition & 1 deletion src/app/members/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Footer from '../../components/footer';
import Loader from "../../components/loader"; // Import the loader component
import SkeletonLoader from "../../components/skeltonloader";
const client = new ApolloClient({
uri: 'http://localhost:4000/graphql/',
uri: process.env.GRAPH_QL_URI || 'http://sumitdhiman.in:4000/graphql/',
cache: new InMemoryCache(),
});

Expand Down

0 comments on commit 0a75653

Please sign in to comment.