Skip to content

Commit

Permalink
Merge branch 'hotfix/2.25.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakeyzer committed May 25, 2024
2 parents 5cc1f87 + 5a28ef7 commit 4517861
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 152 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.25.0",
"version": "2.25.1",
"name": "shieldmaiden",
"description": "A Dungeons and Dragons Combat Tracker",
"productName": "Shieldmaiden",
Expand Down
306 changes: 158 additions & 148 deletions src/components/home/Top.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,206 +3,216 @@
<div class="container">
<img class="shieldmaiden" src="../../assets/_img/shieldmaiden.webp" alt="Shieldmaiden" />
<div class="content">
<img class="logo" src="../../assets/_img/logo/logo-main-icon-left.svg" alt="Shieldmaiden logo" />
<img
class="logo"
src="../../assets/_img/logo/logo-main-icon-left.svg"
alt="Shieldmaiden logo"
/>
<div>
<h1>COMBAT TRACKER FOR D&amp;D 5e.</h1>
<h1>Combat Tracker for D&amp;D 5<span>e</span></h1>
<h2>The perfect companion in your D&D campaign</h2>

<div class="button-container">
<template v-if="!$store.getters.user">
<q-btn to="/demo" color="primary" size="lg" no-caps push>Try demo encounter</q-btn>
<div><small>
<em class="neutral-4">No download required</em>
</small></div>
<div>
<small>
<em class="neutral-4">No download required</em>
</small>
</div>
</template>
<router-link v-else to="/content" class="btn btn-lg bg-green">My content</router-link>
</div>
</div>
</div>
</div>
<div class="bar">
</div>
<div class="bar"></div>
</div>
</template>

<script>
export default {
name: 'Top',
props: {
maintenance: [Boolean, String]
},
}
export default {
name: "Top",
props: {
maintenance: [Boolean, String],
},
};
</script>

<style lang="scss" scoped>
.top {
background-image: url('../../assets/_img/styles/paper-bg.png');
background-position: top center;
padding-bottom: 25px;
background-color: $neutral-11;
overflow: hidden;
.top {
background-image: url("../../assets/_img/styles/paper-bg.png");
background-position: top center;
padding-bottom: 25px;
background-color: $neutral-11;
overflow: hidden;
position: relative;
.bar {
width: 100%;
height: 150px;
position: absolute;
bottom: 0;
background-color: $neutral-9;
}
.container {
padding: 50px 20px 0 20px;
max-width: 1280px;
display: flex;
justify-content: start;
gap: 50px;
position: relative;
.bar {
width: 100%;
height: 150px;
position: absolute;
bottom: 0;
background-color: $neutral-9;
z-index: 10;
.shieldmaiden {
width: 450px;
}
.container {
padding: 50px 20px 0 20px;
max-width: 1280px;
display: flex;
justify-content: start;
gap: 50px;
position: relative;
z-index: 10;
.shieldmaiden {
width: 450px;
.content {
padding: 0 0 100px 0;
.logo {
margin: 0 0 25px -35px;
width: 400px;
}
.content {
padding: 0 0 100px 0;
.logo {
margin: 0 0 25px -35px;
width: 400px;
}
h1 {
font-family: $text-written;
font-size: 40px;
text-transform: none;
line-height: normal;
}
h2 {
font-size: 20px;
font-style: italic;
font-weight: light;
h1 {
font-family: $text-written;
font-size: 40px;
text-transform: none;
line-height: normal;
text-transform: uppercase;
span {
text-transform: none;
line-height: normal;
margin-bottom: 50px;
}
.button-container {
margin-bottom: 30px;
}
h2 {
font-size: 20px;
font-style: italic;
font-weight: light;
text-transform: none;
line-height: normal;
margin-bottom: 50px;
}
.button-container {
margin-bottom: 30px;
.btn {
text-shadow: none;
}
.btn {
text-shadow: none;
}
}
}
}
}
[data-theme="light"] {
.top {
background-image: none;
background-color: $neutral-9;
}
[data-theme="light"] {
.top {
background-image: none;
background-color: $neutral-9;
}
}
@media only screen and (max-width: 1024px) {
.top {
.container {
.shieldmaiden {
width: 400px;
margin-left: -35px;
@media only screen and (max-width: 1024px) {
.top {
.container {
.shieldmaiden {
width: 400px;
margin-left: -35px;
}
.content {
.logo {
margin-left: -25px;
width: 300px;
}
.content {
.logo {
margin-left: -25px;
width: 300px;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 18px;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 18px;
}
}
}
}
}
@media only screen and (max-width: 768px) {
.top {
.container {
padding-top: 25px;
gap: 30px;
@media only screen and (max-width: 768px) {
.top {
.container {
padding-top: 25px;
gap: 30px;
.shieldmaiden {
width: 350px;
margin-left: -75px;
.shieldmaiden {
width: 350px;
margin-left: -75px;
}
.content {
.logo {
width: 300px;
}
.content {
.logo {
width: 300px;
}
h1 {
font-size: 28px;
}
h2 {
font-size: 16px;
}
h1 {
font-size: 28px;
}
h2 {
font-size: 16px;
}
}
}
}
}
@media only screen and (max-width: 640px) {
.top {
.bar {
top: 180px;
height: 100%;
}
.container {
padding-top: 30px;
gap: 20px;
padding-bottom: 80px;
@media only screen and (max-width: 640px) {
.top {
.bar {
top: 180px;
height: 100%;
.shieldmaiden {
width: 250px;
height: 180px;
position: absolute;
top: 0;
left: 0;
object-fit: cover;
object-position: top -5px left -30px;
}
.container {
padding-top: 30px;
gap: 20px;
padding-bottom: 80px;
.shieldmaiden {
width: 250px;
height: 180px;
.content {
padding-left: 120px;
position: relative;
z-index: 50;
.logo {
width: 200px;
margin-left: -18px;
margin-bottom: 10px;
}
h1 {
font-size: 20px;
}
h2 {
display: none;
}
.button-container {
position: absolute;
top: 0;
left: 0;
object-fit: cover;
object-position: top -5px left -30px;
}
.content {
padding-left: 120px;
position: relative;
z-index: 50;
.logo {
width: 200px;
margin-left: -18px;
margin-bottom: 10px;
}
h1 {
font-size: 20px;
}
h2 {
display: none;
}
.button-container {
position: absolute;
left: 0;
top: 180px;
top: 180px;
width: 100%;
text-align: center;
.q-btn {
width: 100%;
text-align: center;
.q-btn {
width: 100%;
&__content {
font-size: 12px;
}
&__content {
font-size: 12px;
}
}
}
}
}
}
</style>
}
</style>
2 changes: 1 addition & 1 deletion src/router/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const routes = [
offline: true,
description:
"The ultimate D&D 5e DM companion app. Manage encounters, track combat & health bars, import D&D Beyond characters, and much more. Use Shieldmaiden for free now!",
title: "Manage combat encounters as a D&D 5e Dungeon Master",
title: "Combat Tracker for D&D 5e",
},
},
{ path: "/home", redirect: "/" },
Expand Down

0 comments on commit 4517861

Please sign in to comment.