Skip to content

Commit

Permalink
Merge pull request #141 from tjheffner/fix-search-params
Browse files Browse the repository at this point in the history
Fix search params
  • Loading branch information
tjheffner authored Mar 22, 2024
2 parents bc160be + 49b6af8 commit 3456ff1
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 231 deletions.
115 changes: 24 additions & 91 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"prettier": "~3.1.0",
"prettier-plugin-svelte": "^3.1.2",
"prettier-plugin-tailwindcss": "^0.5.12",
"query-string": "^8.2.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-format": "^5.0.0",
"rehype-slug": "^6.0.0",
Expand All @@ -52,6 +51,7 @@
"svelte": "^4.2.12",
"svelte-check": "^3.6.2",
"svelte-preprocess": "^5.1.1",
"sveltekit-search-params": "^2.1.2",
"tailwindcss": "^3.4.1",
"tslib": "^2.6.2",
"typescript": "^5.3.2",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Toc.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<!-- adjust margins to slide in/out, works with sticky -->
<!-- need to adjust left margin to slide text, right margin to slide bg -->
<ul class="toc-list max-h-fit {isOpen ? '-ml-6 mr-0 lg:ml-2' : '-ml-96 mr-96'}">
<ul class="toc-list max-h-fit {isOpen ? '-ml-6 mr-0 lg:ml-2 opacity-100' : '-ml-96 mr-96 opacity-0'}">
{#each $tocStore.items.values() as { id, text, element }}
<li>
<a
Expand Down
2 changes: 2 additions & 0 deletions src/lib/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export const STEAM_ID = '76561197965804852' // need process.env.STEAM_API_KEY
export const APPROVED_POSTERS_GH_USERNAME = ['tjheffner']
export const GH_PUBLISHED_TAGS = ['Published']

export const POST_CATEGORIES = ['Note', 'Recipe', 'Technical', 'DIY']

// auto generated variables
export const REPO_URL = 'https://github.com/' + GH_USER_REPO
export const REPO_OWNER = GH_USER_REPO.split('/')[0]
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(main)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<p>This site is perpetually under construction but coming along. 😎</p>

<p>
It's mostly a place for me to post <a href="/blog?show=Recipes"
It's mostly a place for me to post <a href="/blog?show=Recipe"
>recipes I like</a
>
and
Expand Down
Loading

0 comments on commit 3456ff1

Please sign in to comment.