Skip to content

Commit

Permalink
adds msft mascot and msft cert team contact button in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ghthouse committed Dec 29, 2024
1 parent befe4f4 commit 1808d84
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .astro/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/// <reference types="astro/client" />
/// <reference path="integrations/_astrojs_starlight/i18n-plugins.d.ts" />
/// <reference path="content.d.ts" />
14 changes: 14 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import starlightImageZoom from 'starlight-image-zoom'
import partytown from '@astrojs/partytown'
import starlightCoolerCredit from 'starlight-cooler-credit'

const site = 'https://certs.msfthub.wiki/';

Expand All @@ -27,6 +28,19 @@ export default defineConfig({
}),
starlight({
plugins: [
starlightCoolerCredit({
showImage: true,
customImage: "./src/assets/mascot.png",
credit: {
title: {
en: "Have any exam feedback?",
},
href: "https://discord.gg/y7jXDE6NVf",
description: {
en: "Get in contact with the MSFT Cert team in our Discord.",
},
},
}),
starlightImageZoom(),
/*
starlightBlog({
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@astrojs/starlight": "^0.30.3",
"astro": "^5.1.1",
"sharp": "^0.33.4",
"starlight-cooler-credit": "^0.2.2",
"starlight-image-zoom": "^0.8.0"
},
"devDependencies": {
Expand Down
19 changes: 19 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added src/assets/mascot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1808d84

Please sign in to comment.