Skip to content

Conversation

@LightCreator1007
Copy link
Contributor

Overview

  1. This PR fixes or fixes part of [Frontend] Implement User Onboarding / Home Page (Semester & Branch Selection) #12.
  2. This PR does the following:
    • Adds an onboarding page to greet the user.
    • has options for brach and semester selection.
    • removes user stories/ user comments from the original design mockup to provide a clean and clutter free UX.
    • Adapts responsively to a wide range of screen sizes

Essential Checklist

  • The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • "Allow edits from maintainers" is checked. (See here for instructions on how to enable it.)
  • The PR is made from a branch that's not called "main/master".

Proof that changes are correct

exambudHome.mp4

- added images and code snippets for clear understanding
- explained certain aspects for beginners.

Closes bsoc-bitbyte#33
- added revised header and footer designs as per figma
- added sems and branches
- removed user stories for a cleaner design and ux

Closes bsoc-bitbyte#12
@ritankarsaha
Copy link
Collaborator

How did the checks run without me approving them lol ?

@ritankarsaha
Copy link
Collaborator

anywhoo looking into the pr and reviewing soon, nice work @LightCreator1007

Copy link
Collaborator

@ritankarsaha ritankarsaha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these chnages were on your earlier pr too, just a thought did your make this pr branch from an earlier branch and not from main. ?

Comment on lines -20 to +26
{ path: '/' },
{ path: '/home' },
{ path: '/branch/:branchId' },
{ path: '/branch/:branchId/semester/:semesterId' },
{ path: '/branch/:branchId/semester/:semesterId/subject/:subjectId' },
{ path: '/admin' },
{ path: '/login' },
{ path: '/signup' }
{ path: "/" },
{ path: "/home" },
{ path: "/branch/:branchId" },
{ path: "/branch/:branchId/semester/:semesterId" },
{ path: "/branch/:branchId/semester/:semesterId/subject/:subjectId" },
{ path: "/admin" },
{ path: "/login" },
{ path: "/signup" },
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol 🙂

Comment on lines -4 to +17
import Loading from './utils/Global-Loading/Loading';
import useRouteProgress from './hooks/useRouteProgress.js';
import './styles/nprogress-custom.css';
const LandingPage = lazy(() => import('./pages/landingPage/LandingPage'));
const Home = lazy(() => import('./pages/Home'));
const Branch = lazy(() => import('./pages/Branch'));
const Semester = lazy(() => import('./pages/Semester'));
const Subject = lazy(() => import('./pages/Subject'));
const AdminDashboard = lazy(() => import('./pages/AdminDashboard'));
const NotFound = lazy(() => import('./pages/404/NotFound'));
const LoginPage = lazy(() => import('./pages/Login/Login'));
const SignUp = lazy(() => import('./pages/SignUp/SignUp'));
import Loading from "./utils/Global-Loading/Loading";
import useRouteProgress from "./hooks/useRouteProgress.js";
import "./styles/nprogress-custom.css";
const LandingPage = lazy(() => import("./pages/landingPage/LandingPage"));
const Home = lazy(() => import("./pages/Home/Home.jsx"));
const Branch = lazy(() => import("./pages/Branch"));
const Semester = lazy(() => import("./pages/Semester"));
const Subject = lazy(() => import("./pages/Subject"));
const AdminDashboard = lazy(() => import("./pages/AdminDashboard"));
const NotFound = lazy(() => import("./pages/404/NotFound"));
const LoginPage = lazy(() => import("./pages/Login/Login"));
const SignUp = lazy(() => import("./pages/SignUp/SignUp"));

import Header from './components/Header/Header';
import Footer from './components/Footer/Footer';
import Header from "./components/Header/Header";
import Footer from "./components/Footer/Footer";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😑

Comment on lines -20 to +24
{ path: '/' },
{ path: '/home' },
{ path: '/branch/:branchId' },
{ path: '/branch/:branchId/semester/:semesterId' },
{ path: '/branch/:branchId/semester/:semesterId/subject/:subjectId' },
{ path: '/admin' },
{ path: '/login' },
{ path: '/signup' }
{ path: "/" },
{ path: "/home" },
{ path: "/branch/:branchId" },
{ path: "/branch/:branchId/semester/:semesterId" },
{ path: "/branch/:branchId/semester/:semesterId/subject/:subjectId" },
{ path: "/admin" },
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did u change the quotes lol ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My formatter fr sorry...

Comment on lines -31 to +34

const location = useLocation();
const matched = matchRoutes(routes, location.pathname);
const is404 = !matched;

useRouteProgress();
const location = useLocation();
const matched = matchRoutes(routes, location.pathname);
const is404 = !matched;

useRouteProgress();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

un-necessary whitespace changes makes your PR very clouded and hard to review. Pls take care from next time.

Comment on lines -38 to +48
return (
<>
{!is404 && <Header />}
<main className="main-content">
<Suspense fallback={<Loading />}>
<Routes>
<Route path="/home" element={<Home />} />
<Route path="/" element={<LandingPage />} />
<Route path="/branch/:branchId" element={<Branch />} />
<Route path="/branch/:branchId/semester/:semesterId" element={<Semester />} />
<Route path="/branch/:branchId/semester/:semesterId/subject/:subjectId" element={<Subject />} />
<Route path="/admin" element={<AdminDashboard />} />
<Route path="/login" element={<LoginPage />} />
<Route path="/signup" element={<SignUp />} />
<Route path="*" element={<NotFound />}/>
</Routes>
</Suspense>
</main>
{!is404 && <Footer />}
</>
);
return (
<>
{!is404 && <Header />}
<main className="main-content">
<Suspense fallback={<Loading />}>
<Routes>
<Route path="/home" element={<Home />} />
<Route path="/" element={<LandingPage />} />
<Route path="/branch/:branchId" element={<Branch />} />
<Route
path="/branch/:branchId/semester/:semesterId"
element={<Semester />}
/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are literally un-necessary, as Git shows whitespace changes as well, I now have to go through all these un-necessary whitespace updates to find and review the proper update.

Pls take care next time

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry😭

Comment on lines -2 to -17
--primary-accent: rgba(198, 213, 255, 1);
--secondary-accent: rgba(20, 45, 111, 1);
--tertiary-accent: rgba(255, 255, 255, 1);
--nav-accent: rgba(255, 255, 255, 0.8);
font-family: 'Urbanist', Avenir, Helvetica, Arial, sans-serif;
--primary-accent: rgba(198, 213, 255, 1);
--secondary-accent: rgba(20, 45, 111, 1);
--tertiary-accent: rgba(255, 255, 255, 1);
--nav-accent: rgba(255, 255, 255, 0.8);
font-family: "Urbanist", Avenir, Helvetica, Arial, sans-serif;
}

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


html {
scrollbar-width: none;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CSS updates is to be checked by @harshiill but ig they are mostly ok

Comment on lines -117 to +132
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 10px 27px;
gap: 10px;
width: 183px;
height: 44px;
background: var(--secondary-accent);
box-shadow: 0 5px 9px 2px rgba(0, 0, 0, 0.25);
border-radius: 35px;
color: white;
margin: 1rem auto;
transition: transform 0.3s ease;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 10px 27px;
gap: 10px;
width: 183px;
height: 44px;
background: var(--secondary-accent);
box-shadow: 0 5px 9px 2px rgba(0, 0, 0, 0.25);
border-radius: 35px;
color: white;
margin: 1rem auto;
transition: transform 0.3s ease;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from next pr pls take note of all un-necessary whitespace updates

@ritankarsaha ritankarsaha merged commit 92adf4a into bsoc-bitbyte:main Jul 24, 2025
4 checks passed
ShirshenduR pushed a commit to ShirshenduR/Exam-Bud that referenced this pull request Jul 25, 2025
@LightCreator1007
Copy link
Contributor Author

these chnages were on your earlier pr too, just a thought did your make this pr branch from an earlier branch and not from main. ?

No I needed to make some changes to the header and footer stuff coz the main page layout and figma layout for those are a but different

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BSoC'25 Created uring BSoC 2024 difficulty : Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants