diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 2449a569..aa5d7606 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -6,28 +6,21 @@ export default defineConfig({ description: "COCONUT: the COlleCtion of Open NatUral producTs", base: '/coconut/', themeConfig: { - // https://vitepress.dev/reference/default-theme-config logo: '/logo.png', siteTitle: '', head: [ - ['link', { rel: "apple-touch-icon", sizes: "180x180", href: "/assets/favicons/apple-touch-icon.png"}], - ['link', { rel: "icon", type: "image/png", sizes: "32x32", href: "/assets/favicons/favicon-32x32.png"}], - ['link', { rel: "icon", type: "image/png", sizes: "16x16", href: "/assets/favicons/favicon-16x16.png"}], - ['link', { rel: "manifest", href: "/assets/favicons/site.webmanifest"}], - ['link', { rel: "mask-icon", href: "/assets/favicons/safari-pinned-tab.svg", color: "#3a0839"}], - ['link', { rel: "shortcut icon", href: "/assets/favicons/favicon.ico"}], - ['meta', { name: "msapplication-TileColor", content: "#3a0839"}], - ['meta', { name: "msapplication-config", content: "/assets/favicons/browserconfig.xml"}], + ['link', { rel: "manifest", href: "/coconut/site.webmanifest"}], + ['link', { rel: "icon", href: "/coconut/favicon.ico"}], ['meta', { name: "theme-color", content: "#ffffff"}], ], nav: [ { text: 'Home', link: '/introduction' }, // { text: 'API', link: 'https://coconut.cheminf.studio/api-documentation' }, - { text: 'About', link: 'https://coconut.cheminf.studio/about' }, - { text: 'Download', link: 'https://coconut.cheminf.studio/download' } + { text: 'About', link: 'https://coconut.naturalproducts.net/about' }, + { text: 'Download', link: 'https://coconut.naturalproducts.net/download' } ], sidebar: [ diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css new file mode 100644 index 00000000..d11df640 --- /dev/null +++ b/docs/.vitepress/theme/custom.css @@ -0,0 +1,4 @@ +.logo { + margin-right: 0px !important; + margin-left: 0px !important; +} \ No newline at end of file diff --git a/docs/.vitepress/theme/index.js b/docs/.vitepress/theme/index.js new file mode 100644 index 00000000..bed9095c --- /dev/null +++ b/docs/.vitepress/theme/index.js @@ -0,0 +1,5 @@ +// .vitepress/theme/index.js +import DefaultTheme from 'vitepress/theme' +import './custom.css' + +export default DefaultTheme \ No newline at end of file diff --git a/docs/public/apple-touch-icon.png b/docs/public/apple-touch-icon.png new file mode 100644 index 00000000..c45cdc40 Binary files /dev/null and b/docs/public/apple-touch-icon.png differ diff --git a/docs/public/favicon-96x96.png b/docs/public/favicon-96x96.png new file mode 100644 index 00000000..c1e11242 Binary files /dev/null and b/docs/public/favicon-96x96.png differ diff --git a/docs/public/favicon.ico b/docs/public/favicon.ico new file mode 100644 index 00000000..e9da5e22 Binary files /dev/null and b/docs/public/favicon.ico differ diff --git a/docs/public/favicon.svg b/docs/public/favicon.svg new file mode 100644 index 00000000..cdda6afa --- /dev/null +++ b/docs/public/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/public/site.webmanifest b/docs/public/site.webmanifest new file mode 100644 index 00000000..f327fe43 --- /dev/null +++ b/docs/public/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "COCONUT", + "short_name": "CNP", + "icons": [ + { + "src": "/coconut/web-app-manifest-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/coconut/web-app-manifest-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file diff --git a/docs/public/web-app-manifest-192x192.png b/docs/public/web-app-manifest-192x192.png new file mode 100644 index 00000000..94df386a Binary files /dev/null and b/docs/public/web-app-manifest-192x192.png differ diff --git a/docs/public/web-app-manifest-512x512.png b/docs/public/web-app-manifest-512x512.png new file mode 100644 index 00000000..c210c895 Binary files /dev/null and b/docs/public/web-app-manifest-512x512.png differ