Skip to content

Commit

Permalink
Merge pull request #9 from basil-reji/main
Browse files Browse the repository at this point in the history
Updated the pages
  • Loading branch information
basil-reji authored Mar 31, 2023
2 parents dc28294 + ddb6a62 commit c44329f
Show file tree
Hide file tree
Showing 16 changed files with 485 additions and 197 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

Expand Down
18 changes: 9 additions & 9 deletions public/javascripts/main.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
(function () {
"use strict";

// $("#circle").removeClass("rotate");
// $("#launcher").removeClass("launch");
// $("#loader").addClass("rotate");
// $("#launcher").addClass("launch");
// $("#body").removeClass("mask");
// $("#preloader").remove();
// $("#body").css({ "height": "auto", });
// $("#launchpad").css({ "display": "block", });
// $("#hero_text").css({ "opacity": "1", });
$("#circle").removeClass("rotate");
$("#launcher").removeClass("launch");
$("#loader").addClass("rotate");
$("#launcher").addClass("launch");
$("#body").removeClass("mask");
$("#preloader").remove();
$("#body").css({ "height": "auto", });
$("#launchpad").css({ "display": "block", });
$("#hero_text").css({ "opacity": "1", });
window.addEventListener('load', () => {
setTimeout(() => {
$("#circle").removeClass("rotate");
Expand Down
152 changes: 107 additions & 45 deletions public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1559,22 +1559,85 @@ section {
padding: 0;
}
}
#updates {
.inner_page_section {
padding: 60px 0 30px 0;
position: relative;
}
#updates .card {
.inner_page_section .card {
border-radius: 3px;
padding: 1rem;
border: 0;
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
margin-bottom: 30px;
border-radius: 0.5rem;
}
#updates .card-icon {
.inner_page_section .card .card-body {
padding: 2rem;
padding-top: 1rem;
}
.inner_page_section .card .card-body h4 {
font-size: 1.5rem;
font-weight: 700;
color: #151515;
margin-bottom: 1rem;
}
.inner_page_section .card .card-body p .highlight {
color: #FC862B;
font-weight: 800;
}
.inner_page_section .card .card-body .card-title {
font-weight: 700;
text-align: center;
margin: 1rem 0rem;
margin-bottom: 2rem;
padding: 0;
}
.inner_page_section .card .card-body .card-title h3 {
font-family: "Open Sans", sans-serif;
font-size: 2rem;
color: rgba(21, 21, 21, 0.8);
font-weight: 900;
}
.inner_page_section .card .card-body .card-title a {
color: #15222b;
}
.inner_page_section .card .card-body .card-title a:hover {
color: #FC862B;
}
.inner_page_section .card .card-body .card-text {
color: #5e5e5e;
}
.inner_page_section .card .card-body .card-footer {
background-color: transparent;
border: none;
padding: 0;
margin-top: 1rem;
}
.inner_page_section .card .card-body .card-footer .button a {
width: 100%;
height: 100%;
background-color: #ffa22b;
color: #fff;
font-weight: 600;
padding: 0.65rem 1rem;
display: flex;
justify-content: center;
align-items: center;
border-radius: 0.25rem;
transition: all 0.3s ease;
}
.inner_page_section .card .card-body .card-footer .button a .ico {
height: 1.2rem;
margin-right: 0.5rem;
}
.inner_page_section .card .card-body .card-footer .button a:hover {
background-color: #fc862b;
}
.inner_page_section .card-icon {
text-align: center;
margin-top: -32px;
}
#updates .card-icon i {
.inner_page_section .card-icon i {
border: 1px solid #fff;
font-size: 32px;
color: #fff;
Expand All @@ -1588,67 +1651,70 @@ section {
transition: 0.3s;
display: inline-block;
}
#updates .card-body {
padding-top: 12px;
}
#updates .card-title {
font-weight: 700;
text-align: center;
}
#updates .card-title a {
color: #15222b;
}
#updates .card-title a:hover {
color: #FC862B;
}
#updates .card-text {
color: #5e5e5e;
}
#updates .content h3 {
.inner_page_section .content h3 {
font-weight: 700;
font-size: 1.5rem;
color: #263d4d;
}
#updates .content ul {
.inner_page_section .content ul {
margin: 1.5rem 0rem;
margin-bottom: 0;
list-style: none;
padding: 0;
}
#updates .content ul li {
.inner_page_section .content ul li {
padding: 0.3rem;
padding-left: 28px;
position: relative;
}
#updates .content ul li:last-child {
.inner_page_section .content ul li:last-child {
padding-bottom: 0;
}
#updates .content ul i {
.inner_page_section .content ul i {
font-size: 24px;
color: #FC862B;
position: absolute;
left: 0;
}
#updates .content p:last-child {
.inner_page_section .content p:last-child {
margin-bottom: 0;
}
.inner_page_section .pdf {
background-color: #15222b;
height: 100vh;
}

.inner_page_section {
@media (max-width: 1200px) {
.inner_page_section .card .card-body {
padding: 1.5rem;
}
}
@media (max-width: 960px) {
.inner_page_section .card .card-body {
padding: 1rem;
}
}
@media (max-width: 720px) {
.inner_page_section .card .card-body {
padding: 0.25rem;
}
}
#updates {
padding: 60px 0 30px 0;
position: relative;
}
.inner_page_section .card {
#updates .card {
border-radius: 3px;
padding: 1rem;
border: 0;
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
margin-bottom: 30px;
}
.inner_page_section .card-icon {
#updates .card-icon {
text-align: center;
margin-top: -32px;
}
.inner_page_section .card-icon i {
#updates .card-icon i {
border: 1px solid #fff;
font-size: 32px;
color: #fff;
Expand All @@ -1662,54 +1728,50 @@ section {
transition: 0.3s;
display: inline-block;
}
.inner_page_section .card-body {
#updates .card-body {
padding-top: 12px;
}
.inner_page_section .card-title {
#updates .card-title {
font-weight: 700;
text-align: center;
}
.inner_page_section .card-title a {
#updates .card-title a {
color: #15222b;
}
.inner_page_section .card-title a:hover {
#updates .card-title a:hover {
color: #FC862B;
}
.inner_page_section .card-text {
#updates .card-text {
color: #5e5e5e;
}
.inner_page_section .content h3 {
#updates .content h3 {
font-weight: 700;
font-size: 1.5rem;
color: #263d4d;
}
.inner_page_section .content ul {
#updates .content ul {
margin: 1.5rem 0rem;
margin-bottom: 0;
list-style: none;
padding: 0;
}
.inner_page_section .content ul li {
#updates .content ul li {
padding: 0.3rem;
padding-left: 28px;
position: relative;
}
.inner_page_section .content ul li:last-child {
#updates .content ul li:last-child {
padding-bottom: 0;
}
.inner_page_section .content ul i {
#updates .content ul i {
font-size: 24px;
color: #FC862B;
position: absolute;
left: 0;
}
.inner_page_section .content p:last-child {
#updates .content p:last-child {
margin-bottom: 0;
}
.inner_page_section .pdf {
background-color: #15222b;
height: 100vh;
}

/*--------------------------------------------------------------
# Footer
Expand Down
35 changes: 22 additions & 13 deletions routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,32 @@ router.get('/updates', function (req, res, next) {
});
});

router.get('/rank-list', function (req, res, next) {
res.render('pages/ranklist',
router.get('/registration', function (req, res, next) {
res.render('pages/registration',
{
title: `Rank List | ${title}`,
page_head: 'Rank List of Online Test',
page_nav_name: 'rank-list'
title: `${title}`,
page_head: 'Registration',
page_nav_name: 'Registration',
});
});

router.get('/instructions/choosing-recruiters', function (req, res, next) {
res.render('pages/instructions',
{
title: `Instructions | ${title}`,
page_head: 'Instruction for choosing recruiters',
page_nav_name: 'instructions'
});
});
// router.get('/rank-list', function (req, res, next) {
// res.render('pages/ranklist',
// {
// title: `Rank List | ${title}`,
// page_head: 'Rank List of Online Test',
// page_nav_name: 'rank-list'
// });
// });

// router.get('/instructions/choosing-recruiters', function (req, res, next) {
// res.render('pages/instructions',
// {
// title: `Instructions | ${title}`,
// page_head: 'Instruction for choosing recruiters',
// page_nav_name: 'instructions'
// });
// });

// router.get('/mocktest', function (req, res, next) {
// res.render('pages/mocktest',
Expand Down
Loading

0 comments on commit c44329f

Please sign in to comment.