Skip to content
Open
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
34 changes: 34 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import React from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import LandingPage from './components/Landingpage';
import LoginPage from './components/LoginPage';
import DashboardPage from './components/DashboardPage';
import GradeReportPage from './components/GradeReportPage';
import MissingGradeFormPage from './components/MissingGradeFormPage';
import InstructorContactPage from './components/InstructorContactPage';
import HelpAndSupportPage from './components/HelpAndSupportPage';
import Navbar from './components/Navbar';
import Footer from './components/Footer';
import './styles.css';

const App = () => {
return (
<Router>
<div>
<Navbar />
<Switch>
<Route path="/" exact component={LandingPage} />
<Route path="/login" component={LoginPage} />
<Route path="/dashboard" component={DashboardPage} />
<Route path="/grade-report" component={GradeReportPage} />
<Route path="/missing-grade-form" component={MissingGradeFormPage} />
<Route path="/instructor-contact" component={InstructorContactPage} />
<Route path="/help-and-support" component={HelpAndSupportPage} />
</Switch>
<Footer />
</div>
</Router>
);
};

export default App;
Binary file added Backy.jpg
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 Dash page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale
12 changes: 12 additions & 0 deletions Dashboard page.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';

const DashboardPage = () => {
return (
<div>
<h1>Dashboard</h1>
<p>Overview of the student's current grades...</p>
</div>
);
};

export default DashboardPage;
Binary file added Duo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions GradeReport.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';

const GradeReportPage = () => {
return (
<div>
<h1>Grade Report</h1>
<p>Detailed view of all courses and respective grades...</p>
</div>
);
};

export default GradeReportPage;
3 changes: 3 additions & 0 deletions HelpAndSuportPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import React from 'react';


12 changes: 12 additions & 0 deletions InstructorContactPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';

const InstructorContactPage = () => {
return (
<div>
<h1>Instructor Contact</h1>
<p>List of instructors with contact details...</p>
</div>
);
};

export default InstructorContactPage;
65 changes: 65 additions & 0 deletions Landinding page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
.landing-page {
font-family: sans-serif;
margin: 0;
padding: 0;
}

header {
background-color: #f2f2f2;
padding: 20px;
}

h1 {
font-size: 24px;
text-align: center;
}

p {
font-size: 16px;
text-align: center;
}

.btn {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
margin: 0 10px;
}

.hero {
background-image: url('Backy.jpeg');
background-size: cover;
background-position: center;
height: 400px;
text-align: center;
color: #fff;
}

.hero h2 {
font-size: 32px;
margin-top: 100px;
}

.hero p {
font-size: 18px;
margin-bottom: 20px;
}

.features {
padding: 20px;
}

.features ul {
list-style: none;
margin: 0;
padding: 0;
}

.features li {
margin-bottom: 10px;
}

35 changes: 35 additions & 0 deletions Landing page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Missing Grade Reporting System</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Missing Grade Reporting System</h1>
</header>

<main>
<section class="hero">
<h2>Track and report missing grades</h2>
<p>Ensure your academic record is accurate and up-to-date with our easy-to-use system.</p>
<button><a href="Login page.html">Get Started</a></button>
</section>

<section class="features">
<h2>Key Features</h2>
<ul>
<li>Track your current grades and identify any missing ones.</li>
<li>Report missing grades directly to your instructors or academic administration.</li>
<li>Communicate with your instructors to resolve any grade discrepancies.</li>
</ul>
</section>
</main>

<footer>
<p>&copy; 2023 Missing Grade Reporting System. All rights reserved.</p>
</footer>
</body>
</html>
35 changes: 35 additions & 0 deletions Landing page.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from "react";

function LandingPage() {
return (
<div className="landing-page">
<header>
<h1>Missing Grade Reporting System</h1>
</header>

<main>
<section className="hero">
<h2>Track and report missing grades</h2>
<p>Ensure your academic record is accurate and up-to-date with our easy-to-use system.</p>
<a href="/login" className="btn">Sign Up</a>
<a href="/learn-more" className="btn">Learn More</a>
</section>

<section className="features">
<h2>Key Features</h2>
<ul>
<li>Track your current grades and identify missing ones.</li>
<li>Report missing grades directly to your instructors or administration.</li>
<li>Communicate with instructors to resolve grade discrepancies.</li>
</ul>
</section>
</main>

<footer>
<p>&copy; 2023 Missing Grade Reporting System. All rights reserved.</p>
</footer>
</div>
);
}

export default LandingPage;
33 changes: 33 additions & 0 deletions Login page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Missing Grade Reporting System - Login</title>
<link rel="stylesheet" href="/Style.css">
</head>
<body>
<header>
<h1>Missing Grade Reporting System</h1>
</header>

<main>
<section class="login">
<h2>Login to your account</h2>
<form action="/dashboard">
<label for="studentId">Student ID:</label>
<input type="text" id="studentId" name="studentId">

<label for="pin">PIN:</label>
<input type="password" id="pin" name="pin">

<button type="submit">Login</button>
</form>
</section>
</main>

<footer>
<p>&copy; 2023 Missing Grade Reporting System. All rights reserved.</p>
</footer>
</body>
</html>
34 changes: 34 additions & 0 deletions Login page.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import React, { useState } from 'react';

const LoginPage = () => {
const [studentId, setStudentId] = useState('');
const [pin, setPin] = useState('');

const handleLogin = () => {
// Add authentication logic here (mock-up)
console.log('Logging in with:', studentId, pin);
};

return (
<div>
<h1>Login</h1>
<form>
<label>
Student ID:
<input type="text" value={studentId} onChange={(e) => setStudentId(e.target.value)} />
</label>
<br />
<label>
PIN:
<input type="password" value={pin} onChange={(e) => setPin(e.target.value)} />
</label>
<br />
<button type="button" onClick={handleLogin}>
Login
</button>
</form>
</div>
);
};

export default LoginPage;
46 changes: 46 additions & 0 deletions MissingGradeFormPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import React, { useState } from 'react';

const MissingGradeFormPage = () => {
const [courseName, setCourseName] = useState('');
const [instructorName, setInstructorName] = useState('');
const [expectedGrade, setExpectedGrade] = useState('');
const [explanation, setExplanation] = useState('');

const handleFormSubmit = () => {
// Add logic to handle form submission (mock-up)
console.log('Submitting missing grade report:', { courseName, instructorName, expectedGrade, explanation });
};

return (
<div>
<h1>Report Missing Grade</h1>
<form>
<label>
Course Name:
<input type="text" value={courseName} onChange={(e) => setCourseName(e.target.value)} />
</label>
<br />
<label>
Instructor Name:
<input type="text" value={instructorName} onChange={(e) => setInstructorName(e.target.value)} />
</label>
<br />
<label>
Expected Grade:
<input type="text" value={expectedGrade} onChange={(e) => setExpectedGrade(e.target.value)} />
</label>
<br />
<label>
Explanation:
<textarea value={explanation} onChange={(e) => setExplanation(e.target.value)} />
</label>
<br />
<button type="button" onClick={handleFormSubmit}>
Submit
</button>
</form>
</div>
);
};

export default MissingGradeFormPage;
Loading