Skip to content

Commit

Permalink
Add new icon
Browse files Browse the repository at this point in the history
  • Loading branch information
lorgan3 committed Aug 17, 2023
1 parent fe90464 commit aac0ba2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file modified src/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 14 additions & 3 deletions src/components/MainMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { getAssets } from "../renderers/pixiRenderer/assets";
import { Settings as ISettings } from "../util/localStorage/settings";
import { getWord } from "../util/word";
import { logEvent } from "../util/firebase";
import logo from "../assets/logo.png";
const props = defineProps<{
onPlay: (
Expand Down Expand Up @@ -103,7 +104,9 @@ const loadSave = (event: Event) => {

<template>
<div class="wrapper">
<h1>Open Tower Defense 🗼</h1>
<h1 class="main-title">
<img :src="logo" alt="Open Tower Defense" /> Open Tower Defense
</h1>

<div class="menu">
<div class="menu-main">
Expand Down Expand Up @@ -201,11 +204,19 @@ const loadSave = (event: Event) => {
flex-direction: column;
align-items: center;
h1 {
.main-title {
text-align: center;
color: #fff;
font-size: 84px;
margin: 10vh 0;
margin: 1vh 0;
display: flex;
flex-direction: column;
align-items: center;
img {
width: 2em;
image-rendering: pixelated;
}
}
label {
Expand Down

0 comments on commit aac0ba2

Please sign in to comment.