l-min-components 1.0.285 → 1.0.289

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.285",
3
+ "version": "1.0.289",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -54,7 +54,7 @@ const AppMainLayout = () => {
54
54
  <Outlet />
55
55
  </CenterLayout>
56
56
 
57
- {rightLayout && (
57
+ {rightLayout && !coming && (
58
58
  <RightLayout>{rightComponent ?? <Banner />}</RightLayout>
59
59
  )}
60
60
  </MainLayout>
@@ -113,6 +113,7 @@ const HeaderComponent = (props) => {
113
113
  }
114
114
  if (
115
115
  window.location.host?.includes("developer") ||
116
+ window.location.host?.includes("coming") ||
116
117
  window.location.host?.includes("localhost")
117
118
  ) {
118
119
  setSelectedAccount(
@@ -179,11 +180,18 @@ const HeaderComponent = (props) => {
179
180
  }}
180
181
  >
181
182
  <li>
182
- <a href="#" className="active">
183
- <BookIcon /> Learning
183
+ <a className={"active"}>
184
+ <BookIcon />{" "}
185
+ {(window.location.pathname.includes("fun") && "Fun") ||
186
+ (window.location.pathname.includes("community") && "Community") ||
187
+ (window.location.pathname.includes("duet") && "Duet") ||
188
+ (window.location.pathname.includes("speech") && "Speech") ||
189
+ (window.location.pathname.includes("dictionary") &&
190
+ "Dictionary") ||
191
+ "Learning"}
184
192
  </a>
185
193
  </li>
186
- <li>
194
+ {/* <li>
187
195
  <a href="#">
188
196
  <PeopleIcon /> Friends
189
197
  </a>
@@ -192,7 +200,7 @@ const HeaderComponent = (props) => {
192
200
  <a href="#">
193
201
  <MessageIcon /> Messages
194
202
  </a>
195
- </li>
203
+ </li> */}
196
204
  <li>
197
205
  <a
198
206
  onClick={() => {
@@ -204,11 +212,11 @@ const HeaderComponent = (props) => {
204
212
  <SettingIcon /> Settings
205
213
  </a>
206
214
  </li>
207
- <li>
215
+ {/* <li>
208
216
  <a href="#">
209
217
  <NotificationIcon /> Notifications
210
218
  </a>
211
- </li>
219
+ </li> */}
212
220
  </Nav>
213
221
 
214
222
  <NavGroup
@@ -43,7 +43,7 @@ export const NavGroup = styled.div`
43
43
  }
44
44
  .dropdown_list {
45
45
  position: absolute;
46
- top: 65px;
46
+ top: 50px;
47
47
  width: fit-content;
48
48
  background: white;
49
49
  padding: 15px 0;
@@ -103,21 +103,20 @@ export const Nav = styled.ul`
103
103
  text-decoration: none;
104
104
  display: flex;
105
105
  align-items: center;
106
- color: #4A4D4D;
106
+ color: #4a4d4d;
107
107
  font-size: 15px;
108
108
  font-style: normal;
109
109
  font-weight: 600;
110
- line-height: normal;
110
+ line-height: normal;
111
111
  position: relative;
112
112
 
113
-
114
113
  &:hover:after {
115
114
  content: "";
116
115
  position: absolute;
117
116
  left: 0;
118
117
  bottom: -9px;
119
118
  width: 40px;
120
- height: 4px;
119
+ height: 4px;
121
120
  background-color: rgba(0, 194, 194, 1);
122
121
  transition: width 0.3s ease-in-out;
123
122
  }
@@ -559,7 +558,7 @@ export const NavGroup2 = styled.div`
559
558
  }
560
559
  .dropdown_list {
561
560
  position: absolute;
562
- top: 65px;
561
+ top: 50px;
563
562
  width: fit-content;
564
563
  background: white;
565
564
  padding: 15px 0;