Backend for songs.zachdecook.com
* Home page: List out all the songs
Zach DeCook 2018-12-26
parent 83b5a59 · commit e51142f
-rw-r--r--laravel/resources/views/welcome.blade.php39
1 files changed, 7 insertions, 32 deletions
diff --git a/laravel/resources/views/welcome.blade.php b/laravel/resources/views/welcome.blade.php
index 26ca674..4cbb234 100644
--- a/laravel/resources/views/welcome.blade.php
+++ b/laravel/resources/views/welcome.blade.php
@@ -20,10 +20,6 @@
margin: 0;
}
- .full-height {
- height: 100vh;
- }
-
.flex-center {
align-items: center;
display: flex;
@@ -40,27 +36,9 @@
top: 18px;
}
- .content {
- text-align: center;
- }
-
.title {
font-size: 84px;
}
-
- .links > a {
- color: #636b6f;
- padding: 0 25px;
- font-size: 13px;
- font-weight: 600;
- letter-spacing: .1rem;
- text-decoration: none;
- text-transform: uppercase;
- }
-
- .m-b-md {
- margin-bottom: 30px;
- }
</style>
</head>
<body>
@@ -80,18 +58,15 @@
@endif
<div class="content">
- <div class="title m-b-md">
- Laravel
+ <div class="title">
+ Prosongsa Songs
</div>
- <div class="links">
- <a href="https://laravel.com/docs">Documentation</a>
- <a href="https://laracasts.com">Laracasts</a>
- <a href="https://laravel-news.com">News</a>
- <a href="https://nova.laravel.com">Nova</a>
- <a href="https://forge.laravel.com">Forge</a>
- <a href="https://github.com/laravel/laravel">GitHub</a>
- </div>
+ <ul>
+ @foreach( App\Song::all() as $song )
+ <li>{{ $song['title'] }}
+ @endforeach
+ </ul>
</div>
</div>
</body>