mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Move WebConfigGenerator to /docs in master branch
This commit is contained in:
87
docs/WebConfigGenerator/src/App.vue
Normal file
87
docs/WebConfigGenerator/src/App.vue
Normal file
@@ -0,0 +1,87 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<div class="head">
|
||||
<a href="#" class="logo">
|
||||
<img src="static/logo.png" alt="asf logo">
|
||||
</a>
|
||||
<h1 class="text-center" v-html="$t('app.name')"></h1>
|
||||
</div>
|
||||
<div class="menu">
|
||||
<ul>
|
||||
<li><a href="#" :class="{ active: $route.path === '/' }" v-html="$t('link.home')"></a></li>
|
||||
<li><a href="#asf" :class="{ active: $route.path === '/asf' }" v-html="$t('link.asf')"></a></li>
|
||||
<li><a href="#bot" :class="{ active: $route.path === '/bot' }" v-html="$t('link.bot')"></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<router-view></router-view>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'app',
|
||||
data() {
|
||||
return {}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import 'assets/kube-6.5.2/css/kube.css';
|
||||
|
||||
#wrapper {
|
||||
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
|
||||
margin: auto;
|
||||
max-width: 1128px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 35px;
|
||||
}
|
||||
|
||||
.head {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
img {
|
||||
height: 128px;
|
||||
}
|
||||
}
|
||||
|
||||
.menu {
|
||||
display: flex;
|
||||
font-size: 1.3rem;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
|
||||
ul {
|
||||
margin: 0 auto;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #255bbd;
|
||||
|
||||
&:hover, &.active {
|
||||
color: #f03c69;
|
||||
}
|
||||
}
|
||||
|
||||
.logo {
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user