Skip to content

Commit 9ed515f

Browse files
Small syntax/style fixes for CI approval
1 parent fa97e50 commit 9ed515f

File tree

6 files changed

+11
-12
lines changed

6 files changed

+11
-12
lines changed

frontend/src/Components/Booking.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState } from "react";
1+
import { useState } from "react";
22
import Calendar from "react-calendar";
33
import "react-calendar/dist/Calendar.css"; // npm install react-calendar
44
import "../Styles/Booking.css";

frontend/src/Components/FAQS.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default function FAQS() {
44
return (
55
<div className="faq-page">
66
{/* FAQ Section */}
7-
// FAQ Background Section
7+
{/* FAQ Background Section */}
88
<div className="faq-background">
99
<img src="assets/images/FAQs.webp" alt="FAQs Background" className="faq-bg-image" />
1010
<h1 className="faq-title">FAQs:</h1>
@@ -122,15 +122,14 @@ export default function FAQS() {
122122
data-bs-parent="#faqAccordion"
123123
>
124124
<div className="accordion-body">
125-
If you're interested in tutoring, sign up as a tutor and
126-
complete the verification process.
125+
If you&apos;re interested in tutoring, sign up as a tutor and complete the verification process.
127126
</div>
128127
</div>
129128
</div>
130129
</div>
131130
{/* Didn't find your answer button */}
132131
<div className="faq-footer">
133-
<p>Didn't find your answer?</p>
132+
<p>Didn&apos;t find your answer?</p>
134133
<a href="/contact" className="faq-button">Click here</a>
135134
</div>
136135
</div>

frontend/src/Components/FindTutor.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default function FindTutor() {
7979
Find & Book <span className="text-primary">Appointment</span> with your Favorite <span className="text-primary">Tutors</span>
8080
</h2>
8181
<p className="mt-4 text-muted">
82-
Our platform connects you with experienced educators who specialize in various subjects. Whether you're looking for academic support, music lessons, or skill-building sessions, we make it easy to find and book a tutor that fits your schedule. Start your learning journey today.
82+
Our platform connects you with experienced educators who specialize in various subjects. Whether you&apos;re looking for academic support, music lessons, or skill-building sessions, we make it easy to find and book a tutor that fits your schedule. Start your learning journey today.
8383
</p>
8484
{/*<button type="submit" className="btn btn-primary mt-4 d-flex align-items-center">Explore Now</button>*/}
8585
</div>

frontend/src/Components/Learn_more.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function Learn_more() {
5353
<div className="container">
5454
<h2 className="fw-bold">Join LessonConnect Today</h2>
5555
<p className="text-muted">
56-
Sign up, explore tutors, and book your first lesson. Whether you're a student
56+
Sign up, explore tutors, and book your first lesson. Whether you&apos;re a student
5757
looking to improve or a tutor eager to share knowledge, LessonConnect is the
5858
perfect space for growth.
5959
</p>

frontend/src/Components/Podomoro.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {NavLink} from "react-router-dom";
2-
import React, { useState, useEffect, useRef } from "react";
1+
// import {NavLink} from "react-router-dom"; // Uncomment if you are going use it (Ashley helped by Frank)
2+
import { useState, useEffect, useRef } from "react";
33
import "../Styles/Pomodoro.css"; // 1) Import your dedicated CSS file
44

55
export default function Pomodoro() {

frontend/src/Components/SignUp.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { useLocation } from "react-router-dom";
1+
// import { useLocation } from "react-router-dom";
22
import { useState } from "react";
33
import "../Styles/SignUp.css"; // Import the CSS file
44

55
export default function SignUp() {
6-
const location = useLocation();
6+
// const location = useLocation(); // Uncomment if you are going use it (Ashley helped by Frank)
77
// this will help later for the back end
8-
const dob = location.state || {};
8+
// const dob = location.state || {};
99

1010
const [formData, setFormData] = useState({
1111
country: "",

0 commit comments

Comments
 (0)