diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..668a5c9 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,50 @@ +:root { + --primary-color: #4F46E5; + --secondary-color: #10B981; + --bg-color: #F3F4F6; + --surface-color: #FFFFFF; + --text-color: #111827; + --gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color)); +} + +body { + font-family: 'Inter', sans-serif; + background-color: var(--bg-color); + color: var(--text-color); +} + +h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { + font-family: 'Georgia', serif; +} + +.navbar { + background: var(--gradient); +} + +.card { + border-radius: 0.5rem; + border: 1px solid #e5e7eb; + box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); +} + +.btn-primary { + background-color: var(--primary-color); + border-color: var(--primary-color); + padding: 0.75rem 1.5rem; + border-radius: 0.5rem; + font-weight: bold; +} + +.btn-primary:hover { + background-color: #4338ca; + border-color: #4338ca; +} + +.form-control:focus { + border-color: var(--primary-color); + box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25); +} + +.form-floating > .form-control:focus ~ label { + color: var(--primary-color); +} diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..fc1e58a --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,20 @@ +// assets/js/main.js +(function () { + 'use strict' + + // Fetch all the forms we want to apply custom Bootstrap validation styles to + var forms = document.querySelectorAll('.needs-validation') + + // Loop over them and prevent submission + Array.prototype.slice.call(forms) + .forEach(function (form) { + form.addEventListener('submit', function (event) { + if (!form.checkValidity()) { + event.preventDefault() + event.stopPropagation() + } + + form.classList.add('was-validated') + }, false) + }) + })() diff --git a/includes/common.php b/includes/common.php new file mode 100644 index 0000000..3a419f1 --- /dev/null +++ b/includes/common.php @@ -0,0 +1,35 @@ + \ No newline at end of file diff --git a/includes/footer.php b/includes/footer.php new file mode 100644 index 0000000..c212f9f --- /dev/null +++ b/includes/footer.php @@ -0,0 +1,12 @@ + + + + + + +