Started work on the site design
This commit is contained in:
5
public/.htaccess
Normal file
5
public/.htaccess
Normal file
@ -0,0 +1,5 @@
|
||||
# rewrite rules
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^ index.php [QSA,L]
|
18
public/css/duradel.css
Normal file
18
public/css/duradel.css
Normal file
@ -0,0 +1,18 @@
|
||||
#top-bar{
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#top-bar,
|
||||
#top-bar ul{
|
||||
background: #6200ee;
|
||||
color: white;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
#top-bar a{
|
||||
color: white;
|
||||
}
|
||||
|
||||
#top-bar a:hover{
|
||||
color: #eee;
|
||||
}
|
23
public/index.php
Normal file
23
public/index.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
// if we're looking for static files in dev, return false so they can be served.
|
||||
if (PHP_SAPI == 'cli-server') {
|
||||
$url = parse_url($_SERVER['REQUEST_URI']);
|
||||
$file = __DIR__ . $url['path'];
|
||||
|
||||
// check the file types, only serve standard files
|
||||
if (preg_match('/\.(?:png|js|jpg|jpeg|gif|css)$/', $file)) {
|
||||
// does the file exist? If so, return it
|
||||
if (is_file($file))
|
||||
return false;
|
||||
|
||||
// file does not exist. return a 404
|
||||
header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found');
|
||||
printf('"%s" does not exist', $_SERVER['REQUEST_URI']);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/../app/bootstrap.php';
|
||||
|
||||
$app->run();
|
5
public/js/konar.js
Normal file
5
public/js/konar.js
Normal file
@ -0,0 +1,5 @@
|
||||
$(document).ready(function() {
|
||||
|
||||
$(document).foundation();
|
||||
|
||||
});
|
Reference in New Issue
Block a user