Skip to content

Commit

Permalink
Merge pull request #1650 from gtech-mulearn/dev
Browse files Browse the repository at this point in the history
Dev Server
  • Loading branch information
nashnsulthan authored Oct 12, 2024
2 parents 3e228d7 + 085cc0d commit 690b268
Show file tree
Hide file tree
Showing 17 changed files with 1,408 additions and 350 deletions.
5 changes: 5 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import Refund from "./modules/Public/Donation/pages/Refund";
import DonationSuccess from "./modules/Public/Donation/pages/DonationSuccess";
import OpenGrad from "./modules/Dashboard/modules/OpenGrad";
import UserInterest from "./modules/Common/Authentication/pages/Onboarding/UserInterest/UserInterest";
import LcMeetupIfo from "./modules/Dashboard/modules/LearningCircle/pages/Meetup/LcMeetup";
import OrganizationSetting from "./modules/Dashboard/modules/Settings/pages/Organization/Organization";
import SettingsHome from "./modules/Dashboard/modules/Settings/pages/Settings/SettingsHome";

Expand Down Expand Up @@ -695,6 +696,10 @@ function App() {
path: "learning-circle",
element: <LearningCircleLandingPage />
},
{
path: "learning-circle/meetup/:id",
element: <LcMeetupIfo />
},
{
path: "learning-circle/details/:id",
element: <LearningCircle />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,46 @@
font-size: 18px;
font-weight: 600;
}

.input_switch {
width: calc(100% - 20px);
background: #fff;
padding: 20px;
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: end;
margin: 10px;
.label {
font-size: 15px;
}
}

.input_field {
background: #fff;
padding: 20px;
border-radius: 10px;
margin: 10px;
label.label {
display: block;
width: 100%;
text-align: left;
margin: 0 0 10px 0;
}
textarea {
width: 100%;
background-color: rgba(238, 242, 255, 1);
min-height: 130px;
border-radius: 10px;
padding: 10px;
}
.error_message {
color: rgb(246, 45, 45);
font-size: 12px !important;
margin-top: 10px;
text-align: start;
}
}
.ReportWrapper .DetailSection .SectionTwo textarea {
width: 100%;
background-color: rgba(238, 242, 255, 1);
Expand Down Expand Up @@ -366,6 +406,7 @@
}
.HistoryDataWrapper .Headings {
width: 38%;
text-align: left;
}
.HistoryDataWrapper .detailedSection {
width: 60%;
Expand Down Expand Up @@ -703,6 +744,9 @@ input[type="time"]::-webkit-calendar-picker-indicator {

.ScheduleOn {
text-align: center;
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px solid var(--grey);
}

.ScheduleOn b {
Expand Down Expand Up @@ -744,7 +788,7 @@ input[type="time"]::-webkit-calendar-picker-indicator {
flex-wrap: wrap;
}

.dateandtime input[type="time"] {
.dateandtime input[type="datetime-local"] {
padding: 0px 10px;
border-radius: 6px;
width: 47%;
Expand Down Expand Up @@ -1125,3 +1169,178 @@ input[type="time"]::-webkit-calendar-picker-indicator {
text-align: left;
color: #1d1d1d;
}

.ContainerWrapper .ContentWrapper .TopContainer .sectionOne {
.meetups {
display: flex;
flex-direction: column;
gap: 10px;
.meetup {
background: #fff;
padding: 10px;
width: 100%;
border-radius: 10px;
.meetupStatusBar {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
width: 100%;
.date {
font-size: 15px;
font-weight: 800;
display: flex;
align-items: end;
gap: 5px;
justify-content: start;

span {
width: 20px;
height: 20px;
display: inline-flex;
align-items: center;
justify-content: center;
svg {
width: 15px;
height: 15px;
}
}
}
.status {
font-size: 12px;
font-weight: 600;
&.ongoing {
color: var(--green);
}
&.upcoming {
color: var(--blue);
}
}
}
.meetupDetails {
display: flex;
justify-content: space-between;
align-items: start;
flex-direction: column;
gap: 10px;
background: #22222205;
padding: 20px;
margin: 20px 10px;
border-radius: 5px;
.title {
font-size: 18px;
font-weight: 800;
}
.agenda {
font-size: 15px;
font-weight: 600;
color: #1d1d1d;
}
.venue {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
align-items: start;
.venueHead {
font-size: 15px;
font-weight: 800;
color: #1d1d1d;
}
.actions {
width: 100%;
display: flex;
align-items: center;
gap: 10px;
justify-content: end;
}
.meetupVenue {
margin: 10px 0;
padding: 10px 10px;
background: #fff;
border-radius: 5px;
display: flex;
align-items: center;
gap: 5px;
width: 100%;
flex-direction: column;

.head {
font-size: 15px;
font-weight: 900;
border-bottom: 1px solid #1d1d1d;
color: #1d1d1d;
}
.venueLink {
font-size: 15px;
font-weight: 600;
color: var(--blue);
background: #dddddd90;
padding: 2px 10px;
border-radius: 5px;
width: 100%;
}
}
}
}
}
}
}

.inputBox input,
.inputBox select {
border: none;
background: rgba(239, 241, 249, 0.6);
border-radius: 6px;
padding: 10px;
outline: none;
width: 100%;
margin-top: 10px;
}

.imageBox {
position: relative;

div {
color: #456ff6;
position: absolute;
top: 0;
display: flex;
align-items: center;
right: 5%;
height: 110%;

&:active {
transform: scale(0.9);
}
}
}

.imageBox input::file-selector-button {
background-color: rgb(69, 111, 246);
color: white;
border: none;
border-radius: 0.25rem;
padding: 0.25rem;
}

.label {
font-weight: 600;
margin-top: 5px;
color: var(--black);
text-align: left;
}

.powerfulButton:hover {
color: hsl(var(--primary-btn-color));
}

.powerfulButton {
height: 50px;
}

/* @media (max-width: 1500px) {
.edit_profile_container {
left: unset;
}
} */
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import MuLoader from "@/MuLearnComponents/MuLoader/MuLoader";
import { comingSoon } from "../../../../utils/common";
import LcTeam from "./components/LcTeam";
import LcHome from "./components/LcHome";
import LcProgress from "./components/LcProgress";

const LcDashboard = () => {
const [lc, setLc] = useState<LcDetail>();
Expand All @@ -19,7 +18,8 @@ const LcDashboard = () => {
isHistory: false,
isTeam: false,
isSchedule: false,
reRender: false
reRender: false,
isCreateMeeting: false
});
const [tab, setTab] = useState<"Dashboard">("Dashboard");

Expand All @@ -39,7 +39,7 @@ const LcDashboard = () => {

useEffect(() => {
handleFetchDetails();
}, [temp.isSchedule, temp.isTeam, temp.reRender]);
}, [temp.isTeam, temp.reRender]);

return temp.loading ? (
<MuLoader />
Expand Down
Loading

0 comments on commit 690b268

Please sign in to comment.