Skip to content

Commit

Permalink
style: rebranch with newly designed logo (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww authored Mar 4, 2025
1 parent f52b8d8 commit 31ec4cc
Show file tree
Hide file tree
Showing 14 changed files with 215 additions and 17 deletions.
3 changes: 1 addition & 2 deletions apps/stage-web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
<meta charset="UTF-8" />
<title>アイリ</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" sizes="any" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="アイリ" />
Expand Down
Binary file modified apps/stage-web/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/stage-web/public/favicon-96x96.png
Binary file not shown.
Binary file modified apps/stage-web/public/favicon.ico
Binary file not shown.
69 changes: 61 additions & 8 deletions apps/stage-web/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/stage-web/public/maskable_icon_x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/stage-web/public/maskable_icon_x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/stage-web/public/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/stage-web/public/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions apps/stage-web/src/assets/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions apps/stage-web/src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion apps/stage-web/src/components/Layouts/Header.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<script setup lang="ts">
import { useDark } from '@vueuse/core'
import LogoDark from '../../assets/logo-dark.svg'
import Logo from '../../assets/logo.svg'
import DesktopSettings from '../Widgets/DesktopSettings.vue'
const dark = useDark()
</script>

<template>
Expand All @@ -8,7 +14,12 @@ import DesktopSettings from '../Widgets/DesktopSettings.vue'
href="https://github.com/moeru-ai/airi" rel="noreferrer noopener" target="_blank" flex="~ 1" w-full items-center
gap-2 px-2 text-nowrap text-2xl outline-none
>
<div i-solar:cat-outline text="[#ed869d]" />
<template v-if="dark">
<img :src="LogoDark" h-8 w-8>
</template>
<template v-else>
<img :src="Logo" h-8 w-8>
</template>
<div font-cute>
<span>アイリ</span>
</div>
Expand Down
2 changes: 0 additions & 2 deletions apps/stage-web/src/constants/index.ts

This file was deleted.

25 changes: 21 additions & 4 deletions apps/stage-web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import VueDevTools from 'vite-plugin-vue-devtools'
import Layouts from 'vite-plugin-vue-layouts'

import { exists } from '../../scripts/fs'
import { appName } from './src/constants'

export default defineConfig({
optimizeDeps: {
Expand Down Expand Up @@ -97,10 +96,28 @@ export default defineConfig({
registerType: 'autoUpdate',
includeAssets: ['favicon.svg', 'apple-touch-icon.png'],
manifest: {
name: appName,
short_name: appName,
theme_color: '#ffffff',
name: 'Airi',
short_name: 'Airi',
theme_color: '#ffc6cb',
icons: [
{
purpose: 'maskable',
sizes: '192x192',
src: '/maskable_icon_x192.png',
type: 'image/png',
},
{
purpose: 'maskable',
sizes: '512x512',
src: '/maskable_icon_x512.png',
type: 'image/png',
},
{
purpose: 'maskable',
sizes: '1024x1024',
src: '/maskable_icon.png',
type: 'image/png',
},
{
src: '/web-app-manifest-192x192.png',
sizes: '192x192',
Expand Down

0 comments on commit 31ec4cc

Please sign in to comment.