basic website, basic templating
This commit is contained in:
29
public/assets/styles/main.css
Normal file
29
public/assets/styles/main.css
Normal file
@ -0,0 +1,29 @@
|
||||
body {
|
||||
background: #1f1f1f;
|
||||
color: #cdcdcd;
|
||||
}
|
||||
|
||||
/* unvisited link */
|
||||
a:link {
|
||||
color: #ff8844;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* visited link */
|
||||
a:visited {
|
||||
color: #ff8844;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* mouse over link */
|
||||
a:hover {
|
||||
color: #ff8844;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* selected link */
|
||||
a:active {
|
||||
color: #ff8844;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
13
public/index.php
Normal file
13
public/index.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
ini_set(option: 'display_errors', value: 1);
|
||||
ini_set(option: 'display_startup_errors', value: 1);
|
||||
error_reporting(error_level: E_ALL);
|
||||
|
||||
require dirname(path: __DIR__) . '/src/bootstrap.php';
|
||||
|
||||
use App\Controller\AddressBook;
|
||||
|
||||
$container = new \App\Service\Container();
|
||||
|
||||
$addressBook = $container->get(AddressBook::class);
|
||||
//$addressBook = new AddressBook();
|
Reference in New Issue
Block a user