Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
be9fc25
added changes with logo
Lina0Elman May 25, 2025
c2554a7
added logo and moved top bar to the left
Lina0Elman May 30, 2025
01074fa
changed colors
Lina0Elman May 30, 2025
6b44806
removed unnecessary
Lina0Elman May 30, 2025
5ed83ab
added logo to public dir
Lina0Elman May 30, 2025
31e6522
Design App For Modern Style
taljacob2 May 30, 2025
0cefe62
Add Landing Page
taljacob2 May 30, 2025
44731e9
Fix Chat Blank White Screen
taljacob2 May 30, 2025
1a6d677
Add Dark Theme And Enhance Chat And Footer
taljacob2 May 30, 2025
af20879
Improve Look Of Login And Register Pages
taljacob2 May 31, 2025
ec8a9d9
Fix PostDetails White Blank Page
taljacob2 May 31, 2025
14e6c60
Fix Titles And Buttons Style On DarkMode
taljacob2 May 31, 2025
2fefd60
Add Darkmode/Lightmode Theme Change Button To The Register And Login …
taljacob2 May 31, 2025
a74b789
Fix Continue with Google Button In DarkMode
taljacob2 May 31, 2025
10f9d69
Add NextStep Logo To Landing Page
taljacob2 May 31, 2025
92fdfb6
Fix Score Your Resume Input In Dark Mode
taljacob2 May 31, 2025
d89b66c
Colorize Buttons In Dark Mode To Blue Like In Light Mode
taljacob2 May 31, 2025
88150d4
Fix Generated Quiz Content Background Color For Dark Mode
taljacob2 May 31, 2025
84f36d9
Fix Final Quiz Grade Background Color Across Themes
taljacob2 May 31, 2025
be87620
Add Space Above The Grades To Prevent Clashes With The Above Text
taljacob2 May 31, 2025
80f1036
Colorize Correct Answer In White In Light Mode
taljacob2 May 31, 2025
72b5912
Imporve The Score Gauge Of The Resume Page And Increase The Width Of …
taljacob2 May 31, 2025
66cae27
Color Connect Buttons And Upload CV Button Better For Dark Mode
taljacob2 May 31, 2025
9c396f1
added small fixes
Lina0Elman Jun 1, 2025
01568f7
removed unnecessary & fixed scroll down to chats messages
Lina0Elman Jun 1, 2025
2a7f96a
fixed build errors
Lina0Elman Jun 1, 2025
303c46b
trying to fix resume jump to end of page
Lina0Elman Jun 1, 2025
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
Binary file added nextstep-frontend/assets/NextStep.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 nextstep-frontend/assets/NextStepLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion nextstep-frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/png" href="/NextStepLogo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Next Step</title>
</head>
Expand Down
1 change: 1 addition & 0 deletions nextstep-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dotenv": "^16.4.7",
"firebase": "^11.4.0",
"font-awesome": "^4.7.0",
"framer-motion": "^12.15.0",
"lucide-react": "^0.479.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
Binary file added nextstep-frontend/public/NextStepLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions nextstep-frontend/public/assets/landing-hero.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
141 changes: 112 additions & 29 deletions nextstep-frontend/src/App.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
:root {
--color-1: #1877f2;
--color-2: #f0f2f5;
--color-3: #606770;
--color-4: #ccd0d5;
--color-5: #165dbb;
--color-6: #052652;
--color-shadow-1: rgba(0, 0, 0, 0.1);
--color-primary: #2D3436;
--color-secondary: #0984E3;
--color-accent: #00B894;
--color-background: #FFFFFF;
--color-surface: #F8F9FA;
--color-text: #2D3436;
--color-text-secondary: #636E72;
--color-border: #DFE6E9;
--color-shadow: rgba(0, 0, 0, 0.08);
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--transition-standard: all 0.3s ease;
--border-radius: 12px;
--spacing-unit: 8px;
}

#root {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
height: 100vh;
min-height: 100vh;
width: 100%;
margin: 0 auto;
text-align: center;
font-family: var(--font-primary);
background-color: var(--color-background);
color: var(--color-text);
}

.logo {
Expand Down Expand Up @@ -47,37 +53,114 @@
}
}

/* Modern Card Styles */
.card {
padding: 2em;
background: var(--color-background);
border-radius: var(--border-radius);
box-shadow: 0 4px 6px var(--color-shadow);
transition: var(--transition-standard);
border: 1px solid var(--color-border);
}

.read-the-docs {
color: #888;
.card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 12px var(--color-shadow);
}

/* Modern Button Styles */
.button {
background: var(--color-secondary);
color: white;
border: none;
padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
border-radius: var(--border-radius);
font-weight: 500;
transition: var(--transition-standard);
cursor: pointer;
}

.button:hover {
background: var(--color-accent);
transform: translateY(-1px);
}

/* Modern Input Styles */
.input {
border: 1px solid var(--color-border);
border-radius: var(--border-radius);
padding: calc(var(--spacing-unit) * 1.5);
transition: var(--transition-standard);
background: var(--color-surface);
}

.input:focus {
border-color: var(--color-secondary);
box-shadow: 0 0 0 2px rgba(9, 132, 227, 0.1);
outline: none;
}

/* Layout Components */
.layout {
max-width: 1200px;
margin: 0 auto;
padding: calc(var(--spacing-unit) * 3);
}

/* Navigation */
.nav {
background: var(--color-background);
border-bottom: 1px solid var(--color-border);
padding: calc(var(--spacing-unit) * 2);
}

/* Job Card Modernization */
.job-card {
padding: 16px;
border: 1px solid #ddd;
border-radius: 8px;
height: 200px; /* Fixed height for all cards */
display: flex;
flex-direction: column;
justify-content: space-between; /* Align content and button */
overflow-y: auto; /* Enable vertical scrolling for overflow */
padding: calc(var(--spacing-unit) * 3);
border: 1px solid var(--color-border);
border-radius: var(--border-radius);
background: var(--color-background);
transition: var(--transition-standard);
height: auto;
min-height: 200px;
display: flex;
flex-direction: column;
gap: calc(var(--spacing-unit) * 2);
}

.job-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 12px var(--color-shadow);
}

.job-card img {
display: inline-block;
margin: 0;
max-width: 20px;
height: 20px;
width: 24px;
height: 24px;
object-fit: contain;
}

.job-card .company-name {
font-weight: bold; /* Make company name bold */
font-weight: 600;
color: var(--color-text);
font-size: 1.1em;
}

.job-card .location {
margin-top: 8px; /* Add separation between company name and location */
display: block; /* Ensure it appears on a new line */
color: var(--color-text-secondary);
font-size: 0.9em;
margin-top: calc(var(--spacing-unit));
}

/* Responsive Design */
@media (max-width: 768px) {
.layout {
padding: calc(var(--spacing-unit) * 2);
}

.job-card {
padding: calc(var(--spacing-unit) * 2);
}
}

.read-the-docs {
color: #888;
}
98 changes: 77 additions & 21 deletions nextstep-frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,96 @@ import { BrowserRouter as Router, Route, Routes, Navigate } from 'react-router-d
import Login from './pages/Login';
import Register from './pages/Register';
import Profile from './pages/Profile';
import './App.css'
import './App.css';
import Feed from './pages/Feed';
import Footer from './components/Footer';
import RequireAuth from './hoc/RequireAuth';
import NewPost from './pages/NewPost';
import PostDetails from './pages/PostDetails';
import Chat from './pages/Chat';
import Resume from './pages/Resume';
import TopBar from './components/TopBar';
import LeftBar from './components/LeftBar';
import Layout from './components/Layout';
import MainDashboard from './pages/MainDashboard';
import Quiz from './pages/Quiz';
import Landing from './pages/Landing';
import { Box, CssBaseline } from '@mui/material';
import { ThemeProvider } from './contexts/ThemeContext';
import { AuthProvider } from './contexts/AuthContext';

const App: React.FC = () => {
return (
<>
<Router>
<Routes>
<Route path="/" element={<Layout className="login"><Login /></Layout>} />
<Route path="/login" element={<Layout className="login"><Login /></Layout>} />
<Route path="/register" element={<Layout className="register"><Register /></Layout>} />
<Route path="/feed" element={<RequireAuth><TopBar /><Layout className="feed"><Feed /></Layout></RequireAuth>} />
<Route path="/profile" element={<RequireAuth><TopBar /><Layout className="profile"><Profile /></Layout></RequireAuth>} />
<Route path="/new-post" element={<RequireAuth><TopBar /><Layout className="new-post"><NewPost /></Layout></RequireAuth>} />
<Route path="/post/:postId" element={<RequireAuth><TopBar /><Layout className="post-details"><PostDetails /></Layout></RequireAuth>} />
<Route path="/chat" element={<RequireAuth><TopBar /><Layout className="chat"><Chat /></Layout></RequireAuth>} />
<Route path="/resume" element={<RequireAuth><TopBar /><Layout className="resume"><Resume /></Layout></RequireAuth>} />
<Route path="/main-dashboard" element={<RequireAuth><TopBar /><Layout className="main-dashboard"><MainDashboard /></Layout></RequireAuth>} />
<Route path="/quiz" element={<RequireAuth><TopBar /><Layout className="quiz"><Quiz /></Layout></RequireAuth>} />
<Route path="*" element={<Navigate to="/" />} />
</Routes>
</Router>
<Footer/>
</>
<AuthProvider>
<ThemeProvider>
<CssBaseline />
<Router>
<Box sx={{
display: 'flex',
flexDirection: 'column',
minHeight: '100vh',
bgcolor: 'background.default',
}}>
<Box sx={{
flex: 1,
display: 'flex',
flexDirection: 'column',
}}>
<Routes>
{/* Public Routes */}
<Route path="/" element={<Landing />} />
<Route path="/login" element={<Layout className="login"><Login /></Layout>} />
<Route path="/register" element={<Layout className="register"><Register /></Layout>} />

{/* Protected Routes */}
<Route
path="/*"
element={
<Box sx={{ position: 'relative', flex: 1 }}>
<Box
sx={{
position: 'absolute',
top: 0,
left: 0,
zIndex: 10,
backgroundColor: 'background.paper',
boxShadow: 3,
}}
>
<LeftBar />
</Box>
<Box
component="main"
sx={{
flexGrow: 1,
p: 3,
width: '100%',
maxWidth: '1200px',
mx: 'auto',
transition: 'all 0.3s cubic-bezier(0.4, 0, 0.2, 1)',
}}
>
<Routes>
<Route path="/feed" element={<RequireAuth><Layout className="feed"><Feed /></Layout></RequireAuth>} />
<Route path="/profile" element={<RequireAuth><Layout className="profile"><Profile /></Layout></RequireAuth>} />
<Route path="/new-post" element={<RequireAuth><Layout className="new-post"><NewPost /></Layout></RequireAuth>} />
<Route path="/post/:postId" element={<RequireAuth><Layout className="post-details"><PostDetails /></Layout></RequireAuth>} />
<Route path="/chat" element={<RequireAuth><Layout className="chat"><Chat /></Layout></RequireAuth>} />
<Route path="/resume" element={<RequireAuth><Layout className="resume"><Resume /></Layout></RequireAuth>} />
<Route path="/main-dashboard" element={<RequireAuth><Layout className="main-dashboard"><MainDashboard /></Layout></RequireAuth>} />
<Route path="/quiz" element={<RequireAuth><Layout className="quiz"><Quiz /></Layout></RequireAuth>} />
<Route path="*" element={<Navigate to="/" />} />
</Routes>
</Box>
</Box>
}
/>
</Routes>
</Box>
<Footer />
</Box>
</Router>
</ThemeProvider>
</AuthProvider>
);
};

Expand Down
Loading
Loading