File tree Expand file tree Collapse file tree 3 files changed +22
-5
lines changed Expand file tree Collapse file tree 3 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 4
4
< meta charset ="UTF-8 ">
5
5
< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
+ < link rel ="icon " type ="image/png " href ="/icon.png ">
7
8
< title > Vue SFC Playground</ title >
8
9
9
10
< link rel ="preconnect " href ="https://fonts.gstatic.com ">
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<nav >
3
- <h1 >Vue SFC Playground</h1 >
3
+ <h1 >
4
+ <img alt =" logo" src =" /icon.png" >
5
+ <span >Vue SFC Playground</span >
6
+ </h1 >
4
7
<div class =" links" >
5
- <a class =" commit-link" :href =" `https://github.com/vuejs/vue-next/tree/${commit}`" target =" _blank" >
6
- vue@{{ commit }}
7
- </a >
8
8
<a class =" commit-link" href =" https://app.netlify.com/sites/vue-sfc-playground/deploys" target =" _blank" >
9
- History
9
+ @{{ commit }}
10
10
</a >
11
11
<button class =" share" @click =" copyLink" >
12
12
<svg width =" 1.4em" height =" 1.4em" viewBox =" 0 0 24 24" >
66
66
vertical-align : middle ;
67
67
}
68
68
69
+ h1 img {
70
+ height : 24px ;
71
+ vertical-align : middle ;
72
+ margin-right : 10px ;
73
+ position : relative ;
74
+ top : -2px ;
75
+ }
76
+
77
+ @media (max-width :400px ) {
78
+ h1 span {
79
+ display : none ;
80
+ }
81
+ }
82
+
69
83
.commit-link {
70
84
color : var (--color-branding );
71
85
text-decoration : none ;
77
91
.share {
78
92
position : relative ;
79
93
top : 6px ;
94
+ margin : 0 2px ;
80
95
}
81
96
82
97
.download {
83
98
position : relative ;
84
99
top : 8px ;
100
+ margin : 0 2px ;
85
101
}
86
102
87
103
.commit-link {
You can’t perform that action at this time.
0 commit comments