diff --git a/package-lock.json b/package-lock.json index 18268769..25832340 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "shieldmaiden", - "version": "2.28.2", + "version": "2.29.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "shieldmaiden", - "version": "2.28.2", + "version": "2.29.0", "dependencies": { "@gtm-support/vue2-gtm": "^1.3.0", "@octokit/rest": "^19.0.5", diff --git a/package.json b/package.json index a092f1f5..5516185a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "2.28.2", + "version": "2.29.0", "name": "shieldmaiden", "description": "A Dungeons and Dragons Combat Tracker", "productName": "Shieldmaiden", diff --git a/src/assets/_img/shieldmaiden-combat-tracker-laptop.webp b/src/assets/_img/shieldmaiden-combat-tracker-laptop.webp new file mode 100644 index 00000000..4efef1f5 Binary files /dev/null and b/src/assets/_img/shieldmaiden-combat-tracker-laptop.webp differ diff --git a/src/components/Header.vue b/src/components/Header.vue index 3c6062ad..8bf01aa7 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -33,8 +33,6 @@ - - {{ environment.capitalize() }} @@ -184,14 +182,10 @@ @@ -43,66 +161,124 @@ export default { .top { background-image: url("../../assets/_img/styles/paper-bg.png"); background-position: top center; - padding-bottom: 25px; + padding-bottom: 50px; 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; + padding: 30px 20px 0 20px; max-width: 1280px; - display: flex; - justify-content: start; - gap: 50px; position: relative; - z-index: 10; + display: flex; + flex-direction: column; + align-items: center; + .logo { + width: 100%; + max-width: 320px; + margin-bottom: 30px; + } .shieldmaiden { - width: 450px; + height: 860px; + display: none; + position: absolute; + left: -170px; + top: 20px; + z-index: 0; } - .content { - padding: 0 0 100px 0; + display: flex; + flex-direction: column; + gap: 25px; + padding: 0; + text-align: center; - .logo { - margin: 0 0 25px -35px; - width: 400px; + .laptop { + width: 80%; + margin: 20px auto; } - h1 { - font-family: $text-written; - font-size: 40px; - text-transform: none; - line-height: normal; - text-transform: uppercase; - - span { - text-transform: none; + ::v-deep { + .q-btn { + background-color: #3fa3ad !important; } } - h2 { - font-size: 20px; - font-style: italic; - font-weight: light; - text-transform: none; - line-height: normal; - margin-bottom: 50px; - } - .button-container { - margin-bottom: 30px; + } + h1 { + line-height: normal; + font-size: 30px; + margin: 0 0 10px 0; + text-transform: uppercase; + } + h2 { + margin: 0 0 30px 0; + font-size: 18px; + } + .tools-title { + font-size: 18px; + margin: 25px 0 15px 0; + font-weight: bold; + } + .tools { + display: flex; + flex-direction: column; + gap: 15px; + z-index: 1; - .btn { - text-shadow: none; + .tool { + background-color: $neutral-6; + border-radius: $border-radius; + color: $neutral-1; + display: flex; + cursor: pointer; + box-shadow: 0 10px 15px $black; + + &:hover { + background-color: $neutral-7; + } + &__image { + min-width: 80px; + height: 85px; + background-size: cover; + background-position: center top; + border-top-left-radius: $border-radius; + border-bottom-left-radius: $border-radius; + display: flex; + justify-content: center; + align-items: center; + font-size: 25px; + } + + &__content { + padding: 10px 10px 10px 0; + display: flex; + flex-direction: column; + + &-title { + font-size: 15px; + font-weight: bold; + } + &-description { + font-size: 12px; + line-height: normal; + } } } } } + .read-more { + color: $neutral-1; + text-align: center; + width: 100%; + margin-top: 25px; + display: flex; + flex-direction: column; + align-items: center; + + &:hover { + font-size: 20px; + margin-bottom: -2px; + } + } } [data-theme="light"] { @@ -112,104 +288,66 @@ export default { } } -@media only screen and (max-width: 1024px) { +@media only screen and (min-width: $md-breakpoint) { .top { + padding: 25px 0 75px 0; + .container { - .shieldmaiden { - width: 400px; - margin-left: -35px; - } .content { - .logo { - margin-left: -25px; - width: 300px; - } - h1 { - font-size: 30px; + flex-direction: row; + justify-content: space-between; + align-items: center; + text-align: left; + + .laptop { + width: 400px; + margin: 0; } - h2 { - font-size: 18px; + } + .tools { + flex-direction: row; + flex-wrap: wrap; + .tool { + flex-basis: calc(50% - 7.5px); } } } } } - -@media only screen and (max-width: 768px) { +@media only screen and (min-width: $lg-breakpoint) { .top { .container { - padding-top: 25px; - gap: 30px; + padding-left: 330px; + align-items: start; + .content { + margin-bottom: 25px; + .laptop { + width: 457px; + display: none; + } + } + .logo { + margin-left: -35px; + } .shieldmaiden { - width: 350px; - margin-left: -75px; + display: block; } - .content { - .logo { - width: 300px; - } - h1 { - font-size: 28px; - } - h2 { - font-size: 16px; + .tools { + .tool { + // flex-basis: calc(33% - 7.5px); } } } } } - -@media only screen and (max-width: 640px) { +@media only screen and (min-width: $xl-breakpoint) { .top { - .bar { - top: 180px; - height: 100%; - } .container { - padding-top: 30px; - gap: 20px; - padding-bottom: 80px; - - .shieldmaiden { - width: 250px; - height: 180px; - 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; - width: 100%; - text-align: center; - - .q-btn { - width: 100%; - - &__content { - font-size: 12px; - } - } + .laptop { + width: 457px; + display: block; } } } diff --git a/src/views/Home.vue b/src/views/Home.vue index bfe9fc2d..597775b6 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,58 +1,79 @@