generated from nhcarrigan/template
feat: align styles with other sites (#46)
Reviewed-on: https://codeberg.org/nhcarrigan/docs/pulls/46 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
@ -8,6 +8,8 @@ export default defineConfig({
|
||||
integrations: [starlight({
|
||||
components: {
|
||||
Footer: "./src/components/Footer.astro",
|
||||
ThemeSelect: "./src/components/ThemeSelect.astro",
|
||||
ThemeProvider: "./src/components/ThemeProvider.astro",
|
||||
},
|
||||
title: "Naomi's Documentation",
|
||||
sidebar: navigation,
|
||||
@ -31,7 +33,7 @@ export default defineConfig({
|
||||
id: "hs-script-loader",
|
||||
async: true,
|
||||
defer: true,
|
||||
src: "//js.hs-scripts.com/47086586.js"
|
||||
src: "https://js.hs-scripts.com/47086586.js"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -41,17 +43,13 @@ export default defineConfig({
|
||||
id: "analytics",
|
||||
src: "https://analytics.nhcarrigan.com/js/script.file-downloads.outbound-links.js",
|
||||
defer: true,
|
||||
"data-domain": "docs.nhcarrigan.com"
|
||||
"data-domain": "nhcarrigan.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
tag: "script",
|
||||
content: "window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }"
|
||||
},
|
||||
{
|
||||
tag: "script",
|
||||
content: `window.$crisp=[];window.CRISP_WEBSITE_ID="5398ce41-4ceb-4e31-9049-4c784a70179a";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();`
|
||||
},
|
||||
{
|
||||
tag: "script",
|
||||
attrs: {
|
||||
@ -65,6 +63,6 @@ export default defineConfig({
|
||||
customCss: [
|
||||
"./src/styles/style.css",
|
||||
"./src/fonts/font-face.css"
|
||||
]
|
||||
],
|
||||
})]
|
||||
});
|
||||
|
Reference in New Issue
Block a user