Skip to content

Commit cf18589

Browse files
Merge pull request certinia#717 from lukecotter/chore-docs-favicon
2 parents dc8824a + 17f3028 commit cf18589

6 files changed

Lines changed: 26 additions & 9 deletions

File tree

lana-docs-site/docusaurus.config.ts

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,29 @@ const config: Config = {
3535
defaultLocale: 'en',
3636
locales: ['en'],
3737
},
38-
favicon: `${siteUrl}/favicon.svg`,
38+
favicon: `${siteUrl}/favicon-192x192.png`,
3939
// Enhanced head tags for better search engine recognition
4040
// Multiple favicon formats for better compatibility
41+
// Google requires favicons to be at least 48x48 pixels
4142
headTags: [
43+
{
44+
tagName: 'link',
45+
attributes: {
46+
rel: 'icon',
47+
type: 'image/png',
48+
sizes: '192x192',
49+
href: `${siteUrl}/favicon-192x192.png`,
50+
},
51+
},
52+
{
53+
tagName: 'link',
54+
attributes: {
55+
rel: 'icon',
56+
type: 'image/png',
57+
sizes: '48x48',
58+
href: `${siteUrl}/favicon-48x48.png`,
59+
},
60+
},
4261
{
4362
tagName: 'link',
4463
attributes: {
@@ -52,13 +71,13 @@ const config: Config = {
5271
attributes: {
5372
rel: 'icon',
5473
type: 'image/x-icon',
55-
href: `${siteUrl}/favicon.ico`, // fallback for older browsers
74+
href: `${siteUrl}/favicon.ico`,
5675
},
5776
},
5877
{
5978
tagName: 'link',
6079
attributes: {
61-
rel: 'apple-touch-icon', // Apple touch icon for better mobile display
80+
rel: 'apple-touch-icon',
6281
sizes: '180x180',
6382
href: `${siteUrl}/favicon.png`,
6483
},
@@ -100,11 +119,10 @@ const config: Config = {
100119
{ name: 'author', content: 'Certinia' },
101120
],
102121
navbar: {
103-
title: 'Apex Log Analyzer for Salesforce',
122+
title: 'Apex Log Analyzer',
104123
logo: {
105-
alt: 'Certinia Logo',
106-
src: 'img/logo.svg',
107-
srcDark: 'img/logo-dark.svg',
124+
alt: 'Apex Log Analyzer',
125+
src: 'favicon.svg',
108126
},
109127
items: [
110128
{
7.77 KB
Loading
1.61 KB
Loading
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
google-site-verification: googleb9f5146043e1439a.html

lana-docs-site/static/img/logo-dark.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

lana-docs-site/static/img/logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)