diff --git a/src/Components/user/home/features.tsx b/src/Components/user/home/features.tsx index a623af1..81e93b2 100644 --- a/src/Components/user/home/features.tsx +++ b/src/Components/user/home/features.tsx @@ -20,7 +20,7 @@ const Features: React.FC = () => { }, []); return ( -
+

Our Features

@@ -29,7 +29,7 @@ const Features: React.FC = () => {

{/* First Section */} -
+
{ feature 100 ? 1 : 0, // Fade in when scroll position is greater than 100 @@ -50,7 +50,7 @@ const Features: React.FC = () => { }} transition={{ duration: 0.5 }} > -

A user interface designed for the classroom

+

A user interface designed for the classroom

  • Teachers don’t get lost in the grid view and have a dedicated Podium space.
  • TA’s and presenters can be moved to the front of the class.
  • @@ -60,9 +60,9 @@ const Features: React.FC = () => {
{/* Second Section */} -
+
300 ? 1 : 0, // Fade in when scroll position is greater than 300 @@ -87,7 +87,7 @@ const Features: React.FC = () => {
{/* Third Section */} -
+
{ role: location.state.role, email: response.payload.data.email, password: response.payload.data.password, - username: response.payload.username, + username: response.payload.data.username, isGauth: true }; navigator(location.state.role === 'student' ? '/userRegister' : '/instructorRegister', { state: signUpData }); diff --git a/src/utils/generatePdf/generatePdf.tsx b/src/utils/generatePdf/generatePdf.tsx index 5fc4102..68ced36 100644 --- a/src/utils/generatePdf/generatePdf.tsx +++ b/src/utils/generatePdf/generatePdf.tsx @@ -1,8 +1,8 @@ import { jsPDF } from 'jspdf'; import 'jspdf-autotable'; -import Img from '../../assets/enrollment/certificate-new.png'; // Path to your certificate background image +import Img from '../../assets/enrollment/certificate-new.png'; + -// Function to generate a PDF certificate export function generateCertificate(name:string, courseName:string, date:any, download = true) { const doc = new jsPDF({ orientation: 'landscape',