From: wxsm Date: Sun, 12 Dec 2021 02:01:48 +0000 (+0800) Subject: feat(sfc-playground): add github link (#5067) X-Git-Tag: v3.2.25~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ac0ddea4beec1a1c4471463d3476ccd019bd84e;p=thirdparty%2Fvuejs%2Fcore.git feat(sfc-playground): add github link (#5067) --- diff --git a/packages/sfc-playground/src/Header.vue b/packages/sfc-playground/src/Header.vue index 44b1d46f23..69311c4b66 100644 --- a/packages/sfc-playground/src/Header.vue +++ b/packages/sfc-playground/src/Header.vue @@ -5,6 +5,7 @@ import Sun from './icons/Sun.vue' import Moon from './icons/Moon.vue' import Share from './icons/Share.vue' import Download from './icons/Download.vue' +import GitHub from './icons/GitHub.vue' // @ts-ignore const { store } = defineProps(['store']) @@ -125,6 +126,17 @@ async function fetchVersions(): Promise { > + @@ -272,7 +284,8 @@ h1 img { } .share, -.download { +.download, +.github { margin: 0 2px; } diff --git a/packages/sfc-playground/src/icons/GitHub.vue b/packages/sfc-playground/src/icons/GitHub.vue new file mode 100644 index 0000000000..a20522f1e0 --- /dev/null +++ b/packages/sfc-playground/src/icons/GitHub.vue @@ -0,0 +1,7 @@ +