diff --git a/public/index.html b/public/index.html index 30eb538..7ead1a5 100644 --- a/public/index.html +++ b/public/index.html @@ -108,7 +108,7 @@ src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r78/three.min.js" crossorigin="anonymous" > - + diff --git a/src/constants.js b/src/constants.js index 4cec236..c5a0804 100644 --- a/src/constants.js +++ b/src/constants.js @@ -1,3 +1,3 @@ -export const baseUrl = "https://16.171.64.245/server/"; +export const baseUrl = "https://codeutsava.nitrr.ac.in/server/"; export const currentYear = "2023"; export const previousYear = "2022"; diff --git a/src/pages/home/sections/section1/Section1.js b/src/pages/home/sections/section1/Section1.js index 3ef7a0e..106e529 100644 --- a/src/pages/home/sections/section1/Section1.js +++ b/src/pages/home/sections/section1/Section1.js @@ -50,16 +50,16 @@ const Section1 = () => { setscrollisPlaying(false); setnotPlaying(!notPlaying); }; - // React.useEffect(() => { - // const script = document.createElement("script"); - // script.src = "https://apply.devfolio.co/v2/sdk.js"; - // script.async = true; - // script.defer = true; - // document.body.appendChild(script); - // return () => { - // document.body.removeChild(script); - // }; - // }, []); + React.useEffect(() => { + const script = document.createElement("script"); + script.src = "https://apply.devfolio.co/v2/sdk.js"; + script.async = true; + script.defer = true; + document.body.appendChild(script); + return () => { + document.body.removeChild(script); + }; + }, []); const canvasRef = useRef(null); useEffect(() => { // Draw canvas here... @@ -225,7 +225,7 @@ const Section1 = () => { >