Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Favicon success page #153

Merged
merged 2 commits into from
Jun 3, 2024
Merged
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
7 changes: 4 additions & 3 deletions routers/NgoRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@ router.post("/NGO-Registarion", async (req, res) => {
});

console.log("NGO registration request sent for approval");
res
.status(200)
.json({ message: "NGO registration request sent for approval" });
// res
// .status(200)
// .json({ message: "NGO registration request sent for approval" });
res.render("success")
} catch (err) {
console.error("Error creating NGO:", err);
res.status(500).json({ error: "Internal server error" });
Expand Down
2 changes: 1 addition & 1 deletion views/Admin_Dashboard.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@

<!-- //icon -->
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.8/css/line.css">

<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
<title>Admin DashBoard</title>
</head>

Expand Down
1 change: 1 addition & 0 deletions views/Email.template.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration Successful</title>
<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
<!-- Consider linking an external stylesheet here -->
<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion views/NGO-Dashboard.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;500;600&display=swap');

Expand Down
2 changes: 1 addition & 1 deletion views/UserDashBoard.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;500;600&display=swap');

Expand Down
1 change: 1 addition & 0 deletions views/comfirm.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
flex: 0 0 5%;
}
</style>
<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions views/forget-password.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
<!-- <link rel="stylesheet" href="/public/css/index.css"> -->
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200&display=swap');
Expand Down
3 changes: 2 additions & 1 deletion views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Petari</title>
<link rel="shortcut icon" href="public/img/logo.png" type="image/x-icon">
<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
<!-- <link rel="shortcut icon" href="public/img/logo.png" type="image/x-icon"> -->

<link rel="stylesheet" href="/css/style.css">
<!-- Icon -->
Expand Down
1 change: 1 addition & 0 deletions views/loginError.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
<title>Login Error</title>
</head>

Expand Down
2 changes: 1 addition & 1 deletion views/policies.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<link rel="stylesheet" href="/css/policies.css" />
<link rel="stylesheet" href="/css/style.css">

<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
<!-- Icon -->

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
Expand Down
1 change: 1 addition & 0 deletions views/registrationError.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration Error</title>
<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
</head>
<body>
<h1>Registration Error</h1>
Expand Down
1 change: 1 addition & 0 deletions views/set_password.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
<!-- <link rel="stylesheet" href="/public/css/index.css"> -->
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200&display=swap');
Expand Down
54 changes: 44 additions & 10 deletions views/success.ejs
Original file line number Diff line number Diff line change
@@ -1,23 +1,57 @@


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>submitted</title>
<title>Signup Successful</title>
<link rel="shortcut icon" href="img/logo.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<style>
body {
background-color: #f8f9fa;
}
.jumbotron {
background: linear-gradient(135deg, #6f42c1 0%, #007bff 100%);
color: white;
text-align: center;
padding: 2rem 1rem;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-top: 50px;
}
.jumbotron h1 {
font-size: 3rem;
font-weight: 700;
}
.jumbotron p {
font-size: 1.25rem;
margin-bottom: 2rem;
}
.btn-custom {
background-color: #28a745;
color: white;
font-size: 1.2rem;
padding: 0.75rem 1.5rem;
border-radius: 50px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn-custom:hover {
background-color: #218838;
}
</style>
</head>
<body>
<div class="jumbotron">
<h1>Awesome!</h1>
<p>You 've been succesfully singned up to Petari, We are tahankful to you are with us !</p>
</div>


<div class="container">
<div class="jumbotron">
<h1>Awesome!</h1>
<p>You've been successfully signed up to Petari. We are thankful to have you with us!
We will Review and Approve your Registration Soon!!!
</p>
<a href="/" class="btn btn-custom">Go to Homepage</a>
</div>
</div>

<script src="js/index.js"></script>
<script src="js/index.js"></script>
</body>
</html>