SEO - accessibility: more changes for accessibility, new manifest file

This commit is contained in:
argirok 2021-08-11 13:59:50 +03:00
parent 9957de5d4c
commit 69a662234a
8 changed files with 61 additions and 9 deletions

View File

@ -44,6 +44,7 @@
"assets": [ "assets": [
"src/assets", "src/assets",
"src/robots.txt", "src/robots.txt",
"src/manifest.json",
"src/OpenSearchDescriptor.xml", "src/OpenSearchDescriptor.xml",
{ {
"glob": "**/*", "glob": "**/*",
@ -114,6 +115,7 @@
"beta": { "beta": {
"assets": [ "assets": [
"src/assets", "src/assets",
"src/manifest.json",
{ {
"input": "src/beta/", "input": "src/beta/",
"output": "/", "output": "/",
@ -159,6 +161,7 @@
"production": { "production": {
"assets": [ "assets": [
"src/assets", "src/assets",
"src/manifest.json",
{ {
"input": "src/prod/", "input": "src/prod/",
"output": "/", "output": "/",

View File

@ -19,7 +19,7 @@
"build:ssr-beta": "npm run build-beta && ng run explore:server:beta", "build:ssr-beta": "npm run build-beta && ng run explore:server:beta",
"build:ssr-prod": "npm run build-prod && ng run explore:server:production", "build:ssr-prod": "npm run build-prod && ng run explore:server:production",
"prerender": "ng run explore:prerender", "prerender": "ng run explore:prerender",
"after-build-clean": "rm -rf dist/explore/browser/assets/common-assets/.svn/ src/app/openaireLibrary/.svn node_modules src/assets/common-assets/.svn/" "after-build-clean": "rm -rf dist/explore/browser/assets/common-assets/.git/ src/app/openaireLibrary/.git node_modules src/assets/common-assets/.git/"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {

View File

@ -143,16 +143,16 @@
<div class="uk-hidden@s"> <div class="uk-hidden@s">
<a class="uk-position-center-left uk-position-small" href="#" uk-slidenav-previous <a class="uk-position-center-left uk-position-small" href="#" uk-slidenav-previous
uk-slider-item="previous"></a> uk-slider-item="previous"><span class="visually-hidden">prev</span></a>
<a class="uk-position-center-right uk-position-small" href="#" uk-slidenav-next <a class="uk-position-center-right uk-position-small" href="#" uk-slidenav-next
uk-slider-item="next"></a> uk-slider-item="next"><span class="visually-hidden">next</span></a>
</div> </div>
<div class="uk-visible@s"> <div class="uk-visible@s">
<a class="uk-position-center-left-out uk-position-small" href="#" uk-slidenav-previous <a class="uk-position-center-left-out uk-position-small" href="#" uk-slidenav-previous
uk-slider-item="previous"></a> uk-slider-item="previous"><span class="visually-hidden">prev</span></a>
<a class="uk-position-center-right-out uk-position-small" href="#" uk-slidenav-next <a class="uk-position-center-right-out uk-position-small" href="#" uk-slidenav-next
uk-slider-item="next"></a> uk-slider-item="next"><span class="visually-hidden">next</span></a>
</div> </div>
</div> </div>
</div> </div>

@ -1 +1 @@
Subproject commit aea456942e79958cbc05fb94a869be04cd2449c9 Subproject commit f51e47afa0f61112d9fc375f2af7da836cf077d1

View File

@ -38,7 +38,7 @@
<link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png">
<link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<link rel="manifest" href="assets/common-assets/logo/manifest.json"> <link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">

View File

@ -38,7 +38,7 @@
<link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png">
<link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<link rel="manifest" href="assets/common-assets/logo/manifest.json"> <link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">

49
explore/src/manifest.json Normal file
View File

@ -0,0 +1,49 @@
{
"name": "OpenAIRE | Explore",
"short_name": "Explore",
"start_url": "https://explore.openaire.eu",
"background_color": "#FFFFFF",
"display": "standalone",
"scope": "/",
"theme_color": "#ffffff",
"description": "OpenAIRE Explore: Over 100M of research deduplicated, 170K research software, 11M research data. One of the largest open scholarly records collection worldwide.",
"icons": [
{
"src": "\/assets/common-assets/logo/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/assets/common-assets/logo/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/assets/common-assets/logo/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/assets/common-assets/logo/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/assets/common-assets/logo/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/assets/common-assets/logo/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}

View File

@ -41,7 +41,7 @@
<link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png">
<link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<link rel="manifest" href="assets/common-assets/logo/manifest.json"> <link rel="manifest" href="manifest.json">
<meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">