Skip to content

Commit 23cf5a3

Browse files
committed
feat: add deer emoji
1 parent f19cd8c commit 23cf5a3

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

Diff for: .github/workflows/gh-pages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: GitHub Pages
22

3-
on: push
3+
on:
44
push:
55
branches:
66
- main

Diff for: src/.vitepress/config.js

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
1+
function svgDataHref(emoji) {
2+
const svg = `\
3+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
4+
<text y=".9em" font-size="90">${emoji}</text>
5+
</svg>
6+
`
7+
return "data:image/svg+xml," + encodeURIComponent(svg);
8+
}
29
/**
310
* ref: https://vitepress.vuejs.org/config/introduction.html
411
*
@@ -7,7 +14,10 @@
714
const config = {
815
lang: "en-US",
916
title: "HMS Bambi",
10-
description: "A collection of Harvard Medical School scientists interested in applying our technical skills to support local minority-owned/serving organizations."
17+
description: "A collection of Harvard Medical School scientists interested in applying our technical skills to support local minority-owned/serving organizations.",
18+
head: [
19+
["link", { rel: "icon", href: svgDataHref('🦌') }]
20+
]
1121
}
1222

1323
export default config;

0 commit comments

Comments
 (0)