Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSHARP-000 | @jdwjdwjdw | Update Algolia filter sort, responsive fixup #12

Merged
merged 3 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [c-ShARP Subtheme](https://github.com/SU-SWS/c_ShARP_subtheme)
##### Version: 1.0.0
##### Version: 1.0.1

Changelog: [Changelog.txt](CHANGELOG.txt)

Expand All @@ -15,6 +15,7 @@ The c-ShARP Subtheme is a Stanford sub-theme that works with the Stanford Basic
- Roboto font addition
- Transparent overlay banner variant
- Updated local footer
- Algolia search for shared facilities with filter by basic_page_type (Access & Affiliation) and shared_tags (Discipline) facets

Documentation
---
Expand Down
4 changes: 2 additions & 2 deletions algolia-search/dist/islands/algolia-search.island.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion algolia-search/src/hits/default-hit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const HitContainer = styled.article`
padding: 2rem 2rem 2rem 0;
margin-bottom: 2rem;

@media (min-width: 768px) {
@media (min-width: 992px) {
flex-direction: row;
}

Expand Down
1 change: 0 additions & 1 deletion algolia-search/src/search-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const SearchForm = (props) => {
const {items: pageTypeRefinements, refine: refinePageTypes} = useRefinementList({
attribute: "basic_page_type",
limit: 1000,
sortBy: ["name:asc"]
});
const {items: sharedRefinements, refine: refineSharedTypes} = useRefinementList({
attribute: "shared_tags",
Expand Down
2 changes: 1 addition & 1 deletion c_sharp_subtheme.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: c-ShARP Subtheme
type: theme
description: 'c-ShARP Subtheme.'
package: Stanford
version: 1.1.0
version: 1.0.1
core_version_requirement: ^9 || ^10
base theme: stanford_basic
libraries:
Expand Down
Loading