Commit 57a9efd8 authored by Gamage B.G.J's avatar Gamage B.G.J

Merge branch 'IT20402266' into 'dev'

It20402266

See merge request !4
parents 2053bb22 7e1916c0
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -41,7 +41,7 @@ export const signUp = async (req, res) => { ...@@ -41,7 +41,7 @@ export const signUp = async (req, res) => {
} = req.body; } = req.body;
try { try {
if (!type) return res.status(400).json({ code: "02", message: "Type Field Required" }) // if (!type) return res.status(400).json({ code: "02", message: "Type Field Required" })
if (!email) return res.status(400).json({ code: "02", message: "Email Field Required" }) if (!email) return res.status(400).json({ code: "02", message: "Email Field Required" })
if (!userFirstName) return res.status(400).json({ code: "02", message: "User First Name Field Required" }) if (!userFirstName) return res.status(400).json({ code: "02", message: "User First Name Field Required" })
if (!userLastName) return res.status(400).json({ code: "02", message: "User Last Name Field Required" }) if (!userLastName) return res.status(400).json({ code: "02", message: "User Last Name Field Required" })
...@@ -50,51 +50,74 @@ export const signUp = async (req, res) => { ...@@ -50,51 +50,74 @@ export const signUp = async (req, res) => {
const existingUser = await User.findOne({ email }) const existingUser = await User.findOne({ email })
if (existingUser) return res.status(400).json({ code: "02", message: "User already exists" }) if (existingUser) return res.status(400).json({ code: "02", message: "User already exists" })
if (type === "buyer") { // if (type === "buyer") {
if (!password) return res.status(400).json({ code: "02", message: "Password Field Required" }) // if (!password) return res.status(400).json({ code: "02", message: "Password Field Required" })
if (password !== confirmPassword) return res.status(400).json({ code: "02", message: "Passwords do not match" }) // if (password !== confirmPassword) return res.status(400).json({ code: "02", message: "Passwords do not match" })
const hashedPassword = await bcrypt.hash(password, 12) // const hashedPassword = await bcrypt.hash(password, 12)
const userDetails = new User({ // const userDetails = new User({
email, // email,
password: hashedPassword, // password: hashedPassword,
type, // type,
userDetails: { // userDetails: {
userQNumber: uuidv4(), // userQNumber: uuidv4(),
userEmail: email, // userEmail: email,
userName: `${userFirstName} ${userLastName}`, // userName: `${userFirstName} ${userLastName}`,
userContactNumber, // userContactNumber,
userAddress: `${userAddressLine1}, ${userAddressLine2}, ${userAddressLine3}`, // userAddress: `${userAddressLine1}, ${userAddressLine2}, ${userAddressLine3}`,
userType: type, // userType: type,
} // }
}) // })
const userResult = await userDetails.save() // const userResult = await userDetails.save()
const token = jwt.sign({ email: userResult.email, id: userResult._id }, 'test', { expiresIn: "1h" }) // const token = jwt.sign({ email: userResult.email, id: userResult._id }, 'test', { expiresIn: "1h" })
res.status(200).json({ code: "01", result: userResult, token }) // res.status(200).json({ code: "01", result: userResult, token })
} else if (type === "trader") { // } else if (type === "trader") {
const userDetails = new User({ // const userDetails = new User({
email, // email,
type, // type,
userDetails: { // userDetails: {
userQNumber: uuidv4(), // userQNumber: uuidv4(),
userEmail: email, // userEmail: email,
userName: `${userFirstName} ${userLastName}`, // userName: `${userFirstName} ${userLastName}`,
userContactNumber, // userContactNumber,
userAddress: `${userAddressLine1}, ${userAddressLine2}, ${userAddressLine3}`, // userAddress: `${userAddressLine1}, ${userAddressLine2}, ${userAddressLine3}`,
userType: type, // userType: type,
}, // },
states: 2 // states: 2
}) // })
const userResult = await userDetails.save() // const userResult = await userDetails.save()
const token = jwt.sign({ email: userResult.email, id: userResult._id }, 'test', { expiresIn: "1h" }) // const token = jwt.sign({ email: userResult.email, id: userResult._id }, 'test', { expiresIn: "1h" })
res.status(200).json({ code: "01", result: userResult, token }) // res.status(200).json({ code: "01", result: userResult, token })
} // }
if (!password) return res.status(400).json({ code: "02", message: "Password Field Required" })
if (password !== confirmPassword) return res.status(400).json({ code: "02", message: "Passwords do not match" })
const hashedPassword = await bcrypt.hash(password, 12)
const userDetails = new User({
email,
password: hashedPassword,
type,
userDetails: {
userQNumber: uuidv4(),
userEmail: email,
userName: `${userFirstName} ${userLastName}`,
userContactNumber,
userAddress: `${userAddressLine1}, ${userAddressLine2}, ${userAddressLine3}`,
}
})
const userResult = await userDetails.save()
const token = jwt.sign({ email: userResult.email, id: userResult._id }, 'test', { expiresIn: "1h" })
res.status(200).json({ code: "01", result: userResult, token })
} catch (error) { } catch (error) {
res.status(500).json({ code: "00", message: "Something went wrong" }) res.status(500).json({ code: "00", message: "Something went wrong" })
......
...@@ -3,10 +3,12 @@ const curriculums = [ ...@@ -3,10 +3,12 @@ const curriculums = [
"curriculumCode": "01", "curriculumCode": "01",
"curriculumLevel": "Base Level", "curriculumLevel": "Base Level",
"curriculumName": "Learn Sign Language", "curriculumName": "Learn Sign Language",
"curriculumImage": "https://drive.google.com/uc?export=view&id=1YACBlu7X-O7-DKv5DoW3AM9kgfT7Yhdc",
"tutorials": [ "tutorials": [
{ {
"tutorialCode": "01", "tutorialCode": "01",
"tutorialTitle": "Numbers and Counting in Sign Language", "tutorialTitle": "Numbers and Counting in Sign Language",
"tutorialImage": "https://drive.google.com/uc?export=view&id=1YACBlu7X-O7-DKv5DoW3AM9kgfT7Yhdc",
"taskItems": [ "taskItems": [
{ {
"title": "Learn Number One", "title": "Learn Number One",
...@@ -83,23 +85,41 @@ const curriculums = [ ...@@ -83,23 +85,41 @@ const curriculums = [
{ {
"tutorialCode": "02", "tutorialCode": "02",
"tutorialTitle": "Learn the Basics of Sign Language", "tutorialTitle": "Learn the Basics of Sign Language",
"tutorialImage": "https://drive.google.com/uc?export=view&id=1YACBlu7X-O7-DKv5DoW3AM9kgfT7Yhdc",
"tutorialContent": "Introduce the concept of sign language and its importance.\nTeach basic greetings and expressions, such as hello, goodbye, thank you, and sorry.\nProvide visual demonstrations and practice exercises for learners to practice these basic signs." "tutorialContent": "Introduce the concept of sign language and its importance.\nTeach basic greetings and expressions, such as hello, goodbye, thank you, and sorry.\nProvide visual demonstrations and practice exercises for learners to practice these basic signs."
}, },
{ {
"tutorialCode": "03", "tutorialCode": "03",
"tutorialTitle": "Family Signs in Sign Language", "tutorialTitle": "Family Signs in Sign Language",
"tutorialImage": "https://drive.google.com/uc?export=view&id=1YACBlu7X-O7-DKv5DoW3AM9kgfT7Yhdc",
"tutorialContent": "Teach signs for family members, such as mother, father, sister, brother, etc.\nIntroduce signs for common family-related words, such as family, love, and home.\nProvide visual demonstrations and practice exercises for learners to practice these family signs." "tutorialContent": "Teach signs for family members, such as mother, father, sister, brother, etc.\nIntroduce signs for common family-related words, such as family, love, and home.\nProvide visual demonstrations and practice exercises for learners to practice these family signs."
}, },
{ {
"tutorialCode": "04", "tutorialCode": "04",
"tutorialTitle": "Everyday Vocabulary in Sign Language", "tutorialTitle": "Everyday Vocabulary in Sign Language",
"tutorialImage": "https://drive.google.com/uc?export=view&id=1YACBlu7X-O7-DKv5DoW3AM9kgfT7Yhdc",
"tutorialContent": "Teach signs for everyday objects and activities, such as eat, drink, sleep, book, pen, etc.\nIntroduce signs for common words used in daily life.\nProvide visual demonstrations and interactive exercises for learners to practice using these signs." "tutorialContent": "Teach signs for everyday objects and activities, such as eat, drink, sleep, book, pen, etc.\nIntroduce signs for common words used in daily life.\nProvide visual demonstrations and interactive exercises for learners to practice using these signs."
}, },
{ {
"tutorialCode": "05", "tutorialCode": "05",
"tutorialTitle": "Basic Conversational Phrases in Sign Language", "tutorialTitle": "Basic Conversational Phrases in Sign Language",
"tutorialImage": "https://drive.google.com/uc?export=view&id=1YACBlu7X-O7-DKv5DoW3AM9kgfT7Yhdc",
"tutorialContent": "Teach simple conversational phrases, such as \"What is your name?\" or \"How are you?\"\nIntroduce signs for common question words and phrases.\nProvide visual demonstrations and practice exercises for learners to practice these conversational phrases." "tutorialContent": "Teach simple conversational phrases, such as \"What is your name?\" or \"How are you?\"\nIntroduce signs for common question words and phrases.\nProvide visual demonstrations and practice exercises for learners to practice these conversational phrases."
} }
] ]
},
{
"curriculumCode": "02",
"curriculumLevel": "Medium Level",
"curriculumName": "Learn Sign Language",
"curriculumImage": "https://drive.google.com/uc?export=view&id=1YACBlu7X-O7-DKv5DoW3AM9kgfT7Yhdc",
"tutorials": []
},
{
"curriculumCode": "03",
"curriculumLevel": "Advance Level",
"curriculumName": "Learn Sign Language",
"curriculumImage": "https://drive.google.com/uc?export=view&id=1YACBlu7X-O7-DKv5DoW3AM9kgfT7Yhdc",
"tutorials": []
} }
] ]
...@@ -36,6 +36,7 @@ const userSchema = mongoose.Schema({ ...@@ -36,6 +36,7 @@ const userSchema = mongoose.Schema({
}, },
userType: { userType: {
type: String, type: String,
default: "N/A",
required: true required: true
}, },
}, },
......
...@@ -5,8 +5,8 @@ import express from "express"; ...@@ -5,8 +5,8 @@ import express from "express";
import mongoose from "mongoose"; import mongoose from "mongoose";
//import routes //import routes
import userRoutes from "./routes/user.routes.js";
import translateRoutes from "./routes/translate.routes.js"; import translateRoutes from "./routes/translate.routes.js";
import userRoutes from "./routes/user.routes.js";
dotenv.config(); dotenv.config();
const app = express(); const app = express();
......
{ {
"name": "React Material Minimal UI", "name": "React Material SignConnect+",
"short_name": "Minimal-UI", "short_name": "Minimal-UI",
"display": "standalone", "display": "standalone",
"start_url": "/", "start_url": "/",
......
...@@ -41,6 +41,15 @@ const navConfig = [ ...@@ -41,6 +41,15 @@ const navConfig = [
items: [ items: [
{ title: 'app', path: PATH_DASHBOARD.general.app, icon: ICONS.dashboard }, { title: 'app', path: PATH_DASHBOARD.general.app, icon: ICONS.dashboard },
{ title: 'blank', path: PATH_DASHBOARD.blank, icon: ICONS.blank }, { title: 'blank', path: PATH_DASHBOARD.blank, icon: ICONS.blank },
//Spoken language to Sign Language Module items
{
title: 'Spoken language Translation Module',
path: PATH_DASHBOARD.spokenLanguageTranslationModule.root,
icon: ICONS.chat,
children: [
{ title: 'Home', path: PATH_DASHBOARD.spokenLanguageTranslationModule.spokenLanguageTranslationHome },
],
},
// Sign Language Learning Module items // Sign Language Learning Module items
{ {
title: 'Learning Module', title: 'Learning Module',
......
...@@ -97,7 +97,7 @@ export default function Footer() { ...@@ -97,7 +97,7 @@ export default function Footer() {
<Grid item xs={8} md={3}> <Grid item xs={8} md={3}>
<Typography variant="body2" sx={{ pr: { md: 5 } }}> <Typography variant="body2" sx={{ pr: { md: 5 } }}>
The starting point for your next project with Minimal UI Kit, built on the newest The starting point for your next project with SignConnect+ Kit, built on the newest
version of Material-UI ©, ready to be customized to your style. version of Material-UI ©, ready to be customized to your style.
</Typography> </Typography>
......
...@@ -21,7 +21,7 @@ export default function Page403() { ...@@ -21,7 +21,7 @@ export default function Page403() {
return ( return (
<> <>
<Head> <Head>
<title> 403 Forbidden | Minimal UI</title> <title> 403 Forbidden | SignConnect+</title>
</Head> </Head>
<MotionContainer> <MotionContainer>
......
...@@ -21,7 +21,7 @@ export default function Page404() { ...@@ -21,7 +21,7 @@ export default function Page404() {
return ( return (
<> <>
<Head> <Head>
<title> 404 Page Not Found | Minimal UI</title> <title> 404 Page Not Found | SignConnect+</title>
</Head> </Head>
<MotionContainer> <MotionContainer>
......
...@@ -21,7 +21,7 @@ export default function Page500() { ...@@ -21,7 +21,7 @@ export default function Page500() {
return ( return (
<> <>
<Head> <Head>
<title> 500 Internal Server Error | Minimal UI</title> <title> 500 Internal Server Error | SignConnect+</title>
</Head> </Head>
<MotionContainer> <MotionContainer>
......
...@@ -45,10 +45,10 @@ export default class MyDocument extends Document { ...@@ -45,10 +45,10 @@ export default class MyDocument extends Document {
{/* Meta */} {/* Meta */}
<meta <meta
name="description" name="description"
content="The starting point for your next project with Minimal UI Kit, built on the newest version of Material-UI ©, ready to be customized to your style" content="The starting point for your next project with SignConnect+ Kit, built on the newest version of Material-UI ©, ready to be customized to your style"
/> />
<meta name="keywords" content="react,material,kit,application,dashboard,admin,template" /> <meta name="keywords" content="react,material,kit,application,dashboard,admin,template" />
<meta name="author" content="Minimal UI Kit" /> <meta name="author" content="SignConnect+ Kit" />
</Head> </Head>
<body> <body>
......
...@@ -17,7 +17,7 @@ export default function AboutPage() { ...@@ -17,7 +17,7 @@ export default function AboutPage() {
return ( return (
<> <>
<Head> <Head>
<title> About us | Minimal UI</title> <title> About us | SignConnect+</title>
</Head> </Head>
<AboutHero /> <AboutHero />
......
...@@ -9,7 +9,7 @@ export default function LoginUnprotectedPage() { ...@@ -9,7 +9,7 @@ export default function LoginUnprotectedPage() {
return ( return (
<> <>
<Head> <Head>
<title> Login Unprotected | Minimal UI</title> <title> Login Unprotected | SignConnect+</title>
</Head> </Head>
<Login /> <Login />
......
...@@ -12,7 +12,7 @@ export default function LoginPage() { ...@@ -12,7 +12,7 @@ export default function LoginPage() {
return ( return (
<> <>
<Head> <Head>
<title> Login | Minimal UI</title> <title> Login | SignConnect+</title>
</Head> </Head>
<GuestGuard> <GuestGuard>
......
...@@ -24,7 +24,7 @@ export default function NewPasswordPage() { ...@@ -24,7 +24,7 @@ export default function NewPasswordPage() {
return ( return (
<> <>
<Head> <Head>
<title> New Password | Minimal UI</title> <title> New Password | SignConnect+</title>
</Head> </Head>
<SentIcon sx={{ mb: 5, height: 96 }} /> <SentIcon sx={{ mb: 5, height: 96 }} />
......
...@@ -9,7 +9,7 @@ export default function RegisterUnprotectedPage() { ...@@ -9,7 +9,7 @@ export default function RegisterUnprotectedPage() {
return ( return (
<> <>
<Head> <Head>
<title> Register Unprotected | Minimal UI</title> <title> Register Unprotected | SignConnect+</title>
</Head> </Head>
<Register /> <Register />
......
// next // next
import Head from 'next/head'; import Head from 'next/head';
// auth // auth
import GuestGuard from '../../auth/GuestGuard';
// sections // sections
import Register from '../../sections/auth/Register'; import Register from '../../sections/auth/Register';
...@@ -11,12 +10,10 @@ export default function RegisterPage() { ...@@ -11,12 +10,10 @@ export default function RegisterPage() {
return ( return (
<> <>
<Head> <Head>
<title> Register | Minimal UI</title> <title> Register | SignConnect+</title>
</Head> </Head>
<GuestGuard> <Register />
<Register />
</GuestGuard>
</> </>
); );
} }
...@@ -24,7 +24,7 @@ export default function ResetPasswordPage() { ...@@ -24,7 +24,7 @@ export default function ResetPasswordPage() {
return ( return (
<> <>
<Head> <Head>
<title> Reset Password | Minimal UI</title> <title> Reset Password | SignConnect+</title>
</Head> </Head>
<PasswordIcon sx={{ mb: 5, height: 96 }} /> <PasswordIcon sx={{ mb: 5, height: 96 }} />
......
...@@ -24,7 +24,7 @@ export default function VerifyCodePage() { ...@@ -24,7 +24,7 @@ export default function VerifyCodePage() {
return ( return (
<> <>
<Head> <Head>
<title> Verify Code | Minimal UI</title> <title> Verify Code | SignConnect+</title>
</Head> </Head>
<EmailInboxIcon sx={{ mb: 5, height: 96 }} /> <EmailInboxIcon sx={{ mb: 5, height: 96 }} />
......
...@@ -27,7 +27,7 @@ export default function ComingSoonPage() { ...@@ -27,7 +27,7 @@ export default function ComingSoonPage() {
return ( return (
<> <>
<Head> <Head>
<title> Coming Soon | Minimal UI</title> <title> Coming Soon | SignConnect+</title>
</Head> </Head>
<Typography variant="h3" paragraph> <Typography variant="h3" paragraph>
......
...@@ -40,7 +40,7 @@ export default function DemoAnimatePage() { ...@@ -40,7 +40,7 @@ export default function DemoAnimatePage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Animate | Minimal UI</title> <title> Extra Components: Animate | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -41,7 +41,7 @@ export default function DemoCarouselsPage() { ...@@ -41,7 +41,7 @@ export default function DemoCarouselsPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Carousels | Minimal UI</title> <title> Extra Components: Carousels | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -34,7 +34,7 @@ export default function DemoChartsPage() { ...@@ -34,7 +34,7 @@ export default function DemoChartsPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Charts | Minimal UI</title> <title> Extra Components: Charts | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -65,7 +65,7 @@ export default function DemoCopyToClipboardPage() { ...@@ -65,7 +65,7 @@ export default function DemoCopyToClipboardPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Copy To Clipboard | Minimal UI</title> <title> Extra Components: Copy To Clipboard | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -35,7 +35,7 @@ export default function DemoEditorPage() { ...@@ -35,7 +35,7 @@ export default function DemoEditorPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Editor | Minimal UI</title> <title> Extra Components: Editor | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -21,7 +21,7 @@ export default function DemoFormValidationPage() { ...@@ -21,7 +21,7 @@ export default function DemoFormValidationPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Form Validation | Minimal UI</title> <title> Extra Components: Form Validation | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -29,7 +29,7 @@ export default function DemoImagePage() { ...@@ -29,7 +29,7 @@ export default function DemoImagePage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Image | Minimal UI</title> <title> Extra Components: Image | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -26,7 +26,7 @@ export default function DemoLabelPage() { ...@@ -26,7 +26,7 @@ export default function DemoLabelPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Label | Minimal UI</title> <title> Extra Components: Label | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -42,7 +42,7 @@ export default function DemoLightboxPage() { ...@@ -42,7 +42,7 @@ export default function DemoLightboxPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Lightbox | Minimal UI</title> <title> Extra Components: Lightbox | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -74,7 +74,7 @@ export default function DemoMapPage() { ...@@ -74,7 +74,7 @@ export default function DemoMapPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Map | Minimal UI</title> <title> Extra Components: Map | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -30,7 +30,7 @@ export default function DemoMegaMenuPage() { ...@@ -30,7 +30,7 @@ export default function DemoMegaMenuPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Mega Menu | Minimal UI</title> <title> Extra Components: Mega Menu | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -60,7 +60,7 @@ export default function DemoMultiLanguagePage() { ...@@ -60,7 +60,7 @@ export default function DemoMultiLanguagePage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Multi Language | Minimal UI</title> <title> Extra Components: Multi Language | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -27,7 +27,7 @@ export default function DemoNavigationBarPage() { ...@@ -27,7 +27,7 @@ export default function DemoNavigationBarPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Navigation Bar | Minimal UI</title> <title> Extra Components: Navigation Bar | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -29,7 +29,7 @@ export default function DemoOrganizationalChartPage() { ...@@ -29,7 +29,7 @@ export default function DemoOrganizationalChartPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Organizational Chart | Minimal UI</title> <title> Extra Components: Organizational Chart | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -20,7 +20,7 @@ export default function DemoScrollbarPage() { ...@@ -20,7 +20,7 @@ export default function DemoScrollbarPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Scrollbar | Minimal UI</title> <title> Extra Components: Scrollbar | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -59,7 +59,7 @@ export default function DemoSnackbarPage() { ...@@ -59,7 +59,7 @@ export default function DemoSnackbarPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Snackbar | Minimal UI</title> <title> Extra Components: Snackbar | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -21,7 +21,7 @@ export default function DemoTextMaxLinePage() { ...@@ -21,7 +21,7 @@ export default function DemoTextMaxLinePage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Text Max Line | Minimal UI</title> <title> Extra Components: Text Max Line | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -87,7 +87,7 @@ export default function DemoUploadPage() { ...@@ -87,7 +87,7 @@ export default function DemoUploadPage() {
return ( return (
<> <>
<Head> <Head>
<title> Extra Components: Upload | Minimal UI</title> <title> Extra Components: Upload | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -54,7 +54,7 @@ export default function FoundationColorsPage() { ...@@ -54,7 +54,7 @@ export default function FoundationColorsPage() {
return ( return (
<> <>
<Head> <Head>
<title> Foundations: Colors | Minimal UI</title> <title> Foundations: Colors | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -60,7 +60,7 @@ export default function FoundationGridPage() { ...@@ -60,7 +60,7 @@ export default function FoundationGridPage() {
return ( return (
<> <>
<Head> <Head>
<title> Foundations: Grid | Minimal UI</title> <title> Foundations: Grid | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -33,7 +33,7 @@ export default function FoundationIconsPage() { ...@@ -33,7 +33,7 @@ export default function FoundationIconsPage() {
return ( return (
<> <>
<Head> <Head>
<title> Foundations: Icons | Minimal UI</title> <title> Foundations: Icons | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -51,7 +51,7 @@ export default function FoundationShadowsPage() { ...@@ -51,7 +51,7 @@ export default function FoundationShadowsPage() {
return ( return (
<> <>
<Head> <Head>
<title> Foundations: Shadows | Minimal UI</title> <title> Foundations: Shadows | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -55,7 +55,7 @@ export default function FoundationTypographyPage() { ...@@ -55,7 +55,7 @@ export default function FoundationTypographyPage() {
return ( return (
<> <>
<Head> <Head>
<title> Foundations: Typography | Minimal UI</title> <title> Foundations: Typography | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -19,7 +19,7 @@ export default function ComponentsOverviewPage() { ...@@ -19,7 +19,7 @@ export default function ComponentsOverviewPage() {
return ( return (
<> <>
<Head> <Head>
<title> Components Overview | Minimal UI</title> <title> Components Overview | SignConnect+</title>
</Head> </Head>
<ComponentHero /> <ComponentHero />
......
...@@ -50,7 +50,7 @@ export default function MUIAccordionPage() { ...@@ -50,7 +50,7 @@ export default function MUIAccordionPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Accordion | Minimal UI</title> <title> MUI Components: Accordion | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -36,7 +36,7 @@ export default function MUIAlertPage() { ...@@ -36,7 +36,7 @@ export default function MUIAlertPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Alert | Minimal UI</title> <title> MUI Components: Alert | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -47,7 +47,7 @@ export default function MUIAutocompletePage() { ...@@ -47,7 +47,7 @@ export default function MUIAutocompletePage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Autocomplete | Minimal UI</title> <title> MUI Components: Autocomplete | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -40,7 +40,7 @@ export default function MUIAvatarPage() { ...@@ -40,7 +40,7 @@ export default function MUIAvatarPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Avatar | Minimal UI</title> <title> MUI Components: Avatar | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -23,7 +23,7 @@ export default function MUIBadgePage() { ...@@ -23,7 +23,7 @@ export default function MUIBadgePage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Badge | Minimal UI</title> <title> MUI Components: Badge | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -22,7 +22,7 @@ export default function MUIBreadcrumbsPage() { ...@@ -22,7 +22,7 @@ export default function MUIBreadcrumbsPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Breadcrumbs | Minimal UI</title> <title> MUI Components: Breadcrumbs | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -49,7 +49,7 @@ export default function MUIButtonsPage() { ...@@ -49,7 +49,7 @@ export default function MUIButtonsPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Buttons | Minimal UI</title> <title> MUI Components: Buttons | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -52,7 +52,7 @@ export default function MUICheckboxPage() { ...@@ -52,7 +52,7 @@ export default function MUICheckboxPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Checkbox | Minimal UI</title> <title> MUI Components: Checkbox | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -21,7 +21,7 @@ export default function MUIChipPage() { ...@@ -21,7 +21,7 @@ export default function MUIChipPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Chip | Minimal UI</title> <title> MUI Components: Chip | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -40,7 +40,7 @@ export default function MUIDataGridPage() { ...@@ -40,7 +40,7 @@ export default function MUIDataGridPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: DataGrid | Minimal UI</title> <title> MUI Components: DataGrid | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -37,7 +37,7 @@ export default function MUIDialogPage() { ...@@ -37,7 +37,7 @@ export default function MUIDialogPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Dialog | Minimal UI</title> <title> MUI Components: Dialog | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -97,7 +97,7 @@ export default function MUIListPage() { ...@@ -97,7 +97,7 @@ export default function MUIListPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: List | Minimal UI</title> <title> MUI Components: List | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -98,7 +98,7 @@ export default function MUIMenuPage() { ...@@ -98,7 +98,7 @@ export default function MUIMenuPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Menu | Minimal UI</title> <title> MUI Components: Menu | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -60,7 +60,7 @@ export default function MUIPaginationPage() { ...@@ -60,7 +60,7 @@ export default function MUIPaginationPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Pagination | Minimal UI</title> <title> MUI Components: Pagination | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -36,7 +36,7 @@ export default function MUIPickersPage() { ...@@ -36,7 +36,7 @@ export default function MUIPickersPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Pickers | Minimal UI</title> <title> MUI Components: Pickers | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -73,7 +73,7 @@ export default function MUIPopoverPage() { ...@@ -73,7 +73,7 @@ export default function MUIPopoverPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Popover | Minimal UI</title> <title> MUI Components: Popover | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -70,7 +70,7 @@ export default function MUIProgressPage() { ...@@ -70,7 +70,7 @@ export default function MUIProgressPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Progress | Minimal UI</title> <title> MUI Components: Progress | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -43,7 +43,7 @@ export default function MUIRadioButtonsPage() { ...@@ -43,7 +43,7 @@ export default function MUIRadioButtonsPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Radio Buttons | Minimal UI</title> <title> MUI Components: Radio Buttons | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -88,7 +88,7 @@ export default function MUIRatingPage() { ...@@ -88,7 +88,7 @@ export default function MUIRatingPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Rating | Minimal UI</title> <title> MUI Components: Rating | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -79,7 +79,7 @@ export default function MUISliderPage() { ...@@ -79,7 +79,7 @@ export default function MUISliderPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Slider | Minimal UI</title> <title> MUI Components: Slider | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -25,7 +25,7 @@ export default function MUIStepperPage() { ...@@ -25,7 +25,7 @@ export default function MUIStepperPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Stepper | Minimal UI</title> <title> MUI Components: Stepper | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -36,7 +36,7 @@ export default function MUISwitchPage() { ...@@ -36,7 +36,7 @@ export default function MUISwitchPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Switch | Minimal UI</title> <title> MUI Components: Switch | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -24,7 +24,7 @@ export default function MUITablePage() { ...@@ -24,7 +24,7 @@ export default function MUITablePage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Table | Minimal UI</title> <title> MUI Components: Table | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -78,7 +78,7 @@ export default function MUITabsPage() { ...@@ -78,7 +78,7 @@ export default function MUITabsPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Tabs | Minimal UI</title> <title> MUI Components: Tabs | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -32,7 +32,7 @@ export default function MUITextFieldPage() { ...@@ -32,7 +32,7 @@ export default function MUITextFieldPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Textfield | Minimal UI</title> <title> MUI Components: Textfield | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -106,7 +106,7 @@ export default function MUITimelinePage() { ...@@ -106,7 +106,7 @@ export default function MUITimelinePage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Timeline | Minimal UI</title> <title> MUI Components: Timeline | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -40,7 +40,7 @@ export default function MUITooltipPage() { ...@@ -40,7 +40,7 @@ export default function MUITooltipPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Tooltip | Minimal UI</title> <title> MUI Components: Tooltip | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -32,7 +32,7 @@ export default function MUITransferListPage() { ...@@ -32,7 +32,7 @@ export default function MUITransferListPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Transfer List | Minimal UI</title> <title> MUI Components: Transfer List | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -45,7 +45,7 @@ export default function MUITreesViewPage() { ...@@ -45,7 +45,7 @@ export default function MUITreesViewPage() {
return ( return (
<> <>
<Head> <Head>
<title> MUI Components: Tree View | Minimal UI</title> <title> MUI Components: Tree View | SignConnect+</title>
</Head> </Head>
<Box <Box
......
...@@ -19,7 +19,7 @@ export default function ContactPage() { ...@@ -19,7 +19,7 @@ export default function ContactPage() {
return ( return (
<> <>
<Head> <Head>
<title> Contact us | Minimal UI</title> <title> Contact us | SignConnect+</title>
</Head> </Head>
<ContactHero /> <ContactHero />
......
...@@ -38,7 +38,7 @@ export default function GeneralAnalyticsPage() { ...@@ -38,7 +38,7 @@ export default function GeneralAnalyticsPage() {
return ( return (
<> <>
<Head> <Head>
<title> General: Analytics | Minimal UI</title> <title> General: Analytics | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'xl'}> <Container maxWidth={themeStretch ? false : 'xl'}>
......
...@@ -49,7 +49,7 @@ export default function GeneralAppPage() { ...@@ -49,7 +49,7 @@ export default function GeneralAppPage() {
return ( return (
<> <>
<Head> <Head>
<title> General: App | Minimal UI</title> <title> General: App | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'xl'}> <Container maxWidth={themeStretch ? false : 'xl'}>
......
...@@ -40,7 +40,7 @@ export default function GeneralBankingPage() { ...@@ -40,7 +40,7 @@ export default function GeneralBankingPage() {
return ( return (
<> <>
<Head> <Head>
<title> General: Banking | Minimal UI</title> <title> General: Banking | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'xl'}> <Container maxWidth={themeStretch ? false : 'xl'}>
......
...@@ -18,7 +18,7 @@ export default function BlankPage() { ...@@ -18,7 +18,7 @@ export default function BlankPage() {
return ( return (
<> <>
<Head> <Head>
<title> Blank Page | Minimal UI</title> <title> Blank Page | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'xl'}> <Container maxWidth={themeStretch ? false : 'xl'}>
......
...@@ -24,7 +24,7 @@ export default function BlogNewPostPage() { ...@@ -24,7 +24,7 @@ export default function BlogNewPostPage() {
return ( return (
<> <>
<Head> <Head>
<title> Blog: New Post | Minimal UI</title> <title> Blog: New Post | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -87,7 +87,7 @@ export default function BlogPostPage() { ...@@ -87,7 +87,7 @@ export default function BlogPostPage() {
return ( return (
<> <>
<Head> <Head>
<title>{`Blog: ${post?.title || ''} | Minimal UI`}</title> <title>{`Blog: ${post?.title || ''} | SignConnect+`}</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -64,7 +64,7 @@ export default function BlogPostsPage() { ...@@ -64,7 +64,7 @@ export default function BlogPostsPage() {
return ( return (
<> <>
<Head> <Head>
<title> Blog: Posts | Minimal UI</title> <title> Blog: Posts | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -43,7 +43,7 @@ export default function GeneralBookingPage() { ...@@ -43,7 +43,7 @@ export default function GeneralBookingPage() {
return ( return (
<> <>
<Head> <Head>
<title> General: Booking | Minimal UI</title> <title> General: Booking | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'xl'}> <Container maxWidth={themeStretch ? false : 'xl'}>
......
...@@ -253,7 +253,7 @@ export default function CalendarPage() { ...@@ -253,7 +253,7 @@ export default function CalendarPage() {
return ( return (
<> <>
<Head> <Head>
<title> Calendar | Minimal UI</title> <title> Calendar | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'xl'}> <Container maxWidth={themeStretch ? false : 'xl'}>
......
...@@ -15,7 +15,7 @@ export default function ChatPage() { ...@@ -15,7 +15,7 @@ export default function ChatPage() {
return ( return (
<> <>
<Head> <Head>
<title> Chat | Minimal UI</title> <title> Chat | SignConnect+</title>
</Head> </Head>
<Chat /> <Chat />
......
...@@ -15,7 +15,7 @@ export default function ChatPage() { ...@@ -15,7 +15,7 @@ export default function ChatPage() {
return ( return (
<> <>
<Head> <Head>
<title> Chat | Minimal UI</title> <title> Chat | SignConnect+</title>
</Head> </Head>
<Chat /> <Chat />
......
...@@ -15,7 +15,7 @@ export default function ChatPage() { ...@@ -15,7 +15,7 @@ export default function ChatPage() {
return ( return (
<> <>
<Head> <Head>
<title> Chat | Minimal UI</title> <title> Chat | SignConnect+</title>
</Head> </Head>
<Chat /> <Chat />
......
...@@ -121,7 +121,7 @@ export default function EcommerceCheckoutPage() { ...@@ -121,7 +121,7 @@ export default function EcommerceCheckoutPage() {
return ( return (
<> <>
<Head> <Head>
<title> Ecommerce: Checkout | Minimal UI</title> <title> Ecommerce: Checkout | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -198,7 +198,7 @@ export default function EcommerceProductListPage() { ...@@ -198,7 +198,7 @@ export default function EcommerceProductListPage() {
return ( return (
<> <>
<Head> <Head>
<title> Ecommerce: Product List | Minimal UI</title> <title> Ecommerce: Product List | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -99,7 +99,7 @@ export default function EcommerceProductDetailsPage() { ...@@ -99,7 +99,7 @@ export default function EcommerceProductDetailsPage() {
return ( return (
<> <>
<Head> <Head>
<title>{`Ecommerce: ${product?.name || ''} | Minimal UI`}</title> <title>{`Ecommerce: ${product?.name || ''} | SignConnect+`}</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -46,7 +46,7 @@ export default function EcommerceProductEditPage() { ...@@ -46,7 +46,7 @@ export default function EcommerceProductEditPage() {
return ( return (
<> <>
<Head> <Head>
<title> Ecommerce: Edit product | Minimal UI</title> <title> Ecommerce: Edit product | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -26,7 +26,7 @@ export default function EcommerceProductCreatePage() { ...@@ -26,7 +26,7 @@ export default function EcommerceProductCreatePage() {
return ( return (
<> <>
<Head> <Head>
<title> Ecommerce: Create a new product | Minimal UI</title> <title> Ecommerce: Create a new product | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -96,7 +96,7 @@ export default function EcommerceShopPage() { ...@@ -96,7 +96,7 @@ export default function EcommerceShopPage() {
return ( return (
<> <>
<Head> <Head>
<title> Ecommerce: Shop | Minimal UI</title> <title> Ecommerce: Shop | SignConnect+</title>
</Head> </Head>
<FormProvider methods={methods}> <FormProvider methods={methods}>
......
...@@ -49,7 +49,7 @@ export default function GeneralEcommercePage() { ...@@ -49,7 +49,7 @@ export default function GeneralEcommercePage() {
return ( return (
<> <>
<Head> <Head>
<title> General: E-commerce | Minimal UI</title> <title> General: E-commerce | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'xl'}> <Container maxWidth={themeStretch ? false : 'xl'}>
......
...@@ -135,7 +135,7 @@ export default function GeneralFilePage() { ...@@ -135,7 +135,7 @@ export default function GeneralFilePage() {
return ( return (
<> <>
<Head> <Head>
<title> General: File | Minimal UI</title> <title> General: File | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'xl'}> <Container maxWidth={themeStretch ? false : 'xl'}>
......
...@@ -196,7 +196,7 @@ export default function FileManagerPage() { ...@@ -196,7 +196,7 @@ export default function FileManagerPage() {
return ( return (
<> <>
<Head> <Head>
<title> File Manager | Minimal UI</title> <title> File Manager | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -33,7 +33,7 @@ export default function InvoiceEditPage() { ...@@ -33,7 +33,7 @@ export default function InvoiceEditPage() {
return ( return (
<> <>
<Head> <Head>
<title> Invoice: Edit | Minimal UI</title> <title> Invoice: Edit | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -35,7 +35,7 @@ export default function InvoiceDetailsPage() { ...@@ -35,7 +35,7 @@ export default function InvoiceDetailsPage() {
return ( return (
<> <>
<Head> <Head>
<title> Invoice: View | Minimal UI</title> <title> Invoice: View | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -236,7 +236,7 @@ export default function InvoiceListPage() { ...@@ -236,7 +236,7 @@ export default function InvoiceListPage() {
return ( return (
<> <>
<Head> <Head>
<title> Invoice: List | Minimal UI</title> <title> Invoice: List | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -26,7 +26,7 @@ export default function InvoiceCreatePage() { ...@@ -26,7 +26,7 @@ export default function InvoiceCreatePage() {
return ( return (
<> <>
<Head> <Head>
<title> Invoices: Create a new invoice | Minimal UI</title> <title> Invoices: Create a new invoice | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -107,7 +107,7 @@ export default function KanbanPage() { ...@@ -107,7 +107,7 @@ export default function KanbanPage() {
return ( return (
<> <>
<Head> <Head>
<title> Kanban | Minimal UI</title> <title> Kanban | SignConnect+</title>
</Head> </Head>
<Container maxWidth={false} sx={{ height: 1 }}> <Container maxWidth={false} sx={{ height: 1 }}>
......
import { Container, Typography } from '@mui/material'; import { Box, Container, Stack, Typography } from '@mui/material';
import Head from 'next/head'; import Head from 'next/head';
import { ComingSoonIllustration } from 'src/assets/illustrations';
import useCountdown from 'src/hooks/useCountdown';
import { useSettingsContext } from '../../../../components/settings'; import { useSettingsContext } from '../../../../components/settings';
import DashboardLayout from '../../../../layouts/dashboard'; import DashboardLayout from '../../../../layouts/dashboard';
import CustomBreadcrumbs from 'src/components/custom-breadcrumbs/CustomBreadcrumbs';
import Iconify from 'src/components/iconify/Iconify';
LeadBoardHomePage.getLayout = (page: React.ReactElement) => <DashboardLayout>{page}</DashboardLayout>; LeadBoardHomePage.getLayout = (page: React.ReactElement) => <DashboardLayout>{page}</DashboardLayout>;
export default function LeadBoardHomePage() { export default function LeadBoardHomePage() {
const { themeStretch } = useSettingsContext(); const { themeStretch } = useSettingsContext();
const { days, hours, minutes, seconds } = useCountdown(new Date('06/20/2023 21:30'));
return ( return (
<> <>
<Head> {/* <Head>
<title> Lead Board Home | SignLink </title> <title> Lead Board Home | SignLink </title>
</Head> </Head>
...@@ -32,7 +33,52 @@ export default function LeadBoardHomePage() { ...@@ -32,7 +33,52 @@ export default function LeadBoardHomePage() {
</Container> </Container>
<Container maxWidth={themeStretch ? false : 'xl'}> <Container maxWidth={themeStretch ? false : 'xl'}>
</Container> */}
<Head>
<title> Coming Soon | SignConnect+</title>
</Head>
<Container maxWidth={themeStretch ? false : 'xl'}>
<Typography variant="h3" paragraph>
Coming Soon!
</Typography>
<Typography sx={{ color: 'text.secondary' }}>
We are currently working hard on this page!
</Typography>
<ComingSoonIllustration sx={{ my: 10, height: 240 }} />
<Stack
direction="row"
justifyContent="center"
divider={<Box sx={{ mx: { xs: 1, sm: 2.5 } }}>:</Box>}
sx={{ typography: 'h2' }}
>
<TimeBlock label="Days" value={days} />
<TimeBlock label="Hours" value={hours} />
<TimeBlock label="Minutes" value={minutes} />
<TimeBlock label="Seconds" value={seconds} />
</Stack>
</Container> </Container>
</> </>
); );
} }
type TimeBlockProps = {
label: string;
value: string;
};
function TimeBlock({ label, value }: TimeBlockProps) {
return (
<div>
<Box> {value} </Box>
<Box sx={{ color: 'text.secondary', typography: 'body1' }}>{label}</Box>
</div>
);
}
\ No newline at end of file
import { Container } from '@mui/material'; import { Box, Container, Stack, Typography } from '@mui/material';
import Head from 'next/head'; import Head from 'next/head';
import CustomBreadcrumbs from 'src/components/custom-breadcrumbs/CustomBreadcrumbs'; import { ComingSoonIllustration } from 'src/assets/illustrations';
import Iconify from 'src/components/iconify/Iconify'; import useCountdown from 'src/hooks/useCountdown';
import { useSettingsContext } from '../../../../components/settings'; import { useSettingsContext } from '../../../../components/settings';
import DashboardLayout from '../../../../layouts/dashboard'; import DashboardLayout from '../../../../layouts/dashboard';
...@@ -9,10 +9,11 @@ QuestionAndAnswersHomePage.getLayout = (page: React.ReactElement) => <DashboardL ...@@ -9,10 +9,11 @@ QuestionAndAnswersHomePage.getLayout = (page: React.ReactElement) => <DashboardL
export default function QuestionAndAnswersHomePage() { export default function QuestionAndAnswersHomePage() {
const { themeStretch } = useSettingsContext(); const { themeStretch } = useSettingsContext();
const { days, hours, minutes, seconds } = useCountdown(new Date('06/20/2023 21:30'));
return ( return (
<> <>
<Head> {/* <Head>
<title> Questions & Answers Home | SignLink </title> <title> Questions & Answers Home | SignLink </title>
</Head> </Head>
...@@ -33,7 +34,52 @@ export default function QuestionAndAnswersHomePage() { ...@@ -33,7 +34,52 @@ export default function QuestionAndAnswersHomePage() {
</Container> </Container>
<Container maxWidth={themeStretch ? false : 'xl'}> <Container maxWidth={themeStretch ? false : 'xl'}>
</Container> */}
<Head>
<title> Coming Soon | SignConnect+</title>
</Head>
<Container maxWidth={themeStretch ? false : 'xl'}>
<Typography variant="h3" paragraph>
Coming Soon!
</Typography>
<Typography sx={{ color: 'text.secondary' }}>
We are currently working hard on this page!
</Typography>
<ComingSoonIllustration sx={{ my: 10, height: 240 }} />
<Stack
direction="row"
justifyContent="center"
divider={<Box sx={{ mx: { xs: 1, sm: 2.5 } }}>:</Box>}
sx={{ typography: 'h2' }}
>
<TimeBlock label="Days" value={days} />
<TimeBlock label="Hours" value={hours} />
<TimeBlock label="Minutes" value={minutes} />
<TimeBlock label="Seconds" value={seconds} />
</Stack>
</Container> </Container>
</> </>
); );
} }
type TimeBlockProps = {
label: string;
value: string;
};
function TimeBlock({ label, value }: TimeBlockProps) {
return (
<div>
<Box> {value} </Box>
<Box sx={{ color: 'text.secondary', typography: 'body1' }}>{label}</Box>
</div>
);
}
\ No newline at end of file
...@@ -15,7 +15,7 @@ export default function MailPage() { ...@@ -15,7 +15,7 @@ export default function MailPage() {
return ( return (
<> <>
<Head> <Head>
<title> Mail | Minimal UI</title> <title> Mail | SignConnect+</title>
</Head> </Head>
<Mail /> <Mail />
......
...@@ -15,7 +15,7 @@ export default function MailPage() { ...@@ -15,7 +15,7 @@ export default function MailPage() {
return ( return (
<> <>
<Head> <Head>
<title> Mail | Minimal UI</title> <title> Mail | SignConnect+</title>
</Head> </Head>
<Mail /> <Mail />
......
...@@ -15,7 +15,7 @@ export default function MailPage() { ...@@ -15,7 +15,7 @@ export default function MailPage() {
return ( return (
<> <>
<Head> <Head>
<title> Mail | Minimal UI</title> <title> Mail | SignConnect+</title>
</Head> </Head>
<Mail /> <Mail />
......
...@@ -15,7 +15,7 @@ export default function MailPage() { ...@@ -15,7 +15,7 @@ export default function MailPage() {
return ( return (
<> <>
<Head> <Head>
<title> Mail | Minimal UI</title> <title> Mail | SignConnect+</title>
</Head> </Head>
<Mail /> <Mail />
......
...@@ -43,7 +43,7 @@ export default function PermissionDeniedPage() { ...@@ -43,7 +43,7 @@ export default function PermissionDeniedPage() {
return ( return (
<> <>
<Head> <Head>
<title> Other Cases: Permission Denied | Minimal UI</title> <title> Other Cases: Permission Denied | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
import { Container, Typography } from '@mui/material';
import Head from 'next/head';
import { useSettingsContext } from '../../../components/settings';
import DashboardLayout from '../../../layouts/dashboard';
SpokenLanguageTranslationHomePage.getLayout = (page: React.ReactElement) => <DashboardLayout>{page}</DashboardLayout>;
export default function SpokenLanguageTranslationHomePage() {
const { themeStretch } = useSettingsContext();
return (
<>
<Head>
<title> Blank Page | SignConnect+</title>
</Head>
<Container maxWidth={themeStretch ? false : 'xl'}>
<Typography variant="h6"> Blank </Typography>
</Container>
</>
);
}
...@@ -34,7 +34,7 @@ export default function UserEditPage() { ...@@ -34,7 +34,7 @@ export default function UserEditPage() {
return ( return (
<> <>
<Head> <Head>
<title> User: Edit user | Minimal UI</title> <title> User: Edit user | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -75,7 +75,7 @@ export default function UserAccountPage() { ...@@ -75,7 +75,7 @@ export default function UserAccountPage() {
return ( return (
<> <>
<Head> <Head>
<title> User: Account Settings | Minimal UI</title> <title> User: Account Settings | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -26,7 +26,7 @@ export default function UserCardsPage() { ...@@ -26,7 +26,7 @@ export default function UserCardsPage() {
return ( return (
<> <>
<Head> <Head>
<title> User: Cards | Minimal UI</title> <title> User: Cards | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -195,7 +195,7 @@ export default function UserListPage() { ...@@ -195,7 +195,7 @@ export default function UserListPage() {
return ( return (
<> <>
<Head> <Head>
<title> User: List | Minimal UI</title> <title> User: List | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -24,7 +24,7 @@ export default function UserCreatePage() { ...@@ -24,7 +24,7 @@ export default function UserCreatePage() {
return ( return (
<> <>
<Head> <Head>
<title> User: Create a new user | Minimal UI</title> <title> User: Create a new user | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -83,7 +83,7 @@ export default function UserProfilePage() { ...@@ -83,7 +83,7 @@ export default function UserProfilePage() {
return ( return (
<> <>
<Head> <Head>
<title> User: Profile | Minimal UI</title> <title> User: Profile | SignConnect+</title>
</Head> </Head>
<Container maxWidth={themeStretch ? false : 'lg'}> <Container maxWidth={themeStretch ? false : 'lg'}>
......
...@@ -17,7 +17,7 @@ export default function FaqsPage() { ...@@ -17,7 +17,7 @@ export default function FaqsPage() {
return ( return (
<> <>
<Head> <Head>
<title> Faqs | Minimal UI</title> <title> Faqs | SignConnect+</title>
</Head> </Head>
<FaqsHero /> <FaqsHero />
......
import { m, useScroll, useSpring } from 'framer-motion';
// next
import Head from 'next/head';
// @mui
import { useTheme } from '@mui/material/styles';
import { Box } from '@mui/material';
// layouts
import MainLayout from '../layouts/main';
// sections
import {
HomeHero,
HomeMinimal,
HomeDarkMode,
HomeLookingFor,
HomeForDesigner,
HomeColorPresets,
HomePricingPlans,
HomeAdvertisement,
HomeCleanInterfaces,
HomeHugePackElements,
} from '../sections/home';
// ----------------------------------------------------------------------
HomePage.getLayout = (page: React.ReactElement) => <MainLayout> {page} </MainLayout>;
// ----------------------------------------------------------------------
export default function HomePage() {
const theme = useTheme();
const { scrollYProgress } = useScroll();
const scaleX = useSpring(scrollYProgress, {
stiffness: 100,
damping: 30,
restDelta: 0.001,
});
const progress = (
<m.div
style={{
top: 0,
left: 0,
right: 0,
height: 3,
zIndex: 1999,
position: 'fixed',
transformOrigin: '0%',
backgroundColor: theme.palette.primary.main,
scaleX,
}}
/>
);
return (
<>
<Head>
<title> The starting point for your next project | SignConnect+</title>
</Head>
{progress}
<HomeHero />
<Box
sx={{
overflow: 'hidden',
position: 'relative',
bgcolor: 'background.default',
}}
>
<HomeMinimal />
<HomeHugePackElements />
<HomeForDesigner />
<HomeDarkMode />
<HomeColorPresets />
<HomeCleanInterfaces />
<HomePricingPlans />
<HomeLookingFor />
<HomeAdvertisement />
</Box>
</>
);
}
import { m, useScroll, useSpring } from 'framer-motion'; import LoginPage from "./auth/login";
// next
import Head from 'next/head';
// @mui
import { useTheme } from '@mui/material/styles';
import { Box } from '@mui/material';
// layouts
import MainLayout from '../layouts/main';
// sections
import {
HomeHero,
HomeMinimal,
HomeDarkMode,
HomeLookingFor,
HomeForDesigner,
HomeColorPresets,
HomePricingPlans,
HomeAdvertisement,
HomeCleanInterfaces,
HomeHugePackElements,
} from '../sections/home';
// ---------------------------------------------------------------------- export default LoginPage
\ No newline at end of file
HomePage.getLayout = (page: React.ReactElement) => <MainLayout> {page} </MainLayout>;
// ----------------------------------------------------------------------
export default function HomePage() {
const theme = useTheme();
const { scrollYProgress } = useScroll();
const scaleX = useSpring(scrollYProgress, {
stiffness: 100,
damping: 30,
restDelta: 0.001,
});
const progress = (
<m.div
style={{
top: 0,
left: 0,
right: 0,
height: 3,
zIndex: 1999,
position: 'fixed',
transformOrigin: '0%',
backgroundColor: theme.palette.primary.main,
scaleX,
}}
/>
);
return (
<>
<Head>
<title> The starting point for your next project | Minimal UI</title>
</Head>
{progress}
<HomeHero />
<Box
sx={{
overflow: 'hidden',
position: 'relative',
bgcolor: 'background.default',
}}
>
<HomeMinimal />
<HomeHugePackElements />
<HomeForDesigner />
<HomeDarkMode />
<HomeColorPresets />
<HomeCleanInterfaces />
<HomePricingPlans />
<HomeLookingFor />
<HomeAdvertisement />
</Box>
</>
);
}
...@@ -18,7 +18,7 @@ export default function MaintenancePage() { ...@@ -18,7 +18,7 @@ export default function MaintenancePage() {
return ( return (
<> <>
<Head> <Head>
<title> Maintenance | Minimal UI</title> <title> Maintenance | SignConnect+</title>
</Head> </Head>
<Stack sx={{ alignItems: 'center' }}> <Stack sx={{ alignItems: 'center' }}>
......
...@@ -21,7 +21,7 @@ export default function PaymentPage() { ...@@ -21,7 +21,7 @@ export default function PaymentPage() {
return ( return (
<> <>
<Head> <Head>
<title> Payment | Minimal UI</title> <title> Payment | SignConnect+</title>
</Head> </Head>
<Container <Container
......
...@@ -19,7 +19,7 @@ export default function PricingPage() { ...@@ -19,7 +19,7 @@ export default function PricingPage() {
return ( return (
<> <>
<Head> <Head>
<title> Pricing | Minimal UI</title> <title> Pricing | SignConnect+</title>
</Head> </Head>
<Container <Container
......
...@@ -97,6 +97,10 @@ export const PATH_DASHBOARD = { ...@@ -97,6 +97,10 @@ export const PATH_DASHBOARD = {
view: (title: string) => path(ROOTS_DASHBOARD, `/blog/post/${title}`), view: (title: string) => path(ROOTS_DASHBOARD, `/blog/post/${title}`),
demoView: path(ROOTS_DASHBOARD, '/blog/post/apply-these-7-secret-techniques-to-improve-event'), demoView: path(ROOTS_DASHBOARD, '/blog/post/apply-these-7-secret-techniques-to-improve-event'),
}, },
spokenLanguageTranslationModule: {
root: path(ROOTS_DASHBOARD, '/spokenLanguageTranslation-module'),
spokenLanguageTranslationHome: path(ROOTS_DASHBOARD, '/spokenLanguageTranslation-module'),
},
learningModule: { learningModule: {
root: path(ROOTS_DASHBOARD, '/learning-module'), root: path(ROOTS_DASHBOARD, '/learning-module'),
curriculumHome: path(ROOTS_DASHBOARD, '/learning-module/curriculum'), curriculumHome: path(ROOTS_DASHBOARD, '/learning-module/curriculum'),
......
import { Box, CardProps, Stack, Typography } from '@mui/material';
import { useTheme } from '@mui/material/styles';
import Iconify from 'src/components/iconify/Iconify';
import { ColorSchema } from 'src/theme/palette';
interface Props extends CardProps {
icon: string;
title: string;
subTitle: string
color?: ColorSchema;
handleClick?: any
}
export default function HomeWidget({
title,
icon,
color = 'primary',
subTitle,
sx,
handleClick,
...other
}: Props) {
const theme = useTheme();
return (
<Stack
direction="row"
alignItems="center"
sx={{
p: 3,
borderRadius: 2,
overflow: 'hidden',
position: 'relative',
color: 'common.white',
bgcolor: `${color}.dark`,
...sx,
}}
{...other}
>
<Box sx={{ ml: 3 }}>
<Typography variant="h4"
onClick={() => {
console.log(title);
handleClick(title)
}}
sx={{ cursor: 'pointer' }}
> {title}</Typography>
<Typography variant="body2" sx={{ opacity: 0.72 }}>
{subTitle}
</Typography>
</Box>
<Iconify
icon={icon}
sx={{
width: 120,
height: 120,
opacity: 0.12,
position: 'absolute',
right: theme.spacing(-0),
}}
/>
</Stack>
);
}
...@@ -20,7 +20,7 @@ export default function Login() { ...@@ -20,7 +20,7 @@ export default function Login() {
return ( return (
<LoginLayout> <LoginLayout>
<Stack spacing={2} sx={{ mb: 5, position: 'relative' }}> <Stack spacing={2} sx={{ mb: 5, position: 'relative' }}>
<Typography variant="h4">Sign in to Minimal</Typography> <Typography variant="h4">Sign in to SignConnect+</Typography>
<Stack direction="row" spacing={0.5}> <Stack direction="row" spacing={0.5}>
<Typography variant="body2">New user?</Typography> <Typography variant="body2">New user?</Typography>
...@@ -45,8 +45,6 @@ export default function Login() { ...@@ -45,8 +45,6 @@ export default function Login() {
</Alert> </Alert>
<AuthLoginForm /> <AuthLoginForm />
<AuthWithSocial />
</LoginLayout> </LoginLayout>
); );
} }
// next // next
import NextLink from 'next/link'; import NextLink from 'next/link';
// @mui // @mui
import { Stack, Typography, Link } from '@mui/material'; import { Link, Stack, Typography } from '@mui/material';
// layouts // layouts
import LoginLayout from '../../layouts/login'; import LoginLayout from '../../layouts/login';
// routes // routes
import { PATH_AUTH } from '../../routes/paths'; import { PATH_AUTH } from '../../routes/paths';
// //
import AuthWithSocial from './AuthWithSocial';
import AuthRegisterForm from './AuthRegisterForm'; import AuthRegisterForm from './AuthRegisterForm';
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
...@@ -44,7 +43,6 @@ export default function Register() { ...@@ -44,7 +43,6 @@ export default function Register() {
. .
</Typography> </Typography>
<AuthWithSocial />
</LoginLayout> </LoginLayout>
); );
} }
...@@ -58,7 +58,7 @@ export default function HomeMinimal() { ...@@ -58,7 +58,7 @@ export default function HomeMinimal() {
> >
<m.div variants={varFade().inUp}> <m.div variants={varFade().inUp}>
<Typography component="div" variant="overline" sx={{ color: 'text.disabled' }}> <Typography component="div" variant="overline" sx={{ color: 'text.disabled' }}>
Minimal UI SignConnect+
</Typography> </Typography>
</m.div> </m.div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment