diff --git a/config/app.php b/config/app.php index 87399c6..3bec3c3 100644 --- a/config/app.php +++ b/config/app.php @@ -5,7 +5,7 @@ return [ 'name' => env('APP_NAME', 'diskfloppy.me'), - 'version' => '5.5.0', + 'version' => '6.0', 'env' => env('APP_ENV', 'production'), 'debug' => (bool) env('APP_DEBUG', false), 'url' => env('APP_URL', 'http://localhost'), diff --git a/public/css/master.css b/public/css/master.css index b77328e..27065be 100644 --- a/public/css/master.css +++ b/public/css/master.css @@ -8,6 +8,7 @@ body { margin: 0; color: var(--foreground); background-color: var(--background); + text-align: left; } html { @@ -436,3 +437,12 @@ table.infotable tr td small { .hljs { background: none !important; } + +.me img { + float: right; + margin: 5px; +} + +.me p { + text-align: justify; +} diff --git a/resources/views/includes/footer.blade.php b/resources/views/includes/footer.blade.php index 6fce8ba..19d5597 100644 --- a/resources/views/includes/footer.blade.php +++ b/resources/views/includes/footer.blade.php @@ -13,5 +13,5 @@ alt="Valid HTML 4.01!">
This site is best viewed at 1024x768 with 16-bit color or better
© floppydisk 2021-{{ date('Y') }}, Site Version {{ config('app.version') }}, GitHub
+ href="https://github.com/floppydisk05/diskfloppy.me">Source
diff --git a/resources/views/pages/home.blade.php b/resources/views/pages/home.blade.php index 9a2a85b..f390b0f 100644 --- a/resources/views/pages/home.blade.php +++ b/resources/views/pages/home.blade.php @@ -2,8 +2,36 @@ @section('title', 'Home') @section('description', 'This is the personal homepage of floppydisk.') @section('content') -

Hi! This my personal homepage on the World Wide Web. -

+
+ Me +

Hi! This my personal homepage on the World Wide Web. +

+ + + + + + + + + + + + + + + + + + + + +
+

Fun Facts

+
+
+
◆ I am (unfortunately) British
◆ I watched the entirety of The Owl House (~18 hours) in under 48 hours.
◆ I spend way too much time on my computer.
◆ Some people say I suck at PHP, but that's clearly wrong :P
+
diff --git a/resources/views/pages/music.blade.php b/resources/views/pages/music.blade.php index cba45c2..e24f88c 100644 --- a/resources/views/pages/music.blade.php +++ b/resources/views/pages/music.blade.php @@ -8,7 +8,7 @@ $api_root = app('config')->get('app')['api_root']; $current_track = json_decode(file_get_contents($api_root . '/lastfm/current')); - $toptracks = json_decode(file_get_contents($api_root . '/lastfm/top')); + $top_tracks = json_decode(file_get_contents($api_root . '/lastfm/top')); $count = 0; @endphp
@@ -32,24 +32,24 @@

Top {{ $cfg['toptracks'] }} Tracks (Last 7 days)

- - - - - + + + + + - @foreach ($toptracks as $track) + @foreach ($top_tracks as $track) @php $count++ @endphp - @if ($count >= $cfg['toptracks']) + @if ($count >= $cfg['toptracks']+1) @break @endif - + @endforeach
#TrackArtistPlays
#TrackArtistPlays
{{ $count+1 }}{{ $count }} {{ $track->name }} {{ $track->artist }} {{ $track->plays }}
-
@stop