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