Skip to content

Commit

Permalink
Merge pull request #552 from tutors-sdk/fix/portfolio-fixes
Browse files Browse the repository at this point in the history
fix: hide search and toc on course home pages (portfolios)
  • Loading branch information
edeleastar authored Oct 5, 2023
2 parents a846035 + 31f29f2 commit 2a33e1b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/src/lib/ui/app-shells/CourseShell.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@
<CalendarButton />
<svelte:fragment slot="trail">
<TutorsTimeIndicator />
<SearchButton />
{#if !$currentCourse.isPortfolio}
<SearchButton />
{/if}
<span class="divider-vertical h-10 hidden lg:block" />
<LayoutMenu />
<span class="divider-vertical h-10 hidden lg:block" />
Expand All @@ -82,7 +84,9 @@
{:else}
<LoginButton />
{/if}
<TocButton />
{#if !$currentCourse.isPortfolio}
<TocButton />
{/if}
</svelte:fragment>
</MainNavigator>
<SecondaryNavigator />
Expand Down

0 comments on commit 2a33e1b

Please sign in to comment.