diff --git a/public/images/cat-1.svg b/public/images/cat-1.svg
index b472ca4..7c0f8a3 100644
--- a/public/images/cat-1.svg
+++ b/public/images/cat-1.svg
@@ -1,110 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/public/images/cat-10.svg b/public/images/cat-10.svg
new file mode 100644
index 0000000..0433c94
--- /dev/null
+++ b/public/images/cat-10.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-11.svg b/public/images/cat-11.svg
new file mode 100644
index 0000000..03a5ad8
--- /dev/null
+++ b/public/images/cat-11.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-12.svg b/public/images/cat-12.svg
new file mode 100644
index 0000000..fb85baf
--- /dev/null
+++ b/public/images/cat-12.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-14.svg b/public/images/cat-14.svg
new file mode 100644
index 0000000..9c95249
--- /dev/null
+++ b/public/images/cat-14.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-15.svg b/public/images/cat-15.svg
new file mode 100644
index 0000000..fcfebaf
--- /dev/null
+++ b/public/images/cat-15.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-16.svg b/public/images/cat-16.svg
new file mode 100644
index 0000000..992df29
--- /dev/null
+++ b/public/images/cat-16.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-17.svg b/public/images/cat-17.svg
new file mode 100644
index 0000000..d86152f
--- /dev/null
+++ b/public/images/cat-17.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-2.svg b/public/images/cat-2.svg
index e36f8f7..594c10f 100644
--- a/public/images/cat-2.svg
+++ b/public/images/cat-2.svg
@@ -1,124 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/public/images/cat-3.png b/public/images/cat-3.png
deleted file mode 100644
index 9c14086..0000000
Binary files a/public/images/cat-3.png and /dev/null differ
diff --git a/public/images/cat-3.svg b/public/images/cat-3.svg
new file mode 100644
index 0000000..648ad67
--- /dev/null
+++ b/public/images/cat-3.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-4.png b/public/images/cat-4.png
deleted file mode 100644
index 7b901ff..0000000
Binary files a/public/images/cat-4.png and /dev/null differ
diff --git a/public/images/cat-5.png b/public/images/cat-5.png
deleted file mode 100644
index b277c46..0000000
Binary files a/public/images/cat-5.png and /dev/null differ
diff --git a/public/images/cat-6.png b/public/images/cat-6.png
deleted file mode 100644
index e7648e2..0000000
Binary files a/public/images/cat-6.png and /dev/null differ
diff --git a/public/images/cat-6.svg b/public/images/cat-6.svg
new file mode 100644
index 0000000..4880f94
--- /dev/null
+++ b/public/images/cat-6.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-7.png b/public/images/cat-7.png
deleted file mode 100644
index 2147190..0000000
Binary files a/public/images/cat-7.png and /dev/null differ
diff --git a/public/images/cat-7.svg b/public/images/cat-7.svg
new file mode 100644
index 0000000..6e444a2
--- /dev/null
+++ b/public/images/cat-7.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-8.png b/public/images/cat-8.png
deleted file mode 100644
index b70dda8..0000000
Binary files a/public/images/cat-8.png and /dev/null differ
diff --git a/public/images/cat-8.svg b/public/images/cat-8.svg
new file mode 100644
index 0000000..b5056f4
--- /dev/null
+++ b/public/images/cat-8.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/cat-9.png b/public/images/cat-9.png
deleted file mode 100644
index 1269633..0000000
Binary files a/public/images/cat-9.png and /dev/null differ
diff --git a/public/images/cat-9.svg b/public/images/cat-9.svg
new file mode 100644
index 0000000..da56f2d
--- /dev/null
+++ b/public/images/cat-9.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/images/dog-11.svg b/public/images/dog-11.svg
new file mode 100644
index 0000000..f38f90d
--- /dev/null
+++ b/public/images/dog-11.svg
@@ -0,0 +1,94 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-12.svg b/public/images/dog-12.svg
new file mode 100644
index 0000000..53c9c55
--- /dev/null
+++ b/public/images/dog-12.svg
@@ -0,0 +1,86 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-13.svg b/public/images/dog-13.svg
new file mode 100644
index 0000000..b4bdeb2
--- /dev/null
+++ b/public/images/dog-13.svg
@@ -0,0 +1,62 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-14.svg b/public/images/dog-14.svg
new file mode 100644
index 0000000..731dfe8
--- /dev/null
+++ b/public/images/dog-14.svg
@@ -0,0 +1,54 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-15.svg b/public/images/dog-15.svg
new file mode 100644
index 0000000..9a48823
--- /dev/null
+++ b/public/images/dog-15.svg
@@ -0,0 +1,66 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-16.svg b/public/images/dog-16.svg
new file mode 100644
index 0000000..b817a17
--- /dev/null
+++ b/public/images/dog-16.svg
@@ -0,0 +1,66 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-17.svg b/public/images/dog-17.svg
new file mode 100644
index 0000000..eda47f6
--- /dev/null
+++ b/public/images/dog-17.svg
@@ -0,0 +1,70 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-18.svg b/public/images/dog-18.svg
new file mode 100644
index 0000000..b59b6aa
--- /dev/null
+++ b/public/images/dog-18.svg
@@ -0,0 +1,162 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-19.svg b/public/images/dog-19.svg
new file mode 100644
index 0000000..cb74fc5
--- /dev/null
+++ b/public/images/dog-19.svg
@@ -0,0 +1,50 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-21.svg b/public/images/dog-21.svg
new file mode 100644
index 0000000..59a21b0
--- /dev/null
+++ b/public/images/dog-21.svg
@@ -0,0 +1,70 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-22.svg b/public/images/dog-22.svg
new file mode 100644
index 0000000..e505b2a
--- /dev/null
+++ b/public/images/dog-22.svg
@@ -0,0 +1,66 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-23.svg b/public/images/dog-23.svg
new file mode 100644
index 0000000..46d514d
--- /dev/null
+++ b/public/images/dog-23.svg
@@ -0,0 +1,70 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-24.svg b/public/images/dog-24.svg
new file mode 100644
index 0000000..20c571b
--- /dev/null
+++ b/public/images/dog-24.svg
@@ -0,0 +1,74 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-25.svg b/public/images/dog-25.svg
new file mode 100644
index 0000000..6c581a0
--- /dev/null
+++ b/public/images/dog-25.svg
@@ -0,0 +1,54 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-26.svg b/public/images/dog-26.svg
new file mode 100644
index 0000000..f882e37
--- /dev/null
+++ b/public/images/dog-26.svg
@@ -0,0 +1,62 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-28.svg b/public/images/dog-28.svg
new file mode 100644
index 0000000..2da435a
--- /dev/null
+++ b/public/images/dog-28.svg
@@ -0,0 +1,62 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/images/dog-29.svg b/public/images/dog-29.svg
new file mode 100644
index 0000000..bfcb3b8
--- /dev/null
+++ b/public/images/dog-29.svg
@@ -0,0 +1,262 @@
+
+
+
+
\ No newline at end of file
diff --git a/public/locales/ru/translation.json b/public/locales/ru/translation.json
index b88bb8c..f0ecfd3 100644
--- a/public/locales/ru/translation.json
+++ b/public/locales/ru/translation.json
@@ -124,5 +124,46 @@
},
"User rejected the request.": "Пользователь отклонил запрос",
"Connector not connected.": "Кошелек не подключен",
- "An internal error was received.": "Неизвестная ошибка"
+ "An internal error was received.": "Неизвестная ошибка",
+ "Belgian Malinois": "Малая бельгийская",
+ "Pug": "Мопс",
+ "English Mastiff": "Английский мастиф",
+ "Lakeland Terrier": "Лейкленд-терьер",
+ "Chihuahua": "Чихуахуа",
+ "Rottweiler": "Ротвейлер",
+ "Doberman": "Доберман",
+ "Dachshund": "Такса",
+ "Shar-Pei": "Шарпей",
+ "Beagle": "Бигль",
+ "German Boxer": "Немецкий боксёр",
+ "Greyhound": "Грейхаунд",
+ "Ibizan Hound": "Поденко ибиценко",
+ "Basset Hound": "Бассет-хаунд",
+ "Tibetan Mastiff": "Тибетский мастиф",
+ "Сane Corso": "Кане Корсо",
+ "Border Collie": "Бордер-колли",
+ "Husky": "Хаски",
+ "Dalmatian": "Далматин",
+ "Jack Russel Terrier": "Джек-рассел-терьер",
+ "Bull Terrier": "Буль-терьер",
+ "Pharaoh Hound": "Фараонова собака",
+ "Shiba Inu": "Шиба-ину",
+ "German Shepherd": "Немецкая овчарка",
+ "French Bulldog": "Французский бульдог",
+ "Japanese chin": "Японский хин",
+ "Chinese Crested Dog": "Китайский хохлатый",
+ "Tonkinese": "Тонкинез",
+ "Siberian": "Сибирская",
+ "Scottish Fold": "Шотландская вислоухая",
+ "Russian Blue": "Русская голубая",
+ "Persian": "Персидская",
+ "Norwegian Forest": "Норвежская лесная",
+ "Nebelung": "Небелунг",
+ "Maine Coon": "Мейн-кун",
+ "Himalayan": "Гималайская",
+ "Chartreux": "Шартрез",
+ "Burmese": "Бурманская",
+ "Birman": "Бирманская",
+ "Bengal": "Бенгальская",
+ "Abyssinian": "Абиссинская"
}
diff --git a/src/components/common/MiniCard/MiniCard.tsx b/src/components/common/MiniCard/MiniCard.tsx
index 21cb762..568551c 100644
--- a/src/components/common/MiniCard/MiniCard.tsx
+++ b/src/components/common/MiniCard/MiniCard.tsx
@@ -33,7 +33,7 @@ export default function MiniCard({ item }: { item: Item }) {
}
- {item.fullName ?? item.name}
+ {item.fullName ?? t(item.name)}
{t('miniCard.price', { price: item.price })}
diff --git a/src/components/pages/Shop/index.tsx b/src/components/pages/Shop/index.tsx
index ffd618c..ce7eafa 100644
--- a/src/components/pages/Shop/index.tsx
+++ b/src/components/pages/Shop/index.tsx
@@ -18,7 +18,10 @@ export default function Shop() {
>
{items.map((tabData) => (
-
+ it1.price - it2.price)}
+ rowProps={{ xs: 2, sm: 3, md: 4, lg: 6 }}
+ />
))}
diff --git a/src/mocks/mockInventory.ts b/src/mocks/mockInventory.ts
index 62ba762..4576c04 100644
--- a/src/mocks/mockInventory.ts
+++ b/src/mocks/mockInventory.ts
@@ -55,7 +55,7 @@ export default [
},
{
id: 8,
- name: 'Hasky',
+ name: 'Husky',
price: 30000,
imageSrc: process.env.PUBLIC_URL + '/images/dog-8.svg',
defaultColor: '#3f3941',
@@ -74,66 +74,227 @@ export default [
imageSrc: process.env.PUBLIC_URL + '/images/dog-10.svg',
defaultColor: '#393e46',
},
+ {
+ id: 11,
+ name: 'Tibetan Mastiff',
+ price: 50000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-11.svg',
+ defaultColor: '#393e46',
+ },
+ {
+ id: 12,
+ name: 'Basset Hound',
+ price: 35000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-12.svg',
+ defaultColor: '#ce783f',
+ },
+ {
+ id: 13,
+ name: 'Ibizan Hound',
+ price: 13000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-13.svg',
+ defaultColor: '#ce783f',
+ },
+ {
+ id: 14,
+ name: 'Greyhound',
+ price: 40000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-14.svg',
+ defaultColor: '#606470',
+ },
+ {
+ id: 15,
+ name: 'German Boxer',
+ price: 35000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-15.svg',
+ defaultColor: '#a97c50',
+ },
+ {
+ id: 16,
+ name: 'Beagle',
+ price: 20000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-16.svg',
+ defaultColor: '#ce783f',
+ },
+ {
+ id: 17,
+ name: 'Shar-Pei',
+ price: 18000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-17.svg',
+ defaultColor: '#fcbd78',
+ },
+ {
+ id: 18,
+ name: 'Japanese chin',
+ price: 7000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-18.svg',
+ defaultColor: '#38373c',
+ },
+ {
+ id: 19,
+ name: 'Dachshund',
+ price: 6000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-19.svg',
+ defaultColor: '#393e46',
+ },
+ {
+ id: 21,
+ name: 'Chinese Crested Dog',
+ price: 2000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-21.svg',
+ defaultColor: '#ffffff',
+ },
+ {
+ id: 22,
+ name: 'Doberman',
+ price: 38000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-22.svg',
+ defaultColor: '#38373c',
+ },
+ {
+ id: 23,
+ name: 'Rottweiler',
+ price: 18000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-23.svg',
+ defaultColor: '#3f3941',
+ },
+ {
+ id: 24,
+ name: 'Chihuahua',
+ price: 10000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-24.svg',
+ defaultColor: '#2b2527',
+ },
+ {
+ id: 25,
+ name: 'Lakeland Terrier',
+ price: 10000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-25.svg',
+ defaultColor: '#f7a747',
+ },
+ {
+ id: 26,
+ name: 'English Mastiff',
+ price: 8000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-26.svg',
+ defaultColor: '#f5f1db',
+ },
+ {
+ id: 28,
+ name: 'Pug',
+ price: 5000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-28.svg',
+ defaultColor: '#f7dcc6',
+ },
+ {
+ id: 29,
+ name: 'Belgian Malinois',
+ price: 1000,
+ imageSrc: process.env.PUBLIC_URL + '/images/dog-29.svg',
+ defaultColor: '#f7a747',
+ },
],
},
{
title: 'cats',
data: [
{
- id: 11,
- name: 'Sphinx',
+ id: 30,
+ name: 'Abyssinian',
price: 10000,
imageSrc: process.env.PUBLIC_URL + '/images/cat-1.svg',
- defaultColor: '#908266',
+ defaultColor: '#d49960',
},
{
- id: 12,
- name: 'Marcus',
+ id: 31,
+ name: 'Bengal',
price: 12000,
imageSrc: process.env.PUBLIC_URL + '/images/cat-2.svg',
- defaultColor: '#89888A',
+ defaultColor: '#da843e',
},
{
- id: 13,
- name: 'Maine Coon',
+ id: 32,
+ name: 'Birman',
price: 50000,
- imageSrc: process.env.PUBLIC_URL + '/images/cat-3.png',
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-3.svg',
+ defaultColor: '#fdf5ef',
},
{
- id: 14,
- name: 'Savannah',
- price: 18000,
- imageSrc: process.env.PUBLIC_URL + '/images/cat-4.png',
+ id: 35,
+ name: 'Burmese',
+ price: 25000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-6.svg',
+ defaultColor: '#f4e2ce',
},
{
- id: 15,
- name: 'Siberian',
- price: 20000,
- imageSrc: process.env.PUBLIC_URL + '/images/cat-5.png',
+ id: 36,
+ name: 'Chartreux',
+ price: 30000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-7.svg',
+ defaultColor: '#8a878b',
},
{
- id: 16,
+ id: 37,
+ name: 'Himalayan',
+ price: 36000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-8.svg',
+ defaultColor: '#e8d4c1',
+ },
+ {
+ id: 38,
+ name: 'Maine Coon',
+ price: 50000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-9.svg',
+ defaultColor: '#bebcc1',
+ },
+ {
+ id: 39,
+ name: 'Nebelung',
+ price: 33000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-10.svg',
+ defaultColor: '#898b83',
+ },
+ {
+ id: 40,
name: 'Norwegian Forest',
- price: 25000,
- imageSrc: process.env.PUBLIC_URL + '/images/cat-6.png',
+ price: 40000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-11.svg',
+ defaultColor: '#c1bab2',
},
{
- id: 17,
- name: 'Ragdoll',
- price: 30000,
- imageSrc: process.env.PUBLIC_URL + '/images/cat-7.png',
+ id: 41,
+ name: 'Persian',
+ price: 17000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-12.svg',
+ defaultColor: '#fefaf5',
},
{
- id: 18,
- name: 'British Shorthair',
- price: 36000,
- imageSrc: process.env.PUBLIC_URL + '/images/cat-8.png',
+ id: 43,
+ name: 'Russian Blue',
+ price: 48000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-14.svg',
+ defaultColor: '#a9bbcc',
},
{
- id: 19,
- name: 'Chausie',
- price: 25000,
- imageSrc: process.env.PUBLIC_URL + '/images/cat-9.png',
+ id: 44,
+ name: 'Scottish Fold',
+ price: 20000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-15.svg',
+ defaultColor: '#dbccbc',
+ },
+ {
+ id: 45,
+ name: 'Siberian',
+ price: 2000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-16.svg',
+ defaultColor: '#765a47',
+ },
+ {
+ id: 46,
+ name: 'Tonkinese',
+ price: 5000,
+ imageSrc: process.env.PUBLIC_URL + '/images/cat-17.svg',
+ defaultColor: '#efded6',
},
],
},