Skip to content

Commit 84fa2d3

Browse files
committed
Added a music player, a song for testing, and changed the 'start' sections background gif
1 parent d1e7575 commit 84fa2d3

6 files changed

+14
-3
lines changed

app/styles/__sections.scss

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ Default Section
1010
.container_sections {
1111
flex-grow: 1;
1212
height: 100%;
13-
background: rgba(0,0,0,0.5);
13+
background: rgba(0,0,0,1);
1414
-webkit-backdrop-filter: blur(20px);
15+
box-shadow: 0 0 1rem rgba(0,0,0,1);
1516
}
1617

1718

@@ -21,9 +22,15 @@ Other Sections
2122
[class^="section_"] {
2223
height: 100%;
2324
padding: 1rem;
25+
background-position: center center;
26+
background-repeat: no-repeat;
27+
background-size: cover;
2428
* {
2529
z-index: 2;
2630
}
31+
audio {
32+
display: block;
33+
}
2734
}
2835

2936
@import "section-start";

app/styles/_section-start.scss

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ Default Section
44
.section_start {
55
//background-color: rgba(255,255,255,0.05);
66
min-height: 400px;
7+
background-image: url('../img/jazz_street.gif');
78
}

app/styles/_sidebar.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ Base Styling
1010
.component_sidebar {
1111
$width: 250px;
1212
flex: 0 0 $width;
13-
background-color: rgba(20,20,20,0.9);
13+
background-color: rgba(20,20,20,0.95);
1414
color: white;
1515
padding: 1rem;
1616
-webkit-backdrop-filter: blur(20px);
17-
box-shadow: 0 0 1rem rgba(0,0,0,0.5);
1817
// TODO: Make this animated, with a hamburger animation to toggle.
1918
&.hidden {
2019
margin-left: -$width;

app/templates/start.hbs

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<section class="section_start">
22
<span>'Ello!</span>
3+
<audio autoplay controls>
4+
<source src="audio/HankMobley-1960-SoulStation-05-SoulStation.mp3" type="audio/mpeg" loop="true" autoplay="true">
5+
Your browser does not support the audio element.
6+
</audio>
37
{{outlet}}
48
</section>
Binary file not shown.

public/img/jazz_street.gif

498 KB
Loading

0 commit comments

Comments
 (0)