From: Vincent Vanwaelscappel Date: Sat, 10 Sep 2022 17:31:39 +0000 (+0200) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=bbc9e017d9f68de0a903c3300335cba700dba23d;p=songbook.git . --- diff --git a/resources/css/app.sass b/resources/css/app.sass index 6a30845..47d9829 100644 --- a/resources/css/app.sass +++ b/resources/css/app.sass @@ -104,6 +104,11 @@ main list-style: none margin-top: 0.25em + h3 + position: sticky + padding-top: 1em + padding-bottom: 0.5em + article.song font-size: 16px diff --git a/resources/views/collection.blade.php b/resources/views/collection.blade.php index dca787b..f8769d6 100644 --- a/resources/views/collection.blade.php +++ b/resources/views/collection.blade.php @@ -10,14 +10,23 @@ @endsection diff --git a/resources/views/collection_song.blade.php b/resources/views/collection_song.blade.php new file mode 100644 index 0000000..00b7d84 --- /dev/null +++ b/resources/views/collection_song.blade.php @@ -0,0 +1,6 @@ +@php + $songurl='/'.$collection->slug.'/'.$csong->slug.'.html'; +@endphp +
  • {{$csong->title}} + {{$csong->artist}} +
  • diff --git a/resources/views/menu.blade.php b/resources/views/menu.blade.php index 0520c9d..853c07d 100644 --- a/resources/views/menu.blade.php +++ b/resources/views/menu.blade.php @@ -11,16 +11,21 @@
  • 🎶 Songs @@ -29,11 +34,11 @@ @if($song->hasChords())
  • 🎤 Show lyrics
  • + name="show_lyrics_{{$song->id}}" + data-default="1">
  • 🎼 Show chords
  • + name="show_chords_{{$song->id}}" + data-default="1">
  • ↕️ Key + name="size_{{$song->id}}"> @foreach($fontSizes as $s) @endforeach @@ -65,7 +70,7 @@ @if(count($song->getAudioTracks())>0)
  • 💿 Audio track