mail func added, post route added, more css

This commit is contained in:
2023-04-13 17:39:50 +02:00
parent b7721daa00
commit 8065ab134d
6 changed files with 99 additions and 12 deletions

View File

@@ -18,6 +18,8 @@
.card {
display: flex;
border: 1px solid red;
border-radius: 15px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
width: min(40rem, calc(100% - 1rem));
}
@@ -40,7 +42,7 @@
.technologies {
display: flex;
gap: 1rem;
margin-right: auto;
flex-wrap: wrap;
}
.technologies span {

View File

@@ -3,6 +3,7 @@ session_start();
$prod = false;
require_once("./libraries/router.php");
require_once("./libraries/console.php");
// Display Errors
ini_set('display_startup_errors', 1);
@@ -70,9 +71,11 @@ if($prod) { ?>
<section class="content">
<?php
$R = new Router();
$R->route('/', 'home');
$R->route('/home', 'home');
$R->route('/domu', 'home');
$R->route('GET', '/', 'home');
$R->route('GET', '/home', 'home');
$R->route('GET', '/domu', 'home');
$R->route('POST', '/contact/send', 'contact');
$R = null;
?>