diff --git a/art/heart.png b/art/heart.png new file mode 100644 index 00000000..6bd33360 Binary files /dev/null and b/art/heart.png differ diff --git a/composer.json b/composer.json index ea09464a..78d13f14 100644 --- a/composer.json +++ b/composer.json @@ -69,7 +69,7 @@ ], "scripts": { "website:copy-changelog": "@php -r \"copy('CHANGELOG.md', 'docs/changelog.md');\"", - "website:copy-logo": "@php -r \"(is_dir('docs/.vuepress/public') || mkdir('docs/.vuepress/public')) && copy('art/logo_mixed.gif', 'docs/.vuepress/public/logo.gif');\"", + "website:copy-logo": "@php -r \"(is_dir('docs/.vuepress/public') || mkdir('docs/.vuepress/public')) && copy('art/logo_mixed.gif', 'docs/.vuepress/public/logo.gif') && copy('art/heart.svg', 'docs/.vuepress/public/heart.svg') && copy('art/heart.png', 'docs/.vuepress/public/heart.png');\"", "ecs:test": "ecs check src --ansi --config vendor/symplify/easy-coding-standard/config/set/clean-code.yaml", "phpstan:test": "phpstan analyse --ansi", "phpunit:test": "phpunit --colors=always", diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 8d82d28f..807d5db7 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -2,6 +2,10 @@ module.exports = { title: 'PHP Insights', description: 'The perfect starting point to analyze the code quality of your PHP projects', sidebar: true, + head: [ + ['link', { rel: 'icon', href: '/heart.png' }], + ['link', { rel: 'icon', href: '/heart.svg', type: 'image/svg+xml' }], + ], themeConfig: { repo: 'nunomaduro/phpinsights', sidebar: [