Skip to content

Commit 0d39454

Browse files
Merge branch 'master' into hover-effect
2 parents f7b92ff + ed8c6cb commit 0d39454

7 files changed

Lines changed: 849 additions & 158 deletions

File tree

src/components/SistentNavigation/content.js

Lines changed: 64 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -37,92 +37,90 @@ export const content = [
3737
{ id: 26, link: "/projects/sistent/components/button-group/guidance", text: "Button Group" },
3838
{ id: 27, link: "/projects/sistent/components/button-group/code", text: "Button Group" },
3939

40-
{ id: 25, link: "/projects/sistent/components/chip", text: "Chip" },
41-
{ id: 26, link: "/projects/sistent/components/chip/guidance", text: "Chip" },
42-
{ id: 27, link: "/projects/sistent/components/chip/code", text: "Chip" },
40+
{ id: 28, link: "/projects/sistent/components/chip", text: "Chip" },
41+
{ id: 29, link: "/projects/sistent/components/chip/guidance", text: "Chip" },
42+
{ id: 30, link: "/projects/sistent/components/chip/code", text: "Chip" },
4343

44-
{ id: 28, link: "/projects/sistent/components/circularprogress", text: "Circular Progress" },
45-
{ id: 29, link: "/projects/sistent/components/circularprogress/guidance", text: "Circular Progress" },
46-
{ id: 30, link: "/projects/sistent/components/circularprogress/code", text: "Circular Progress" },
44+
{ id: 31, link: "/projects/sistent/components/circularprogress", text: "Circular Progress" },
45+
{ id: 32, link: "/projects/sistent/components/circularprogress/guidance", text: "Circular Progress" },
46+
{ id: 33, link: "/projects/sistent/components/circularprogress/code", text: "Circular Progress" },
4747

48-
{ id: 31, link: "/projects/sistent/components/container", text: "Container" },
49-
{ id: 32, link: "/projects/sistent/components/container/guidance", text: "Container" },
50-
{ id: 33, link: "/projects/sistent/components/container/code", text: "Container" },
48+
{ id: 34, link: "/projects/sistent/components/container", text: "Container" },
49+
{ id: 35, link: "/projects/sistent/components/container/guidance", text: "Container" },
50+
{ id: 36, link: "/projects/sistent/components/container/code", text: "Container" },
5151

52-
{ id: 34, link: "/projects/sistent/components/dialog", text: "Dialog" },
53-
{ id: 35, link: "/projects/sistent/components/dialog/guidance", text: "Dialog" },
54-
{ id: 36, link: "/projects/sistent/components/dialog/code", text: "Dialog" },
52+
{ id: 37, link: "/projects/sistent/components/dialog", text: "Dialog" },
53+
{ id: 38, link: "/projects/sistent/components/dialog/guidance", text: "Dialog" },
54+
{ id: 39, link: "/projects/sistent/components/dialog/code", text: "Dialog" },
5555

56-
{ id: 37, link: "/projects/sistent/components/grid", text: "Grid" },
57-
{ id: 38, link: "/projects/sistent/components/grid/guidance", text: "Grid" },
58-
{ id: 39, link: "/projects/sistent/components/grid/code", text: "Grid" },
56+
{ id: 40, link: "/projects/sistent/components/formcontrollabel", text: "FormControlLabel" },
57+
{ id: 41, link: "/projects/sistent/components/formcontrollabel/guidance", text: "FormControlLabel" },
58+
{ id: 42, link: "/projects/sistent/components/formcontrollabel/code", text: "FormControlLabel" },
5959

60-
{ id: 40, link: "/projects/sistent/components/iconbutton", text: "IconButton" },
61-
{ id: 41, link: "/projects/sistent/components/iconbutton/guidance", text: "IconButton" },
62-
{ id: 42, link: "/projects/sistent/components/iconbutton/code", text: "IconButton" },
60+
{ id: 43, link: "/projects/sistent/components/grid", text: "Grid" },
61+
{ id: 44, link: "/projects/sistent/components/grid/guidance", text: "Grid" },
62+
{ id: 45, link: "/projects/sistent/components/grid/code", text: "Grid" },
6363

64-
{ id: 43, link: "/projects/sistent/components/icons", text: "Icons" },
64+
{ id: 46, link: "/projects/sistent/components/iconbutton", text: "IconButton" },
65+
{ id: 47, link: "/projects/sistent/components/iconbutton/guidance", text: "IconButton" },
66+
{ id: 48, link: "/projects/sistent/components/iconbutton/code", text: "IconButton" },
6567

66-
{ id: 44, link: "/projects/sistent/components/link", text: "Link" },
67-
{ id: 45, link: "/projects/sistent/components/link/guidance", text: "Link" },
68-
{ id: 46, link: "/projects/sistent/components/link/code", text: "Link" },
68+
{ id: 49, link: "/projects/sistent/components/icons", text: "Icons" },
6969

70-
{ id: 47, link: "/projects/sistent/components/list", text: "List" },
71-
{ id: 48, link: "/projects/sistent/components/list/guidance", text: "List" },
72-
{ id: 49, link: "/projects/sistent/components/list/code", text: "List" },
70+
{ id: 50, link: "/projects/sistent/components/link", text: "Link" },
71+
{ id: 51, link: "/projects/sistent/components/link/guidance", text: "Link" },
72+
{ id: 52, link: "/projects/sistent/components/link/code", text: "Link" },
7373

74-
{ id: 50, link: "/projects/sistent/components/modal", text: "Modal" },
75-
{ id: 51, link: "/projects/sistent/components/modal/guidance", text: "Modal" },
76-
{ id: 52, link: "/projects/sistent/components/modal/code", text: "Modal" },
74+
{ id: 53, link: "/projects/sistent/components/list", text: "List" },
75+
{ id: 54, link: "/projects/sistent/components/list/guidance", text: "List" },
76+
{ id: 55, link: "/projects/sistent/components/list/code", text: "List" },
7777

78-
{ id: 53, link: "/projects/sistent/components/pagination", text: "Pagination" },
79-
{ id: 54, link: "/projects/sistent/components/pagination/guidance", text: "Pagination" },
80-
{ id: 55, link: "/projects/sistent/components/pagination/code", text: "Pagination" },
78+
{ id: 56, link: "/projects/sistent/components/modal", text: "Modal" },
79+
{ id: 57, link: "/projects/sistent/components/modal/guidance", text: "Modal" },
80+
{ id: 58, link: "/projects/sistent/components/modal/code", text: "Modal" },
8181

82-
{ id: 56, link: "/projects/sistent/components/paper", text: "Paper" },
83-
{ id: 57, link: "/projects/sistent/components/paper/guidance", text: "Paper" },
84-
{ id: 58, link: "/projects/sistent/components/paper/code", text: "Paper" },
82+
{ id: 59, link: "/projects/sistent/components/pagination", text: "Pagination" },
83+
{ id: 60, link: "/projects/sistent/components/pagination/guidance", text: "Pagination" },
84+
{ id: 61, link: "/projects/sistent/components/pagination/code", text: "Pagination" },
8585

86-
{ id: 59, link: "/projects/sistent/components/popper", text: "Popper" },
87-
{ id: 60, link: "/projects/sistent/components/popper/guidance", text: "Popper" },
88-
{ id: 61, link: "/projects/sistent/components/popper/code", text: "Popper" },
86+
{ id: 62, link: "/projects/sistent/components/paper", text: "Paper" },
87+
{ id: 63, link: "/projects/sistent/components/paper/guidance", text: "Paper" },
88+
{ id: 64, link: "/projects/sistent/components/paper/code", text: "Paper" },
8989

90-
{ id: 62, link: "/projects/sistent/components/radiogroup", text: "RadioGroup" },
91-
{ id: 63, link: "/projects/sistent/components/radiogroup/guidance", text: "RadioGroup" },
92-
{ id: 64, link: "/projects/sistent/components/radiogroup/code", text: "RadioGroup" },
90+
{ id: 65, link: "/projects/sistent/components/popper", text: "Popper" },
91+
{ id: 66, link: "/projects/sistent/components/popper/guidance", text: "Popper" },
92+
{ id: 67, link: "/projects/sistent/components/popper/code", text: "Popper" },
9393

94-
{ id: 65, link: "/projects/sistent/components/select", text: "Select" },
95-
{ id: 66, link: "/projects/sistent/components/select/guidance", text: "Select" },
96-
{ id: 67, link: "/projects/sistent/components/select/code", text: "Select" },
94+
{ id: 68, link: "/projects/sistent/components/radiogroup", text: "RadioGroup" },
95+
{ id: 69, link: "/projects/sistent/components/radiogroup/guidance", text: "RadioGroup" },
96+
{ id: 70, link: "/projects/sistent/components/radiogroup/code", text: "RadioGroup" },
9797

98-
{ id: 68, link: "/projects/sistent/components/stepper", text: "Stepper" },
99-
{ id: 69, link: "/projects/sistent/components/stepper/guidance", text: "Stepper" },
100-
{ id: 70, link: "/projects/sistent/components/stepper/code", text: "Stepper" },
98+
{ id: 71, link: "/projects/sistent/components/select", text: "Select" },
99+
{ id: 72, link: "/projects/sistent/components/select/guidance", text: "Select" },
100+
{ id: 73, link: "/projects/sistent/components/select/code", text: "Select" },
101101

102-
{ id: 71, link: "/projects/sistent/components/switch", text: "Switch" },
103-
{ id: 72, link: "/projects/sistent/components/switch/guidance", text: "Switch" },
104-
{ id: 73, link: "/projects/sistent/components/switch/code", text: "Switch" },
102+
{ id: 74, link: "/projects/sistent/components/switch", text: "Switch" },
103+
{ id: 75, link: "/projects/sistent/components/switch/guidance", text: "Switch" },
104+
{ id: 76, link: "/projects/sistent/components/switch/code", text: "Switch" },
105105

106-
{ id: 74, link: "/projects/sistent/components/tabs", text: "Tabs" },
107-
{ id: 75, link: "/projects/sistent/components/tabs/guidance", text: "Tabs" },
108-
{ id: 76, link: "/projects/sistent/components/tabs/code", text: "Tabs" },
106+
{ id: 77, link: "/projects/sistent/components/tabs", text: "Tabs" },
107+
{ id: 78, link: "/projects/sistent/components/tabs/guidance", text: "Tabs" },
108+
{ id: 79, link: "/projects/sistent/components/tabs/code", text: "Tabs" },
109109

110-
{ id: 77, link: "/projects/sistent/components/text-field", text: "Text Field" },
111-
{ id: 78, link: "/projects/sistent/components/text-field/guidance", text: "Text Field" },
112-
{ id: 79, link: "/projects/sistent/components/text-field/code", text: "Text Field" },
110+
{ id: 80, link: "/projects/sistent/components/text-field", text: "Text Field" },
111+
{ id: 81, link: "/projects/sistent/components/text-field/guidance", text: "Text Field" },
112+
{ id: 82, link: "/projects/sistent/components/text-field/code", text: "Text Field" },
113113

114-
{ id: 80, link: "/projects/sistent/components/text-input", text: "Text Input" },
115-
{ id: 81, link: "/projects/sistent/components/text-input/guidance", text: "Text Input" },
116-
{ id: 82, link: "/projects/sistent/components/text-input/code", text: "Text Input" },
117-
118-
{ id: 83, link: "/projects/sistent/components/toolbar", text: "Toolbar" },
119-
{ id: 84, link: "/projects/sistent/components/toolbar/guidance", text: "Toolbar" },
120-
{ id: 85, link: "/projects/sistent/components/toolbar/code", text: "Toolbar" },
121-
122-
{ id: 86, link: "/projects/sistent/components/tooltip", text: "Tooltip" },
123-
{ id: 87, link: "/projects/sistent/components/tooltip/guidance", text: "Tooltip" },
124-
{ id: 88, link: "/projects/sistent/components/tooltip/code", text: "Tooltip" },
114+
{ id: 83, link: "/projects/sistent/components/text-input", text: "Text Input" },
115+
{ id: 84, link: "/projects/sistent/components/text-input/guidance", text: "Text Input" },
116+
{ id: 85, link: "/projects/sistent/components/text-input/code", text: "Text Input" },
125117

118+
{ id: 86, link: "/projects/sistent/components/toolbar", text: "Toolbar" },
119+
{ id: 87, link: "/projects/sistent/components/toolbar/guidance", text: "Toolbar" },
120+
{ id: 88, link: "/projects/sistent/components/toolbar/code", text: "Toolbar" },
126121

122+
{ id: 89, link: "/projects/sistent/components/tooltip", text: "Tooltip" },
123+
{ id: 90, link: "/projects/sistent/components/tooltip/guidance", text: "Tooltip" },
124+
{ id: 91, link: "/projects/sistent/components/tooltip/code", text: "Tooltip" },
127125

128126
];

src/sections/General/Faq/faqSection.style.js

Lines changed: 114 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,105 @@ const FaqSectionWrapper = styled.section`
1818
text-transform: capitalize;
1919
opacity: 0.8;
2020
}
21+
22+
.filter-controls {
23+
display: flex;
24+
justify-content: flex-start;
25+
align-items: center;
26+
margin-bottom: 1.5rem;
27+
28+
button {
29+
margin-right: 1rem;
30+
}
31+
}
32+
33+
.filter-title {
34+
color: ${props => props.theme.primaryColor};
35+
font-weight: 500;
36+
margin-bottom: 1rem;
37+
padding-bottom: 0.5rem;
38+
text-align: center;
39+
}
40+
41+
.filter-group {
42+
margin-bottom: 1.5rem;
43+
44+
h3 {
45+
font-size: 1.2rem;
46+
margin-bottom: 1rem;
47+
color: ${props => props.theme.primaryColor};
48+
}
49+
}
50+
51+
.filter-message {
52+
margin: 0.5rem 0;
53+
font-size: 0.9rem;
54+
font-style: italic;
55+
opacity: 0.8;
56+
}
57+
.filter-options {
58+
display: flex;
59+
flex-wrap: wrap;
60+
gap: 1rem;
61+
}
62+
63+
.filter-option {
64+
display: flex;
65+
align-items: center;
66+
margin-right: 1rem;
67+
margin-bottom: 0.5rem;
68+
69+
input[type="checkbox"] {
70+
margin-right: 0.5rem;
71+
cursor: pointer;
72+
accent-color: ${props => props.theme.primaryColor};
73+
}
74+
75+
label {
76+
cursor: pointer;
77+
font-size: 0.9rem;
78+
}
79+
}
80+
81+
.filter-message {
82+
padding: 0.5rem;
83+
border-radius: 4px;
84+
}
85+
86+
.active-filters {
87+
margin-bottom: 1.5rem;
88+
padding: 0.75rem 1rem;
89+
background-color: ${props => props.theme.secondaryLightColor};
90+
border-radius: 4px;
91+
border-left: 4px solid ${props => props.theme.primaryColor};
92+
93+
p {
94+
margin: 0;
95+
font-size: 0.9rem;
96+
97+
strong {
98+
color: ${props => props.theme.primaryColor};
99+
}
100+
}
101+
}
102+
103+
.no-results {
104+
text-align: center;
105+
padding: 3rem 1rem;
106+
background-color: ${props => props.theme.secondaryLightColor};
107+
border-radius: 8px;
108+
margin-bottom: 2rem;
109+
110+
h3 {
111+
margin-bottom: 1rem;
112+
color: ${props => props.theme.textColor};
113+
}
114+
115+
p {
116+
margin-bottom: 1rem;
117+
}
118+
}
119+
21120
.accordion__item + .accordion__item {
22121
border-color: transparent;
23122
}
@@ -96,6 +195,20 @@ const FaqSectionWrapper = styled.section`
96195
}
97196
98197
@media only screen and (max-width: 568px) {
198+
.filter-controls {
199+
flex-direction: column;
200+
align-items: flex-start;
201+
202+
button {
203+
margin-bottom: 0.75rem;
204+
width: 100%;
205+
}
206+
}
207+
208+
.filter-option {
209+
width: 100%;
210+
}
211+
99212
.section-title {
100213
text-align: center;
101214
}
@@ -116,4 +229,4 @@ const FaqSectionWrapper = styled.section`
116229
}
117230
`;
118231

119-
export default FaqSectionWrapper;
232+
export default FaqSectionWrapper;

0 commit comments

Comments
 (0)