Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.13
46 changes: 44 additions & 2 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"dependencies": {
"@fontsource/sacramento": "^5.2.6",
"embla-carousel-react": "^8.6.0",
"framer-motion": "^12.23.6",
"lottie-react": "^2.4.1",
"react": "^19.1.0",
"react-dom": "^19.1.0",
Expand Down
5 changes: 2 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import Preloader from "./pages/Preloader/Preloader";
import ProfilePage from "./pages/Profile/ProfilePage.jsx";
import PrivateRoutesWrapper from "./components/ProtectedRoutes/PrivateRoutesWrapper.jsx";
import { ToastContainer } from "react-toastify";
import 'react-toastify/dist/ReactToastify.css'
import "react-toastify/dist/ReactToastify.css";

function App() {
return (
<>
<ToastContainer />

<Routes>
<Route element={<MainLayout />}>
<Route path="/" element={<Landingpage />} />
Expand All @@ -29,7 +29,6 @@ function App() {
</Route>
<Route path="/callback" element={<Callback />} />
</Route>


<Route path="*" element={<NotFound />} />
</Routes>
Expand Down
Binary file added src/assets/mobile-nav/Account.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/mobile-nav/YDOlogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/mobile-nav/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/assets/mobile-nav/hamburger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/mobile-nav/notifications.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/mobile-nav/search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/mobile-nav/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
211 changes: 211 additions & 0 deletions src/components/mobile-carousel/MobCarousel.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

*,
::before,
::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.card-stack-container {
position: relative;
width: 100%;
height: 600px; /* or however tall your cards are */
display: grid;
place-items: center;
}

.card-stack-item {
background: url("../../assets/Home/BG.png") no-repeat;
background-size: cover;
grid-row: 1;
grid-column: 1;
padding: 10px;
border-radius: 30px;
backdrop-filter: blur(45px);
background-color: rgba(0, 0, 0, 0.8);
width: 320px;
height: 600px;
border: 2px solid white;
}

.card__image {
position: absolute;
margin: 5px 0;
width: 80%;
height: 51%;
left: 50%;
transform: translateX(-50%);
z-index: -1;
}

.card__image img {
display: block;
width: 100%;
height: 100%;
border-radius: 20px;
}

.card__data {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 200px;
max-height: 500px;
}

.head-wrapper {
background-color: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(25px);
border-radius: 20px;
}

.name-age {
font-family: "Poppins", sans-serif;
font-size: 30px;
font-weight: 700;
color: rgba(246, 204, 182, 1);
padding: 1px 2px;
}

.discipline-year {
font-family: "Poppins", sans-serif;
font-size: 24px;
font-weight: 400;
color: rgba(246, 204, 182, 0.9);
padding: 1px 10px;
}

.tags {
display: flex;
flex-flow: row wrap;
gap: 0.8rem;
justify-content: center;
}

.tag {
font-family: "Poppins", sans-serif;
background-color: rgba(246, 204, 182, 0.2);
border: 1px solid white;
border-radius: 12px;
padding: 0.2rem 0.6rem;
font-size: 0.8rem;
}

.description {
font-family: "Poppins", sans-serif;
background: rgba(246, 204, 182, 0.2);
border-radius: 20px;
padding: 0 8px;
border: 1px solid white;
max-height: 100px;
overflow: auto;
}

.user-card-wrapper {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}

.description p {
padding: 5px;
font-size: 14px;
}

.skeleton-card {
width: 100%;
height: 100%;
position: relative;
display: flex;
flex-direction: column;
gap: 0.6rem;
align-items: center;
border-radius: 20px;
padding: 10px;
background: url("../../assets/Home/BG.png") no-repeat;
background-size: cover;
backdrop-filter: blur(45px);
}

.error {
position: absolute;
top: 50%;
}

.skeleton-image {
width: 100%;
height: 70%;
background: rgba(246, 204, 182, 0.2);
border-radius: 20px;
}

.skeleton-data {
padding: 20px;
flex: 1;
}

.skeleton-line {
background: rgba(0, 0, 0, 0.3);
border-radius: 4px;
margin-bottom: 12px;
}

.skeleton-name {
height: 24px;
width: 60%;
}

.skeleton-discipline {
height: 18px;
width: 45%;
}

.skeleton-tags {
display: flex;
gap: 8px;
margin: 16px 0;
}

.skeleton-tag {
height: 20px;
width: 50px;
background: #e2e5e7;
border-radius: 12px;
}

.skeleton-description {
margin-top: 16px;
}

.skeleton-desc-line {
height: 16px;
width: 100%;
margin-bottom: 8px;
}

.skeleton-desc-short {
width: 70%;
}

.shimmer {
background: linear-gradient(
90deg,
rgba(246, 204, 182, 0.2) 25%,
rgba(246, 204, 182, 0.4) 50%,
rgba(246, 204, 182, 0.2) 75%
);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
Loading