diff --git a/src/pages/Home/Home.jsx b/src/pages/Home/Home.jsx
index ec1aa6b..a11cb50 100644
--- a/src/pages/Home/Home.jsx
+++ b/src/pages/Home/Home.jsx
@@ -21,7 +21,7 @@ const Home = () => {
-
+
diff --git a/src/pages/Organisation/Organisation.jsx b/src/pages/Organisation/Organisation.jsx
index d4fe863..57c0d47 100644
--- a/src/pages/Organisation/Organisation.jsx
+++ b/src/pages/Organisation/Organisation.jsx
@@ -1,8 +1,8 @@
import React, { useState } from "react";
import { useLocation } from "react-router-dom";
import "./Organisation.scss";
-import { Button, Modal, Tag } from "antd";
-import { Link } from "react-router-dom";
+import { Modal, Tag, message } from "antd";
+
const Organisation = () => {
const location = useLocation();
const cardData = location.state && location.state.cardData;
@@ -20,8 +20,20 @@ const Organisation = () => {
};
const openInNewWindow = (url) => {
window.open(url, "_blank");
- }
- const colors = ["magenta", "red", "volcano", "orange", "gold", "lime", "green", "cyan", "blue", "geekblue", "purple"]
+ };
+ const colors = [
+ "magenta",
+ "red",
+ "volcano",
+ "orange",
+ "gold",
+ "lime",
+ "green",
+ "cyan",
+ "blue",
+ "geekblue",
+ "purple",
+ ];
return (
{cardData.organization}
@@ -49,15 +61,21 @@ const Organisation = () => {
-
-
+
{project.techStack.map((tech, index) => (
-
-
+
{tech}
-
-
))}
@@ -66,9 +84,14 @@ const Organisation = () => {
{project.name}
{project.description.length > 150 ? (
- {project.description.substring(0, 350)}{"... "}
+ {project.description.substring(0, 350)}
+ {"... "}
openModal(project)}
>
See More
@@ -79,13 +102,25 @@ const Organisation = () => {
)}
-
{" "}
-
-
-
openInNewWindow("https://forms.gle/aCnUEkymwxfqsAQm7")
- }>Apply now
+
+
+ message.warning(
+ "Applications for this project has not started yet"
+ )
+ }
+ >
+ Apply now
+
))}
@@ -122,14 +157,23 @@ const Organisation = () => {
-
-
+
{selectedProject.techStack.map((tech, index) => (
@@ -137,16 +181,30 @@ const Organisation = () => {
-
-
{selectedProject.description}
+
+
{selectedProject.description}
-
+
-
openInNewWindow("https://forms.gle/aCnUEkymwxfqsAQm7")
- }>Apply now
+
+ message.warning(
+ "Applications for this project has not started yet"
+ )
+ }
+ >
+ Apply now
+
diff --git a/src/partials/Apply/Apply.jsx b/src/partials/Apply/Apply.jsx
index a9572f0..0ddc2dc 100644
--- a/src/partials/Apply/Apply.jsx
+++ b/src/partials/Apply/Apply.jsx
@@ -53,9 +53,7 @@ const Apply = () => {
type="primary"
className="primary"
onClick={() =>
- message.warning(
- "Applications for Students have not started yet."
- )
+ openInNewWindow("https://forms.gle/oemhBfWoGXdxtTNm8")
}
>
Apply As Student