Skip to content

Commit

Permalink
Reduce title sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Jan 26, 2024
1 parent 5c5b19b commit 801efb9
Show file tree
Hide file tree
Showing 18 changed files with 37 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
}
},
"Search": {
"SearchByProductBarcode": "Search by product barcode",
"ProductBarcode": "Product barcode",
"Title": "Search"
},
"ShareButton": {
Expand Down
4 changes: 3 additions & 1 deletion src/views/AddPriceHome.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<h1 class="mb-1">{{ $t('AddPriceHome.Title') }}</h1>
<h1 class="text-h5 mb-1">
{{ $t('AddPriceHome.Title') }}
</h1>

<v-row>
<v-col cols="12" sm="6" lg="4">
Expand Down
4 changes: 3 additions & 1 deletion src/views/AddPriceMultiple.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<h1 class="mb-1">{{ $t('AddPriceMultiple.Title') }}</h1>
<h1 class="text-h5 mb-1">
{{ $t('AddPriceMultiple.Title') }}
</h1>

<v-row>
<!-- Step 1: proof -->
Expand Down
4 changes: 3 additions & 1 deletion src/views/AddPriceSingle.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<h1 class="mb-1">{{ $t('AddPriceSingle.Title') }}</h1>
<h1 class="text-h5 mb-1">
{{ $t('AddPriceSingle.Title') }}
</h1>

<v-form @submit.prevent="createPrice">
<v-row>
Expand Down
5 changes: 2 additions & 3 deletions src/views/BrandDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@

<br />

<h2 class="mb-1">
{{ $t('BrandDetail.TopProducts') }} <small>{{ brandProductTotal }}</small>

<h2 class="text-h6 mb-1">
{{ $t('BrandDetail.TopProducts') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h2>

Expand Down
2 changes: 1 addition & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<h1 class="mb-1">
<h1 class="text-h5 mb-1">
<i18n-t keypath="Home.Welcome.Title" tag="span">
<template #name>{{ APP_NAME }}</template>
</i18n-t>
Expand Down
4 changes: 2 additions & 2 deletions src/views/LocationDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@

<br />

<h2 class="mb-1">
{{ $t('LocationDetail.LatestPrices') }} <small>{{ locationPriceTotal }}</small>
<h2 class="text-h6 mb-1">
{{ $t('LocationDetail.LatestPrices') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h2>

Expand Down
2 changes: 1 addition & 1 deletion src/views/LocationList.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<h1 class="mb-1">
<h1 class="text-h5 mb-1">
{{ $t('LocationList.Title') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/views/PriceList.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<h1 class="mb-1">
<h1 class="text-h5 mb-1">
{{ $t('PriceList.Title') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h1>
Expand Down
4 changes: 2 additions & 2 deletions src/views/ProductDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

<br />

<h2 class="mb-1">
{{ $t('ProductDetail.LatestPrices') }} <small>{{ productPriceTotal }}</small>
<h2 class="text-h6 mb-1">
{{ $t('ProductDetail.LatestPrices') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h2>

Expand Down
2 changes: 1 addition & 1 deletion src/views/ProductList.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<h1 class="mb-1">
<h1 class="text-h5 mb-1">
{{ $t('ProductList.Title') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h1>
Expand Down
4 changes: 2 additions & 2 deletions src/views/Search.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<h1 class="mb-1">
<h1 class="text-h5 mb-1">
{{ $t('Search.Title') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h1>
Expand All @@ -9,7 +9,7 @@
<v-form @submit.prevent="search">
<v-text-field
v-model="productSearchForm.q"
:label="$t('Search.SearchByProductBarcode')"
:label="$t('Search.ProductBarcode')"
type="number"
:prepend-inner-icon="formFilled ? 'mdi-barcode' : 'mdi-barcode-scan'"
append-inner-icon="mdi-magnify"
Expand Down
4 changes: 3 additions & 1 deletion src/views/SignIn.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<h1 class="mb-1">{{ $t('SignIn.Title') }}</h1>
<h1 class="text-h5 mb-1">
{{ $t('SignIn.Title') }}
</h1>

<v-alert
class="mb-2"
Expand Down
5 changes: 3 additions & 2 deletions src/views/Stats.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<h1 class="mb-1">
{{ $t('Stats.Title') }} <v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
<h1 class="text-h5 mb-1">
{{ $t('Stats.Title') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h1>

<v-row>
Expand Down
6 changes: 4 additions & 2 deletions src/views/UserDashboard.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<h1 class="mb-1">{{ $t('UserDashboard.Title') }}</h1>
<h1 class="text-h5 mb-1">
{{ $t('UserDashboard.Title') }}
</h1>

<v-row>
<v-col cols="12" sm="6">
Expand All @@ -15,7 +17,7 @@

<br />

<h2 class="mb-1">
<h2 class="text-h6 mb-1">
{{ $t('UserDashboard.LatestPrices') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/views/UserDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<br />

<h2 class="mb-1">
<h2 class="text-h6 mb-1">
{{ $t('UserDetail.LatestPrices') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/views/UserList.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<h1 class="mb-1">
<h1 class="text-h5 mb-1">
{{ $t('UserList.Title') }}
<v-progress-circular v-if="loading" indeterminate :size="30"></v-progress-circular>
</h1>
Expand Down
4 changes: 3 additions & 1 deletion src/views/UserSettings.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<h1 class="mb-1">{{ $t('UserSettings.Title') }}</h1>
<h1 class="text-h5 mb-1">
{{ $t('UserSettings.Title') }}
</h1>

<v-form @submit.prevent="updateSettings">
<v-row>
Expand Down

0 comments on commit 801efb9

Please sign in to comment.