Skip to content

Commit

Permalink
a11y and style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
seriouslag committed Oct 27, 2019
1 parent 577cb98 commit 8c5a44e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/components/InstagramFeed.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<aside class="instagram-feed">
<div class="instagram-feed">
<template v-if="hasFeed">
<h2 class="title" aria-label="Latest updates from instagram">Latest updates</h2>
<div class="columns is-multiline is-centered">
Expand Down Expand Up @@ -38,7 +38,7 @@
</div>
</div>
</template>
</aside>
</div>
</template>

<script lang="ts">
Expand Down
14 changes: 10 additions & 4 deletions src/components/home/About.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
<template>
<main class="about section columns">
<div class="column">
<spotify-embed />
<spotify-player-embed />
<aside aria-label="Upcoming scheduled events">
<div class="area">
<section aria-label="Ultima spotify artist highlight">
<spotify-embed />
</section>
<section aria-label="Ultima spotify album player">
<spotify-player-embed />
</section>
</div>
<aside aria-label="Upcoming scheduled events" class="area">
<event-list v-show="showEvents" @show="showEvents = true" />
</aside>
</div>
<aside class="column" v-show="showRightColumn" aria-label="Ultima Instagram's feed">
<aside class="column area" v-show="showRightColumn" aria-label="Ultima Instagram's feed">
<instagram-feed v-show="showRightColumn" @show="handleShowRightColumn" />
</aside>
</main>
Expand Down
14 changes: 13 additions & 1 deletion src/styles/index.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
@charset "utf-8";

$primary: #a25387;
$navbar-item-hover-background-color: rgba(36,36,36,0.5);
@import '~bulma/bulma';

* {
body {
font-family: 'Roboto', sans-serif;
}

Expand Down Expand Up @@ -34,3 +36,13 @@ a {
color: #234099;
}
}

.column {
> :first-child {
margin: 0;
}
}

.area {
margin: 1em .5em;
}

0 comments on commit 8c5a44e

Please sign in to comment.