diff --git a/package.json b/package.json index 8d4c22a9..da14df3c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "ucsc-ieee", "version": "0.1.0", "private": true, - "homepage": "https://ucscieee.com", + "homepage": "https://ucscieee.lk", "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.35", "@fortawesome/free-brands-svg-icons": "^5.15.3", diff --git a/src/App.js b/src/App.js index aa320441..4b7a59f7 100644 --- a/src/App.js +++ b/src/App.js @@ -14,10 +14,10 @@ import NewsList from "./components/Common/NewsList"; const Home = lazy(() => import("./components/Landing")); const EventDetails = lazy(() => import("./components/Landing/EventDetails")); const PreviousOfficers = lazy(() => import("./components/PreviousOfficers")); +const RevoluxOCJobDesc = lazy(() => import("./components/Landing/Misc/RevoluxOCJobDesc.js")); const App = () => { return ( - }>
@@ -36,12 +36,19 @@ const App = () => {
-
); }; diff --git a/src/components/Landing/Misc/RevoluxOCJobDesc.js b/src/components/Landing/Misc/RevoluxOCJobDesc.js new file mode 100644 index 00000000..fb692b62 --- /dev/null +++ b/src/components/Landing/Misc/RevoluxOCJobDesc.js @@ -0,0 +1,26 @@ +import React from 'react'; +import "./styles.css"; + +const RevoluxOCJobDesc = () => { + const figmaUrl = "https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Fproto%2FkeS1y4OejeWxRbDBFk3iDy%2FRevolUX3.0-initial%3Fpage-id%3D9%253A8781%26type%3Ddesign%26node-id%3D28-9460%26viewport%3D-7373%252C3588%252C0.68%26t%3D2JDoTcb0oun6XIvD-1%26scaling%3Dscale-down%26starting-point-node-id%3D28%253A9854%26mode%3Ddesign"; + + return ( +
+ +
+ ); +}; + +export default RevoluxOCJobDesc; \ No newline at end of file diff --git a/src/components/Landing/Misc/styles.css b/src/components/Landing/Misc/styles.css new file mode 100644 index 00000000..4b54a4d8 --- /dev/null +++ b/src/components/Landing/Misc/styles.css @@ -0,0 +1,6 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; + overflow: hidden; +} \ No newline at end of file diff --git a/src/index.js b/src/index.js index 3c87f321..1cf95930 100644 --- a/src/index.js +++ b/src/index.js @@ -1,6 +1,15 @@ import React from "react"; import ReactDOM from "react-dom"; +import { HashRouter } from "react-router-dom"; import "./index.css"; import App from "./App"; -ReactDOM.render(, document.getElementById("root")); \ No newline at end of file +// ReactDOM.render(, document.getElementById("root")); +ReactDOM.render( + + + + + , + document.getElementById('root') +); \ No newline at end of file