Skip to content

Commit 67d5cf7

Browse files
Merge pull request #37 from Space2Study-UA-4282-4286-team-02/feat/114/popular-categories
feat(find-offers): add Popular categories block
2 parents c266d37 + 24085ca commit 67d5cf7

12 files changed

Lines changed: 281 additions & 2 deletions

File tree

Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
export const styles = {
2+
wrapper: {
3+
mt: 6,
4+
mb: 8
5+
},
6+
7+
container: {
8+
maxWidth: 1160,
9+
mx: 'auto',
10+
px: { xs: 2, md: 0 }
11+
},
12+
13+
title: {
14+
fontWeight: 700,
15+
mb: 3
16+
},
17+
18+
card: {
19+
height: 96,
20+
borderRadius: 2,
21+
cursor: 'pointer',
22+
boxShadow: '0 4px 14px rgba(0,0,0,0.04)',
23+
transition: 'all .2s ease',
24+
'&:hover': {
25+
transform: 'translateY(-2px)',
26+
boxShadow: '0 10px 26px rgba(0,0,0,0.06)'
27+
}
28+
},
29+
30+
cardContent: {
31+
display: 'flex',
32+
alignItems: 'center',
33+
gap: 2,
34+
px: 3,
35+
py: 2
36+
},
37+
38+
iconBox: {
39+
width: 56,
40+
height: 56,
41+
borderRadius: 2,
42+
display: 'flex',
43+
alignItems: 'center',
44+
justifyContent: 'center',
45+
flexShrink: 0
46+
},
47+
48+
iconImage: {
49+
width: 40,
50+
height: 40
51+
},
52+
53+
textContainer: {
54+
display: 'flex',
55+
flexDirection: 'column',
56+
flex: 1
57+
},
58+
59+
categoryTitle: {
60+
fontSize: 16,
61+
fontWeight: 600,
62+
lineHeight: 1.2
63+
},
64+
65+
categorySubtitle: {
66+
fontSize: 13,
67+
color: 'text.secondary',
68+
mt: 0.5
69+
},
70+
71+
buttonWrapper: {
72+
textAlign: 'center',
73+
mt: 4
74+
},
75+
76+
loaderBox: {
77+
textAlign: 'center',
78+
py: 6
79+
}
80+
}
81+

0 commit comments

Comments
 (0)