add mobile logo
This commit is contained in:
parent
27c8d28c23
commit
6c871264b8
@ -4,7 +4,9 @@
|
||||
<pre><span class="host">{{group.host}}</span><span
|
||||
v-if="index !== history.length-1">{{group.command}}</span><input
|
||||
v-else v-model="group.command" ref="consoleInput" type="text" autocomplete="off"></pre>
|
||||
<pre><span v-for="output in group.output" :key="output" :class="output.color">{{output.content}}</span></pre>
|
||||
<pre><span v-for="output in group.output" :key="output" :class="output.color">{{
|
||||
typeof output.content === "function"?output.content(group.command):
|
||||
output.content}}</span></pre>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -24,7 +24,24 @@ let commands = [
|
||||
{color: "white", content: "\nWelcome to:\n", delay: 100},
|
||||
{
|
||||
color: "green",
|
||||
content:
|
||||
content(){
|
||||
let fontSize = window.getComputedStyle(document.body,null).fontSize.split("px")[0];
|
||||
return window.innerWidth/fontSize<35?
|
||||
" __ \n" +
|
||||
" /\\ \\ \n" +
|
||||
" ____ __ \\_\\ \\____ _____ ____ \n" +
|
||||
" / ___\\\\ \\/\\ \\\\ __ \\\\ __\\/ __ \\ \n" +
|
||||
"/\\ \\__/ \\ \\_\\ \\\\ \\_\\ \\\\ \\_/\\ __/ \n" +
|
||||
"\\ \\____\\ \\____ \\\\____/ \\_\\\\ \\____\\\n" +
|
||||
" \\/____/\\/___/\\ \\___/ \\/_/ \\/____/\n" +
|
||||
" __ /\\___/ \n" +
|
||||
" /\\ \\__ \\/__/ @adb.sh\n" +
|
||||
" \\ \\ _\\ ____ __ __ __ ______\n" +
|
||||
" \\ \\ \\/ / __ \\\\ \\/\\ \\/\\ \\\\ __ \\\n" +
|
||||
" __\\ \\ \\_\\ \\_\\ \\\\ \\/ \\/ / \\ \\/\\ \\\n" +
|
||||
" /\\_\\\\ \\__\\\\____/ \\__/\\__/ \\ \\_\\ \\_\\\n" +
|
||||
" \\/_/ \\/__//___/ \\/_/\\/_/ \\/_/\\/_/\n\n"
|
||||
:
|
||||
" __ __\n" +
|
||||
" /\\ \\ /\\ \\__\n" +
|
||||
" ____ __ \\_\\ \\____ _____ ____ \\ \\ _\\ ____ __ __ __ ______\n" +
|
||||
@ -33,7 +50,8 @@ let commands = [
|
||||
"\\ \\____\\ \\____ \\\\____/ \\_\\\\ \\____\\/\\_\\\\ \\__\\\\____/ \\__/\\__/ \\ \\_\\ \\_\\\n" +
|
||||
" \\/____/\\/___/\\ \\___/ \\/_/ \\/____/\\/_/ \\/__//___/ \\/_/\\/_/ \\/_/\\/_/\n" +
|
||||
" /\\___/\n" +
|
||||
" \\/__/ @adb.sh\n\n",
|
||||
" \\/__/ @adb.sh\n\n";
|
||||
},
|
||||
delay: 300
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user