Skip to content

Commit

Permalink
responsive fixes + fiveicon + share picture
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobcatalin committed Dec 11, 2023
1 parent a052380 commit 757da41
Show file tree
Hide file tree
Showing 14 changed files with 124 additions and 11 deletions.
12 changes: 11 additions & 1 deletion components/complaint/ComplaintDisclaimer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default {
text-transform: uppercase;
font-family: Inter, sans-serif;
}
.disclaimer-text {
color: $gray900;
font-size: 24px;
Expand All @@ -74,4 +74,14 @@ export default {
}
}
@media #{map-get($display-breakpoints, 'sm-and-down')} {
.complaint-disclaimer {
.disclaimer-text {
font-size: 20px !important;
line-height: 30px !important;
}
}
}
</style>
24 changes: 24 additions & 0 deletions components/complaint/ComplaintLocationButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,28 @@ export default {
}
}
@media #{map-get($display-breakpoints, 'sm-and-down')} {
.complaint-location-button {
.v-btn__content {
.button-content {
.button-title {
width: 100%;
color: $gray900;
font-size: 14px !important;
font-weight: 600;
overflow: hidden;
text-align: left;
line-height: 20px;
font-style: normal;
white-space: nowrap;
text-overflow: ellipsis;
text-transform: uppercase;
font-family: Inter, sans-serif;
}
}
}
}
}
</style>
37 changes: 34 additions & 3 deletions components/shared/buttons/FormButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
v-if="icon"
:src="icon"
max-width="100px"
class="button-icon"
/>

<div class="button-content">
Expand All @@ -29,7 +30,8 @@
src="/images/website/icons/form-arrow-right.svg"
width="43px"
height="43px"
class="ml-3"
class="ml-3 button-arrow"

/>
</div>
</v-btn>
Expand Down Expand Up @@ -110,6 +112,8 @@ export default {
letter-spacing: -0.12px;
text-transform: uppercase;
font-family: Inter, sans-serif;
white-space: normal !important;
text-align: left;
}
.subtitle-container {
Expand All @@ -133,14 +137,41 @@ export default {
}
}
}
}
@media #{map-get($display-breakpoints, 'sm-and-down')} {
.form-button {
padding: 28px !important;
.v-btn__content {
.button-content {
margin-left: 15px !important;
.button-content {
margin-left: 30px !important;
.button-title {
font-size: 16px;
line-height: 20px;
letter-spacing: -0.12px;
}
.subtitle-container {
.button-subtitle {
white-space: initial !important;
margin-top: 16px;
font-size: 12px;
line-height: 16px;
letter-spacing: -0.1px;
}
}
}
}
.button-icon{
max-width: 50px !important;
}
.button-arrow{
width: 20px !important;
height: 20px !important;
}
}
}
Expand Down
23 changes: 23 additions & 0 deletions components/shared/buttons/FormCheckButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
v-if="icon"
:src="icon"
max-width="64px"
class="form-check-button-icon"
/>

<div class="button-content">
Expand Down Expand Up @@ -91,6 +92,7 @@ export default {
font-style: normal;
text-transform: uppercase;
font-family: Inter, sans-serif;
text-align: left;
}
}
Expand All @@ -104,4 +106,25 @@ export default {
}
}
@media #{map-get($display-breakpoints, 'sm-and-down')} {
.form-check-button {
.v-btn__content {
.button-content {
.button-title {
font-size: 14px !important;
font-weight: 600;
line-height: 18px;
white-space: normal !important;
}
}
}
.form-check-button-icon{
max-width: 30px !important;
}
}
}
</style>
23 changes: 23 additions & 0 deletions components/shared/buttons/FormRadioButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ export default {
font-style: normal;
text-transform: uppercase;
font-family: Inter, sans-serif;
white-space: normal !important;
text-align: left;
}
.button-subtitle {
Expand All @@ -102,6 +104,8 @@ export default {
letter-spacing: -0.1px;
text-transform: uppercase;
font-family: Inter, sans-serif;
white-space: normal !important;
text-align: left;
}
}
Expand All @@ -115,4 +119,23 @@ export default {
}
}
@media #{map-get($display-breakpoints, 'sm-and-down')} {
.form-radio-button {
.v-btn__content {
.button-content {
.button-title {
font-size: 14px !important;
line-height: 20px !important;
}
.button-subtitle {
font-size: 12px !important;
line-height: 20px !important;
}
}
}
}
}
</style>
9 changes: 2 additions & 7 deletions components/shared/text/PageTitle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,10 @@ export default {
@media #{map-get($display-breakpoints, 'sm-and-down')} {
.page-title {
font-size: 2.5rem;
line-height: 48px;
font-size: 30px !important;
line-height: 30px;
}
}
@media #{map-get($display-breakpoints, 'sm-and-down')} {
.page-title {
font-size: 36px !important;
}
}
</style>
7 changes: 7 additions & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ export default {
AppActions,
AppHideDialog,
},
head () {
return {
meta: [
{ hid: 'og:image', property: 'og:image', content: '/images/website/ceasul-bun-share.png' }
]
}
},
data() {
return {
hideApp: false,
Expand Down
Binary file added static/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/favicon.ico
Binary file not shown.
Binary file added static/images/website/ceasul-bun-share.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 757da41

@vercel
Copy link

@vercel vercel bot commented on 757da41 Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.