Skip to content

Commit 2d3e2ee

Browse files
committed
Random work on homepage
1 parent fa64016 commit 2d3e2ee

File tree

17 files changed

+262
-35
lines changed

17 files changed

+262
-35
lines changed

docs/public/videos/1.gif

182 KB
Loading

docs/public/videos/1.mp4

19.5 KB
Binary file not shown.

docs/public/videos/1.webm

30.2 KB
Binary file not shown.

docs/public/videos/2.gif

1.52 MB
Loading

docs/public/videos/2.mp4

183 KB
Binary file not shown.

docs/public/videos/3.gif

267 KB
Loading

docs/public/videos/3.mp4

141 KB
Binary file not shown.

docs/src/components/Sidebar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const canExpand = true;
1414
client:load
1515
menu={menu}
1616
useAccordion=true
17-
expandAll={canExpand}
17+
expandAll={expandAll}
1818
activeURL={Astro.url.pathname}
1919
/>
2020
<slot name="after"/>

docs/src/examples/card-search/card.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
:host {
2+
--input-padding: 6px 6px;
3+
}
4+
15
.card {
26
cursor: pointer;
37
background: var(--angled-gradient);

docs/src/examples/card-search/component.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineComponent, getText } from '@semantic-ui/component';
2-
import { each, escapeRegExp, get } from '@semantic-ui/utils';
2+
import { each, escapeRegExp, get, weightedObjectSearch } from '@semantic-ui/utils';
33

44
// sub templates
55
import { card } from './card.js';
@@ -39,7 +39,7 @@ const createComponent = ({ state }) => ({
3939
const searchTerm = state.searchTerm.get();
4040
if(searchTerm) {
4141
friends = weightedObjectSearch(searchTerm, friends, {
42-
propertiesToMatch: ['name', 'location', 'role']
42+
propertiesToMatch: ['name', 'joined', 'location', 'role']
4343
});
4444
}
4545
return friends;

0 commit comments

Comments
 (0)