Skip to content

Commit

Permalink
login form
Browse files Browse the repository at this point in the history
  • Loading branch information
roningrum committed Aug 28, 2023
1 parent 66a99e0 commit ff21338
Show file tree
Hide file tree
Showing 117 changed files with 92,451 additions and 1 deletion.
86 changes: 86 additions & 0 deletions dashboard/assets/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
@import url('https://fonts.googleapis.com/css2?family=Outfit&family=Urbanist&display=swap');

:root {
--font-primary: 'Urbanist', sans-serif;
--font-secondary: 'Outfit', sans-serif;
}

/* Colors */
:root {
--color-default: #0a0d13;
--color-primary: #5A8DEE;
--color-secondary: #151C43;
--color-success: #39DA8A;
--color-warning: #FDAC41;
--color-danger: #EA5455;
--color-dark : #516377;
--label-primary:#E5EDFC;
--label-secondary: #E8EAF8;
--label-success:#DFF9EC;
--label-warning:#FFF2E1;
--label-danger:#FCE4E4;
--label-dark:#E2E4E6;
--gray:#8F8F8F;
--gray-92:#EAEAEA;
--light:#FFFFFF;
--light-96:#F6F6F6;
}

/* Smooth scroll behavior */
:root {
scroll-behavior: smooth;
}

/* style body */

body{
background-color: #FBDCB7;
margin: 0;
/* height:100%; */
}

/* Login Page */

.container{
display:flex;
height: 100%;
align-items: center;
justify-content:center;
}
.login-page{
background:url("../img/background.png") no-repeat center center fixed;
height: 100vh;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

.login-page{
gap: 50px;
}

.login-page .card{
padding : 50px;
}

.login-page .card-title{
gap:10px;
}

.login-page .card-subtitle{
gap:10px;
}

.login-page h4{
font-family: var(--font-primary);
color: #516377;
font-size: 1.6875rem;
font-weight: 700;
}

.login-page h6{
font-family: var(--font-secondary);
font-size: 1.125rem;

}
Binary file added dashboard/assets/img/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions dashboard/assets/img/cloud-vector.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/Group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/area.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions dashboard/assets/img/icon/arrowright2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/books-decor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/calendar-line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/elipse74.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/footer-area.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/hand-heart-line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/mingcute_baby-line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/nurse-line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/parent-line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/pie-chart-line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/question-answer-line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/stone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dashboard/assets/img/icon/test-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
168 changes: 168 additions & 0 deletions dashboard/assets/js/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
/**
* Template Name: Logis
* Updated: May 30 2023 with Bootstrap v5.3.0
* Template URL: https://bootstrapmade.com/logis-bootstrap-logistics-website-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/
document.addEventListener('DOMContentLoaded', () => {
"use strict";

/**
* Preloader
*/
const preloader = document.querySelector('#preloader');
if (preloader) {
window.addEventListener('load', () => {
preloader.remove();
});
}

/**
* Sticky header on scroll
*/
const selectHeader = document.querySelector('#header');
if (selectHeader) {
document.addEventListener('scroll', () => {
window.scrollY > 100 ? selectHeader.classList.add('sticked') : selectHeader.classList.remove('sticked');
});
}

/**
* Scroll top button
*/
const scrollTop = document.querySelector('.scroll-top');
if (scrollTop) {
const togglescrollTop = function() {
window.scrollY > 100 ? scrollTop.classList.add('active') : scrollTop.classList.remove('active');
}
window.addEventListener('load', togglescrollTop);
document.addEventListener('scroll', togglescrollTop);
scrollTop.addEventListener('click', window.scrollTo({
top: 0,
behavior: 'smooth'
}));
}

/**
* Mobile nav toggle
*/
const mobileNavShow = document.querySelector('.mobile-nav-show');
const mobileNavHide = document.querySelector('.mobile-nav-hide');

document.querySelectorAll('.mobile-nav-toggle').forEach(el => {
el.addEventListener('click', function(event) {
event.preventDefault();
mobileNavToogle();
})
});

function mobileNavToogle() {
document.querySelector('body').classList.toggle('mobile-nav-active');
mobileNavShow.classList.toggle('d-none');
mobileNavHide.classList.toggle('d-none');
}

/**
* Hide mobile nav on same-page/hash links
*/
document.querySelectorAll('#navbar a').forEach(navbarlink => {

if (!navbarlink.hash) return;

let section = document.querySelector(navbarlink.hash);
if (!section) return;

navbarlink.addEventListener('click', () => {
if (document.querySelector('.mobile-nav-active')) {
mobileNavToogle();
}
});

});

/**
* Toggle mobile nav dropdowns
*/
const navDropdowns = document.querySelectorAll('.navbar .dropdown > a');

navDropdowns.forEach(el => {
el.addEventListener('click', function(event) {
if (document.querySelector('.mobile-nav-active')) {
event.preventDefault();
this.classList.toggle('active');
this.nextElementSibling.classList.toggle('dropdown-active');

let dropDownIndicator = this.querySelector('.dropdown-indicator');
dropDownIndicator.classList.toggle('bi-chevron-up');
dropDownIndicator.classList.toggle('bi-chevron-down');
}
})
});

/**
* Initiate pURE cOUNTER
*/
new PureCounter();

/**
* Initiate glightbox
*/
const glightbox = GLightbox({
selector: '.glightbox'
});

/**
* Init swiper slider with 1 slide at once in desktop view
*/
new Swiper('.slides-1', {
speed: 600,
loop: true,
autoplay: {
delay: 5000,
disableOnInteraction: false
},
slidesPerView: 'auto',
pagination: {
el: '.swiper-pagination',
type: 'bullets',
clickable: true
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
}
});

new Swiper('.articles-swiper', {
slidesPerView : 4,
loop: true,
// slidesPerView: 'auto',
autoplay: {
delay: 5000,
disableOnInteraction: false
},
pagination: {
el: ".swiper-pagination",
clickable: true,
dynamicBullets: true,
},

});

/**
* Animation on scroll function and init
*/
function aos_init() {
AOS.init({
duration: 1000,
easing: 'ease-in-out',
once: true,
mirror: false
});
}
window.addEventListener('load', () => {
aos_init();
});

});
1 change: 1 addition & 0 deletions dashboard/assets/scss/Readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The .scss (Sass) files are only available in the pro version.
Loading

0 comments on commit ff21338

Please sign in to comment.