diff --git a/app/preprints/template.hbs b/app/preprints/template.hbs index bcf4a6af55..21847e39d8 100644 --- a/app/preprints/template.hbs +++ b/app/preprints/template.hbs @@ -1,6 +1,5 @@ {{page-title this.theme.provider.providerTitle replace=true}}
- diff --git a/mirage/fixtures/preprint-providers.ts b/mirage/fixtures/preprint-providers.ts index e8ad2f20a7..097df9fd02 100644 --- a/mirage/fixtures/preprint-providers.ts +++ b/mirage/fixtures/preprint-providers.ts @@ -63,6 +63,12 @@ const preprintProviders: Array> = [ preprintWord: 'preprint', assets: randomAssets(), }, + { + id: 'nutrixiv', + name: 'NutriXiv', + preprintWord: 'preprint', + assets: randomAssets(), + }, ]; export default preprintProviders; diff --git a/mirage/scenarios/preprints.ts b/mirage/scenarios/preprints.ts index 6af711fe2e..12bbf7f0d1 100644 --- a/mirage/scenarios/preprints.ts +++ b/mirage/scenarios/preprints.ts @@ -37,10 +37,21 @@ export function preprintsScenario( description: '

This is the description for agrixiv!

', }); + const nutrixiv = server.schema.preprintProviders.find('nutrixiv') as ModelInstance; + const nutrixivBrand = server.create('brand', { + primaryColor: '#000000', + secondaryColor: '#888888', + heroBackgroundImage: 'https://singlecolorimage.com/get/4a4a4a/1000x1000', + }); + nutrixiv.update({ + brand: nutrixivBrand, + description: '

This is the description for nutrixiv!

', + }); + const biohackrxiv = server.schema.preprintProviders.find('biohackrxiv') as ModelInstance; const biohackrxivBrand = server.create('brand', { primaryColor: '#000000', - secondaryColor: '#888888', + secondaryColor: '#ccc', heroBackgroundImage: 'https://singlecolorimage.com/get/ffffff/1000x1000', }); biohackrxiv.update({