Backend for songs.zachdecook.com
* Views: Add margin, main text
| -rw-r--r-- | laravel/resources/views/main.blade.php | 19 | ||||
| -rw-r--r-- | laravel/resources/views/song.blade.php | 3 | ||||
| -rw-r--r-- | laravel/resources/views/welcome.blade.php | 4 |
3 files changed, 7 insertions, 19 deletions
diff --git a/laravel/resources/views/main.blade.php b/laravel/resources/views/main.blade.php index 59cfcf6..303327c 100644 --- a/laravel/resources/views/main.blade.php +++ b/laravel/resources/views/main.blade.php @@ -16,18 +16,7 @@ color: #636b6f; font-family: 'Nunito', sans-serif; font-weight: 200; - height: 100vh; - margin: 0; - } - - .flex-center { - align-items: center; - display: flex; - justify-content: center; - } - - .position-ref { - position: relative; + margin: 8px; } .top-right { @@ -35,14 +24,10 @@ right: 10px; top: 18px; } - - .title { - font-size: 84px; - } </style> </head> <body> - <div class="flex-center position-ref full-height"> + <div> @if (Route::has('login')) <div class="top-right links"> @auth diff --git a/laravel/resources/views/song.blade.php b/laravel/resources/views/song.blade.php index c63477b..2d8721c 100644 --- a/laravel/resources/views/song.blade.php +++ b/laravel/resources/views/song.blade.php @@ -1,3 +1,6 @@ @extends('main') @section('content') <h2>{{$song['title']}}</h2> +<pre> +{{$song['text']}} +</pre> diff --git a/laravel/resources/views/welcome.blade.php b/laravel/resources/views/welcome.blade.php index 10c2615..004672f 100644 --- a/laravel/resources/views/welcome.blade.php +++ b/laravel/resources/views/welcome.blade.php @@ -1,8 +1,8 @@ @extends('main') @section('content') - <div class="title"> + <h1> Prosongsa Songs - </div> + </h1> <ul> @foreach( App\Song::all() as $song ) |