Skip to content

Commit

Permalink
feat: changes for auth
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalCodes committed Feb 12, 2024
1 parent f090904 commit 95ee72b
Show file tree
Hide file tree
Showing 19 changed files with 456 additions and 726 deletions.
32 changes: 28 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"js-cookie": "^3.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-fast-marquee": "^1.6.3",
"react-fast-marquee": "^1.6.4",
"react-helmet-async": "^1.3.0",
"react-hook-form": "^7.49.3",
"react-icons": "^4.10.1",
Expand Down Expand Up @@ -83,6 +83,7 @@
"husky": "^8.0.0",
"lint-staged": "^13.2.1",
"prettier": "^3.1.1",
"sass": "^1.70.0",
"vite": "^4.4.2",
"vite-plugin-pwa": "^0.16.5"
},
Expand Down
1 change: 1 addition & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import { Route, BrowserRouter as Router, Routes } from "react-router-dom";
import { BacktoTop } from "./components/shared";
import "./styles/App.css";
import "./styles/Globals.scss";
import routesConfig from "./utils/routesConfig.jsx";

const App = () => {
Expand Down
13 changes: 13 additions & 0 deletions src/assets/svg/Bell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/private/cards/club/ClubCard.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { Button } from "../../../shared";
import "./style.css";
import "./ClubCard.css";

const DetailedClub = ({ club }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/private/landing/Landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
font-family: "Poppins", sans-serif;
font-size: 17px;
font-style: normal;
width: 180px;
width: auto;
font-weight: 500;
display: flex;
justify-content: space-evenly;
Expand Down
56 changes: 56 additions & 0 deletions src/components/shared/cards/events/EventsCard.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
.eventscard_parent {
border-radius: 6px;
width: 300px;
height: 300px;
position: relative;
background-color: white;
border: 1px solid #6b2615;
padding: 0.5rem;
cursor: pointer;
transition: all 0.3s ease-in-out;
margin: 0 1rem;
}

.mySwiper {
padding: 1.5rem 0;
}

.eventscard_parent:hover {
-webkit-box-shadow: 0px 0px 20px 7px rgba(226, 105, 89, 0.32);
-moz-box-shadow: 0px 0px 20px 7px rgba(226, 105, 89, 0.32);
box-shadow: 0px 0px 20px 7px rgba(226, 105, 89, 0.32);
border: 1px solid #ff5b31;
transition: all 0.3s ease-in-out;
}

.eventscard_parent > img:nth-of-type(1) {
width: 100%;
margin: auto;
border-radius: 6px 6px 0 0px;
}

.eventscard_body > h1 {
font-size: 17px;
color: black;
font-weight: 700;
font-family: "Poppins", sans-serif;
margin-top: 0.5rem;
}

.eventscard_date {
background-color: white;
position: absolute;
top: 7px;
right: 7px;
text-align: center;
padding: 7px 2px;
border-radius: 4px;
}

.eventscard_date > p {
color: black;
font-family: "Inter", sans-serif;
font-weight: 700;
margin: 0;
font-size: 1px;
}
23 changes: 23 additions & 0 deletions src/components/shared/cards/events/EventsCard.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from "react";
import "./EventsCard.css";

const EventsCard = () => {
return (
<div className="eventscard_parent">
<img
src="https://149695847.v2.pressablecdn.com/wp-content/uploads/2018/11/data-analysis-ngo.jpg"
alt=""
/>

<div className="eventscard_body">
<h1>ISB Alumni Social Impact SIG Initiative</h1>
<div className="eventscard_date">
<p>01</p>
<p>OCT</p>
</div>
</div>
</div>
);
};

export default EventsCard;
File renamed without changes.
10 changes: 5 additions & 5 deletions src/pages/clubs/all/Clubs.jsx → src/pages/clubs/Clubs.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, { useEffect } from "react";
import useSWR from "swr";
import { DetailedClub } from "../../../components/private";
import { Footer, Header, Navbar } from "../../../components/shared";
import { clubEndpoints } from "../../../static/ApiEndpoints";
import ComponentHelmet from "../../../utils/ComponentHelmet";
import fetcher from "../../../utils/Fetcher";
import { DetailedClub } from "../../components/private";
import { Footer, Header, Navbar } from "../../components/shared";
import { clubEndpoints } from "../../static/ApiEndpoints";
import ComponentHelmet from "../../utils/ComponentHelmet";
import fetcher from "../../utils/Fetcher";
import "./Clubs.css";

const Clubs = () => {
Expand Down
Loading

0 comments on commit 95ee72b

Please sign in to comment.