diff --git a/src/components/Main/Landing/InfoDivs/index.jsx b/src/components/Main/Landing/InfoDivs/index.jsx index 2fb2016..d55aa80 100644 --- a/src/components/Main/Landing/InfoDivs/index.jsx +++ b/src/components/Main/Landing/InfoDivs/index.jsx @@ -18,7 +18,7 @@ const InfoDivs = (props) => { viewport={{ once: true }} className="Intro BackgroundBlur" > -

+ We are the Technical Society of YMCA University of Science and Technology @@ -34,7 +34,7 @@ const InfoDivs = (props) => { workshops, hackathons, coding contests, gaming events , and much more. -

+ {data.map((item, index) => ( @@ -67,14 +67,14 @@ const InfoDivs = (props) => { className="flex items-center justify-center w-full px-[1rem] md:px-[2rem]" >
-

+ {item.title} 

{item.icon}

{item.subtitle} -

+
diff --git a/src/components/Shared/Navbar/index.js b/src/components/Shared/Navbar/index.js index 028f772..13aec56 100644 --- a/src/components/Shared/Navbar/index.js +++ b/src/components/Shared/Navbar/index.js @@ -97,7 +97,7 @@ export default function Navbar(props) { > manan -

+ -

+
diff --git a/src/index.js b/src/index.js index ef2edf8..7c0eb14 100644 --- a/src/index.js +++ b/src/index.js @@ -1,15 +1,14 @@ import React from 'react'; -import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; +import { createRoot } from 'react-dom/client'; +const container = document.getElementById('root'); +const root = createRoot(container); -ReactDOM.render( - - - , - document.getElementById('root') -); +root.render( + +,) // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log))