Initial Commit; base feats

This commit is contained in:
Didier Slof 2022-11-23 09:32:34 +01:00
commit 9732135e90
Signed by: didier
GPG key ID: 01E71F18AA4398E5
137 changed files with 13856 additions and 0 deletions

21
public/.htaccess Normal file
View file

@ -0,0 +1,21 @@
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>

0
public/css/auth.css Normal file
View file

105
public/css/style.css Normal file
View file

@ -0,0 +1,105 @@
:root {
--default-text: #000;
--primary-color: #bb00ff;
--secondary-color: #5eff00;
--default-bg: #fff;
--second-bg: #ddd;
--third-bg: #bbb;
}
* {
transition: all .5s;
}
@media (prefers-color-scheme: dark) {
:root {
--default-text: #fff;
--default-bg: #222;
--second-bg: #777;
--third-bg: #aaa;
}
}
html {
color: var(--default-text);
background: var(--default-bg);
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body {
margin: 0;
padding: 0;
}
a {
color: var(--default-text);
text-decoration: none;
}
a:hover {
color: var(--primary-color);
}
header {
background: var(--second-bg);
display: grid;
grid-template-columns: 1.5fr 0.5fr;
height: 7vh;
align-items: center;
}
header span {
font-size: 1.5rem;
font-weight: bold;
margin: 0.5rem 1rem;
}
header div {
text-align: right;
display: inline;
}
header div a {padding: 1.5rem;}
header div a:hover {
background: var(--third-bg);
padding: 1.5rem 1.5rem 2.5rem 1.5rem;
}
main {
margin: 0 auto;
padding: 1rem;
max-width: 800px;
}
#movies {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
flex-direction: row;
gap: 1rem;
}
/* Show .details on top of image */
#movies a {
position: relative;
}
#movies a .details {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: grid;
place-content: center;
align-content: center;
background: var(--second-bg);
opacity: 0;
color: var(--default-text);
transition: all .5s;
}
#movies a:hover .details {
opacity: 0.7;
}

0
public/favicon.ico Normal file
View file

BIN
public/img/bar.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
public/img/cinema.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
public/img/lobby.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
public/img/room-balcony.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
public/img/room-blue.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
public/img/room-pink.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
public/img/room.jpg (Stored with Git LFS) Normal file

Binary file not shown.

55
public/index.php Normal file
View file

@ -0,0 +1,55 @@
<?php
use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Check If The Application Is Under Maintenance
|--------------------------------------------------------------------------
|
| If the application is in maintenance / demo mode via the "down" command
| we will load this file so that any pre-rendered content can be shown
| instead of starting the framework, which could cause an exception.
|
*/
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| this application. We just need to utilize it! We'll simply require it
| into the script here so we don't need to manually load our classes.
|
*/
require __DIR__.'/../vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request using
| the application's HTTP kernel. Then, we will send the response back
| to this client's browser, allowing them to enjoy our application.
|
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);

2
public/robots.txt Normal file
View file

@ -0,0 +1,2 @@
User-agent: *
Disallow: