Skip to content

Commit

Permalink
Updates blue banners to be a better color, include the FIRST logo, an…
Browse files Browse the repository at this point in the history
…d have better style (#67)
  • Loading branch information
jkleiber authored Aug 18, 2024
1 parent 9a6f078 commit 81e69de
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 3 deletions.
63 changes: 63 additions & 0 deletions public/assets/first_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 16 additions & 3 deletions src/components/BlueBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

<template>
<div class="bluebanner">
<div class="title-container">
<a v-bind:href="bannerLink" class="title-link"> {{ titleText }}</a>
<div>
<img class="first-icon-img" src="/assets/first_icon.svg">
</div>
<div class="banner-text-container">
<div class="award-details-container">
Expand All @@ -13,6 +13,9 @@
</div>
</div>
</div>
<div class="title-container">
<a v-bind:href="bannerLink" class="title-link"> {{ titleText }}</a>
</div>
</div>
</template>

Expand Down Expand Up @@ -67,7 +70,7 @@ export default {
/* height: fit-content; */
min-height: 150px;
width: 150px;
background-color: #2790FF;
background-color: #0F4BCB;
margin: 10px;
display: flex;
Expand All @@ -76,6 +79,10 @@ export default {
.title-container {
color: #FFF;
height: 100%;
font-size: 75%;
padding: 2px;
text-overflow: ellipsis;
}
a.title-link {
Expand All @@ -94,5 +101,11 @@ a.title-link {
height: fit-content;
top: 50%;
transform: translateY(-50%);
text-transform: uppercase;
}
img.first-icon-img {
width: 75px;
padding: 5px;
}
</style>

0 comments on commit 81e69de

Please sign in to comment.