Skip to content

Commit 2661a7a

Browse files
Mattia VianelliMattia Vianelli
authored andcommitted
DSC-2899 Created new identifier subtype (core) with logo
1 parent d28fbaf commit 2661a7a

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

23.4 KB
Loading

src/config/default-app-config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,10 @@ export class DefaultAppConfig implements AppConfig {
742742
name: 'doi',
743743
baseUrl: 'https://doi.org/',
744744
},
745+
{
746+
name: 'core',
747+
baseUrl: 'https://core.ac.uk/works/',
748+
},
745749
{
746750
name: 'hdl',
747751
baseUrl: 'https://hdl.handle.net/',
@@ -1013,6 +1017,12 @@ export class DefaultAppConfig implements AppConfig {
10131017
iconPosition: IdentifierSubtypesIconPositionEnum.LEFT,
10141018
link: 'https://ror.org',
10151019
},
1020+
{
1021+
name: 'core',
1022+
icon: 'assets/images/core.logo.icon.png',
1023+
iconPosition: IdentifierSubtypesIconPositionEnum.LEFT,
1024+
link: 'https://core.ac.uk',
1025+
},
10161026
];
10171027
datadogRum: DatadogRumConfig = {
10181028
clientToken: undefined,

src/environments/environment.test.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,10 @@ export const environment: BuildConfig = {
521521
name: 'doi',
522522
baseUrl: 'https://doi.org/',
523523
},
524+
{
525+
name: 'core',
526+
baseUrl: 'https://core.ac.uk/works/',
527+
},
524528
{
525529
name: 'keepMyWhiteSpaces',
526530
baseUrl: 'https://keepmywhitespaces.com/',
@@ -758,6 +762,12 @@ export const environment: BuildConfig = {
758762
iconPosition: IdentifierSubtypesIconPositionEnum.LEFT,
759763
link: 'https://ror.org',
760764
},
765+
{
766+
name: 'core',
767+
icon: 'assets/images/core.logo.icon.png',
768+
iconPosition: IdentifierSubtypesIconPositionEnum.LEFT,
769+
link: 'https://core.ac.uk',
770+
},
761771
],
762772
// Configuration for the metadata link view popover
763773
metadataLinkViewPopoverData:

0 commit comments

Comments
 (0)