Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit

Permalink
feat: 栃木県のロゴに置換
Browse files Browse the repository at this point in the history
  • Loading branch information
origamium committed Apr 5, 2020
1 parent 1f46bb4 commit cc86b7a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 32 deletions.
4 changes: 2 additions & 2 deletions components/NoScript.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
}
</style>
<div class="noscript-heading">
<img src="/logo.svg" :alt="$t('東京都')" />
{{ $t('新型コロナウイルス感染症') }}<br />{{ $t('対策サイト') }}
<img src="/logo.gif" :alt="$t('栃木県')" />
{{ $t('新型コロナウイルス感染症') }}<br />{{ $t('非公式対策サイト') }}
</div>
<div class="noscript-body">
{{ $t('当サイトではJavaScriptを使用しております。') }}<br />
Expand Down
30 changes: 4 additions & 26 deletions components/SideNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<nuxt-link :to="localePath('/')" class="SideNavigation-HeaderLink">
<img
class="SideNavigation-HeaderLogo"
src="/logo.svg"
:alt="$t('東京都')"
src="/logo.gif"
:alt="$t('栃木県')"
/>
<div class="SideNavigation-HeaderText">
{{ $t('menu/新型コロナウイルス感染症') }}<br />{{
Expand Down Expand Up @@ -51,18 +51,7 @@
<footer class="SideNavigation-Footer">
<div class="SideNavigation-Social">
<a
href="https://line.me/R/ti/p/%40822sysfc"
target="_blank"
rel="noopener noreferrer"
class="SideNavigation-SocialLink"
>
<picture>
<source srcset="/line.webp" type="image/webp" />
<img src="/line.png" alt="LINE" />
</picture>
</a>
<a
href="https://twitter.com/tokyo_bousai"
href="https://twitter.com/pref_tochigi"
target="_blank"
rel="noopener noreferrer"
class="SideNavigation-SocialLink"
Expand All @@ -73,18 +62,7 @@
</picture>
</a>
<a
href="https://www.facebook.com/tochokoho"
target="_blank"
rel="noopener noreferrer"
class="SideNavigation-SocialLink"
>
<picture>
<source srcset="/facebook.webp" type="image/webp" />
<img src="/facebook.png" alt="Facebook" />
</picture>
</a>
<a
href="https://github.com/tokyo-metropolitan-gov/covid19"
href="https://github.com/origamium/covid19"
target="_blank"
rel="noopener noreferrer"
class="SideNavigation-SocialLink"
Expand Down
4 changes: 2 additions & 2 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-app class="app">
<v-overlay v-if="loading" color="#F8F9FA" opacity="1" z-index="9999">
<div class="loader">
<img src="/logo.svg" alt="東京都" />
<img src="/logo.gif" alt="栃木県" />
<scale-loader color="#00A040" />
</div>
</v-overlay>
Expand Down Expand Up @@ -34,8 +34,8 @@
<script lang="ts">
import Vue from 'vue'
import { MetaInfo } from 'vue-meta'
import Data from '@/data/data.json'
import ScaleLoader from 'vue-spinner/src/ScaleLoader.vue'
import Data from '@/data/data.json'
import SideNavigation from '@/components/SideNavigation.vue'
import NoScript from '@/components/NoScript.vue'
import DevelopmentModeMark from '@/components/DevelopmentModeMark.vue'
Expand Down
4 changes: 2 additions & 2 deletions layouts/print.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<template>
<v-app class="app-print">
<div v-if="loading" class="loader">
<img src="/logo.svg" :alt="$t('東京都')" />
<img src="/logo.gif" :alt="$t('栃木県')" />
<scale-loader color="#00A040" />
</div>
<div v-else class="print-container">
<div class="PrintMeta">
<div class="PrintMeta-HeadingWrapper">
<div class="PrintMeta-Logo">
<img src="/logo.svg" :alt="$t('東京都')" />
<img src="/logo.gif" :alt="$t('栃木県')" />
</div>
<h1 class="PrintMeta-Heading">
{{ $t('新型コロナウイルス感染症') }}
Expand Down
Binary file added static/logo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cc86b7a

Please sign in to comment.