vue-color-avatar/index.html

131 lines
3.1 KiB
HTML
Raw Normal View History

2021-10-16 10:29:32 +00:00
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2021-10-17 09:32:01 +00:00
<meta name="description" content="A pure front-end avatar generator." />
2021-12-03 13:13:58 +00:00
<meta property="og:title" content="Vue Color Avatar" />
<meta
property="og:description"
2021-12-10 16:40:19 +00:00
content="A front-end only avatar generator"
2021-12-03 13:13:58 +00:00
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://vue-color-avatar.vercel.app/" />
2021-12-11 10:26:38 +00:00
<meta property="og:image" content="https://i.imgur.com/FIJEI9V.png" />
2021-12-04 15:15:49 +00:00
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:domain" content="vue-color-avatar.vercel.app" />
<meta
property="twitter:url"
content="https://vue-color-avatar.vercel.app/"
/>
<meta name="twitter:title" content="Vue Color Avatar" />
2021-12-03 13:13:58 +00:00
<meta
2021-12-04 15:15:49 +00:00
name="twitter:description"
2021-12-10 16:40:19 +00:00
content="A front-end only avatar generator"
2021-12-03 13:13:58 +00:00
/>
2021-12-11 10:26:38 +00:00
<meta name="twitter:image" content="https://i.imgur.com/FIJEI9V.png" />
2021-12-03 13:13:58 +00:00
2021-10-16 10:29:32 +00:00
<title>Vue Color Avatar</title>
2021-10-17 09:32:01 +00:00
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-B4C9FN5DFR"
></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())
gtag('config', 'G-B4C9FN5DFR')
</script>
2021-10-16 10:29:32 +00:00
<style>
body {
margin: 0;
}
[v-cloak] {
position: relative;
width: 100vw;
height: 100vh;
background-color: hsl(216, 14%, 14%);
}
[v-cloak] .placeholder {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
@keyframes flip {
0% {
transform: rotateY(0);
}
25% {
transform: rotateY(180deg);
}
50% {
transform: rotateY(180deg) rotateX(180deg);
}
75% {
transform: rotateY(360deg) rotateX(180deg);
}
100% {
transform: rotateY(360deg) rotateX(360deg);
}
}
[v-cloak] .logo {
position: relative;
width: 3rem;
height: 3rem;
overflow: hidden;
background-color: hsl(241, 99%, 70%);
border-radius: 50%;
animation: 2s flip infinite;
}
[v-cloak] .logo::after {
position: absolute;
top: -40%;
right: -40%;
width: 100%;
height: 100%;
background-color: hsl(186, 84%, 74%);
border-radius: 50%;
content: '';
}
[v-cloak] .text {
margin-top: 2rem;
color: hsl(211, 19%, 70%);
font-weight: bold;
font-size: 1rem;
}
</style>
</head>
<body>
<div id="app" v-cloak>
<div class="placeholder">
<div class="logo"></div>
<div class="text">Coming soon...</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>