Skip to content

Commit

Permalink
Preprints branding update (#1922)
Browse files Browse the repository at this point in the history
-   Ticket: []
-   Feature flag: n/a

## Purpose
- Remove possible failure point by not using preprintProvider.asset
- Add special casing to address nutrixiv's navbar color https://osf.io/preprints/nutrixiv/

## Summary of Changes
- Remove use of ThemeStyles from preprint (this set the navbar logo to use the preprintProvider.asset. square_color_transparent, when we want to just use the brand. topnavLogoImage going forward)
- Add special case for nutrixiv to use a white background similar to biohackrxiv
  • Loading branch information
futa-ikeda authored and bp-cos committed Oct 27, 2023
1 parent 55be328 commit 8f4caf7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/preprints/template.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{page-title this.theme.provider.providerTitle replace=true}}
<div {{with-branding (get-model this.theme.provider.brand)}}>
<ThemeStyles />
<BrandedNavbar
@translateKey='collections.general.brand'
@brandRoute='preprints.discover'
Expand Down

0 comments on commit 8f4caf7

Please sign in to comment.