workflow: include commit link in template explorer
This commit is contained in:
@@ -11,6 +11,14 @@ const App = {
|
||||
setup() {
|
||||
return () => [
|
||||
h('h1', `Vue 3 Template Explorer`),
|
||||
h(
|
||||
'a',
|
||||
{
|
||||
href: `https://github.com/vuejs/vue-next/tree/${__COMMIT__}`,
|
||||
target: `_blank`
|
||||
},
|
||||
`@${__COMMIT__}`
|
||||
),
|
||||
h('div', { id: 'options' }, [
|
||||
// mode selection
|
||||
h('span', { class: 'options-group' }, [
|
||||
|
||||
@@ -19,6 +19,7 @@ body {
|
||||
h1 {
|
||||
font-size: 18px;
|
||||
display: inline-block;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
#options {
|
||||
@@ -30,10 +31,15 @@ h1 {
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
#header span, #header label, #header input {
|
||||
#header span, #header label, #header input, #header a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#header a {
|
||||
font-weight: 600;
|
||||
color: rgb(101, 163, 221);
|
||||
}
|
||||
|
||||
#header .label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user