diff --git a/.gitignore b/.gitignore index 7d065aca061..13152503944 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ package-lock.json junit.xml /src/mirador-viewer/config.local.js +yarn.lock diff --git a/README.md b/README.md index 689c64a2925..0fa9c75ec9c 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,8 @@ The same settings can also be overwritten by setting system environment variable ```bash export DSPACE_HOST=api7.dspace.org export DSPACE_UI_PORT=4200 +export DSPACE_UI_ALTMETRIC=https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js +export DSPACE_UI_PLUMX=https://cdn.plu.mx/widget-popup.js ``` The priority works as follows: **environment variable** overrides **variable in `.env` file** overrides external config set by `DSPACE_APP_CONFIG_PATH` overrides **`config.(prod or dev).yml`** diff --git a/angular.json b/angular.json index 5e597d4d307..2084af8f812 100644 --- a/angular.json +++ b/angular.json @@ -59,6 +59,11 @@ "input": "src/themes/dspace/styles/theme.scss", "inject": false, "bundleName": "dspace-theme" + }, + { + "input": "src/themes/yorkspace/styles/theme.scss", + "inject": false, + "bundleName": "yorkspace-theme" } ], "scripts": [], diff --git a/config/.gitignore b/config/.gitignore index a420ca43025..b0a9daabb6c 100644 --- a/config/.gitignore +++ b/config/.gitignore @@ -1,2 +1 @@ -config.*.yml !config.example.yml diff --git a/config/config.dev.yml b/config/config.dev.yml new file mode 100644 index 00000000000..79092dc4432 --- /dev/null +++ b/config/config.dev.yml @@ -0,0 +1,32 @@ +themes: + - name: yorkspace + headTags: + - tagName: link + attributes: + rel: icon + href: https://www.yorku.ca/wp-content/themes/york2020/favicon.ico + sizes: any + - tagName: link + attributes: + rel: apple-touch-icon + href: https://www.yorku.ca/wp-content/themes/york2020/apple-touch-icon.png +languages: + - code: en + label: English + active: true + - code: fr + label: Français + active: true +homePage: + recentSubmissions: + # The number of item showing in recent submission components + pageSize: 5 + # Sort record of recent submission + sortField: 'dc.date.accessioned' + topLevelCommunityList: + # No. of communities to list per page on the home page + # This will always round to the nearest number from the list of page sizes. e.g. if you set it to 7 it'll use 10 + pageSize: 5000 +communityList: + # No. of communities to list per expansion (show more) + pageSize: 5000 \ No newline at end of file diff --git a/config/config.yml b/config/config.yml index b5eecd112f0..776bd382c98 100644 --- a/config/config.yml +++ b/config/config.yml @@ -3,3 +3,6 @@ rest: host: api7.dspace.org port: 443 nameSpace: /server +ui: + altmetric: https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js + plumx: https://cdn.plu.mx/widget-popup.js diff --git a/src/app/footer/footer.component.html b/src/app/footer/footer.component.html index 13d84e6e2e1..3578bb0552f 100644 --- a/src/app/footer/footer.component.html +++ b/src/app/footer/footer.component.html @@ -2,52 +2,7 @@
- Lorem ipsum dolor sit amet consectetur, adipisicing elit. Iste atque ea quis - molestias. Fugiat pariatur maxime quis culpa corporis vitae repudiandae aliquam - voluptatem veniam, est atque cumque eum delectus sint! -
-{{ 'yorkspace.footer.copyright' | translate}}
+
{{ 'yorkspace.home.description.part1' | translate}} {{ 'yorkspace.home.yorku-senate-policy-open-access' | translate}} {{ 'yorkspace.home.description.part2' | translate}}
+