Skip to content

Commit 58478a2

Browse files
Mattia VianelliMattia Vianelli
authored andcommitted
DSC-2899 Created new identifier subtype (core) with logo
(cherry picked from commit 2661a7a)
1 parent 9239ed6 commit 58478a2

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
@@ -773,6 +773,10 @@ export class DefaultAppConfig implements AppConfig {
773773
name: 'doi',
774774
baseUrl: 'https://doi.org/',
775775
},
776+
{
777+
name: 'core',
778+
baseUrl: 'https://core.ac.uk/works/',
779+
},
776780
{
777781
name: 'hdl',
778782
baseUrl: 'https://hdl.handle.net/',
@@ -1044,6 +1048,12 @@ export class DefaultAppConfig implements AppConfig {
10441048
iconPosition: IdentifierSubtypesIconPositionEnum.LEFT,
10451049
link: 'https://ror.org',
10461050
},
1051+
{
1052+
name: 'core',
1053+
icon: 'assets/images/core.logo.icon.png',
1054+
iconPosition: IdentifierSubtypesIconPositionEnum.LEFT,
1055+
link: 'https://core.ac.uk',
1056+
},
10471057
];
10481058
datadogRum: DatadogRumConfig = {
10491059
clientToken: undefined,

src/environments/environment.test.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,10 @@ export const environment: BuildConfig = {
541541
name: 'doi',
542542
baseUrl: 'https://doi.org/',
543543
},
544+
{
545+
name: 'core',
546+
baseUrl: 'https://core.ac.uk/works/',
547+
},
544548
{
545549
name: 'keepMyWhiteSpaces',
546550
baseUrl: 'https://keepmywhitespaces.com/',
@@ -778,6 +782,12 @@ export const environment: BuildConfig = {
778782
iconPosition: IdentifierSubtypesIconPositionEnum.LEFT,
779783
link: 'https://ror.org',
780784
},
785+
{
786+
name: 'core',
787+
icon: 'assets/images/core.logo.icon.png',
788+
iconPosition: IdentifierSubtypesIconPositionEnum.LEFT,
789+
link: 'https://core.ac.uk',
790+
},
781791
],
782792
// Configuration for the metadata link view popover
783793
metadataLinkViewPopoverData:

0 commit comments

Comments
 (0)