chore(sfc-playground): logo, responsive
This commit is contained in:
parent
4a24a6b0a2
commit
24a90abeda
@ -4,6 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="icon" type="image/png" href="/icon.png">
|
||||||
<title>Vue SFC Playground</title>
|
<title>Vue SFC Playground</title>
|
||||||
|
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
BIN
packages/sfc-playground/public/icon.png
Normal file
BIN
packages/sfc-playground/public/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
@ -1,12 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<nav>
|
<nav>
|
||||||
<h1>Vue SFC Playground</h1>
|
<h1>
|
||||||
|
<img alt="logo" src="/icon.png">
|
||||||
|
<span>Vue SFC Playground</span>
|
||||||
|
</h1>
|
||||||
<div class="links">
|
<div class="links">
|
||||||
<a class="commit-link" :href="`https://github.com/vuejs/vue-next/tree/${commit}`" target="_blank">
|
|
||||||
vue@{{ commit }}
|
|
||||||
</a>
|
|
||||||
<a class="commit-link" href="https://app.netlify.com/sites/vue-sfc-playground/deploys" target="_blank">
|
<a class="commit-link" href="https://app.netlify.com/sites/vue-sfc-playground/deploys" target="_blank">
|
||||||
History
|
@{{ commit }}
|
||||||
</a>
|
</a>
|
||||||
<button class="share" @click="copyLink">
|
<button class="share" @click="copyLink">
|
||||||
<svg width="1.4em" height="1.4em" viewBox="0 0 24 24">
|
<svg width="1.4em" height="1.4em" viewBox="0 0 24 24">
|
||||||
@ -66,6 +66,20 @@ h1 {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 img {
|
||||||
|
height: 24px;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 10px;
|
||||||
|
position: relative;
|
||||||
|
top: -2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width:400px) {
|
||||||
|
h1 span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.commit-link {
|
.commit-link {
|
||||||
color: var(--color-branding);
|
color: var(--color-branding);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -77,11 +91,13 @@ h1 {
|
|||||||
.share {
|
.share {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 6px;
|
top: 6px;
|
||||||
|
margin: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.download {
|
.download {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 8px;
|
top: 8px;
|
||||||
|
margin: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.commit-link {
|
.commit-link {
|
||||||
|
Loading…
Reference in New Issue
Block a user