Skip to content

Commit

Permalink
Правки дизайна и исправления
Browse files Browse the repository at this point in the history
  • Loading branch information
JoCat committed Feb 23, 2024
1 parent 60a4eb3 commit 09142f6
Show file tree
Hide file tree
Showing 23 changed files with 51 additions and 85 deletions.
2 changes: 1 addition & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="ts">
useHead({
titleTemplate: (titleChunk: string) => {
titleTemplate: (titleChunk?: string) => {
return titleChunk ? `${titleChunk} - Aurora Launcher` : "Aurora Launcher";
},
});
Expand Down
3 changes: 1 addition & 2 deletions components/Logo.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="logo">
<img class="img-fluid" src="/logo.png" alt="" />
<img class="img-fluid" src="/logo.svg" alt="" />
<span v-if="!hide" class="logo-text">Aurora Launcher</span>
</div>
</template>
Expand All @@ -18,7 +18,6 @@ defineProps<{
font-size: 22px
color: #fff
img
filter: contrast(0) brightness(2)
height: 50px
margin-right: 10px
.logo-text
Expand Down
4 changes: 2 additions & 2 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
@import 'modern-normalize/modern-normalize.css'
:root
--primary: rgb(170, 0, 228)
--primary-hover: rgb(122, 0, 166)
--primary: rgb(0, 128, 255)
--primary-hover: rgb(0, 96, 192)
--danger: #dc3545
html
Expand Down
26 changes: 8 additions & 18 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,40 +13,30 @@ export default defineNuxtConfig({
"Лаунчер с удобной кастомизацией дизайна для игровых проектов Minecraft",
},
// Icons
{ name: "msapplication-TileColor", content: "#2d89ef" },
{
name: "msapplication-config",
content: "/favicons/browserconfig.xml",
},
{ name: "theme-color", content: "#ffffff" },
{ name: "theme-color", content: "#0080FF" },
{ name: "og:image", content: "/logo.png" },
],
link: [
// Icons
{
rel: "apple-touch-icon",
sizes: "180x180",
href: "/favicons/apple-touch-icon.png",
},
{
rel: "icon",
type: "image/png",
sizes: "32x32",
href: "/favicons/favicon-32x32.png",
sizes: "any",
href: "/favicons/favicon.ico",
},
{
rel: "icon",
type: "image/png",
sizes: "16x16",
href: "/favicons/favicon-16x16.png",
type: "image/svg+xml",
href: "/favicons/icon.svg",
},
{ rel: "manifest", href: "/favicons/site.webmanifest" },
{ rel: "manifest", href: "/favicons/manifest.webmanifest" },
{
rel: "mask-icon",
href: "/favicons/safari-pinned-tab.svg",
color: "#5bbad5",
rel: "yandex-tableau-widget",
href: "/favicons/tableau.json",
},
{ rel: "shortcut icon", href: "/favicons/favicon.ico" },
],
// script: [
// { src: "https://jocat.ru/js/snow.min.js", tagPosition: "bodyClose" },
Expand Down
15 changes: 12 additions & 3 deletions pages/download.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
:key="i"
>
<div class="info">
<span>AuroraLauncher v{{ version.version }}</span>
<span>AuroraLauncher {{ version.version }}</span>
<span class="dash">–</span>
<span class="date"
>Дата релиза: {{ new Date(version.date).toLocaleString() }}</span
>
<span v-if="version.dev" class="dev">dev</span>
</div>
<div class="links">
<a
Expand Down Expand Up @@ -66,7 +67,6 @@ const { data: versionsData } = await useFetch<VersionsData>(
interface VersionsData {
stable: string;
latest: string;
dev: string;
versions: Version[];
}
Expand All @@ -75,8 +75,8 @@ interface Version {
version: string;
date: Date;
note: string;
dev: boolean;
files: Files;
_link: string;
}
interface Files {
Expand Down Expand Up @@ -146,4 +146,13 @@ h1 {
.text-center {
text-align: center;
}
.dev {
display: inline-block;
background-color: var(--danger);
color: #fff;
padding: 5px 10px;
border-radius: 5px;
margin-left: 10px;
}
</style>
Binary file removed public/favicons/android-chrome-192x192.png
Binary file not shown.
Binary file modified public/favicons/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.
9 changes: 0 additions & 9 deletions public/favicons/browserconfig.xml

This file was deleted.

Binary file removed public/favicons/favicon-16x16.png
Binary file not shown.
Binary file removed public/favicons/favicon-32x32.png
Binary file not shown.
Binary file modified public/favicons/favicon.ico
Binary file not shown.
Binary file added public/favicons/icon-192.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 public/favicons/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/favicons/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/favicons/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"icons": [
{
"src": "/favicons/icon-192.png",
"type": "image/png",
"sizes": "192x192"
},
{ "src": "/favicons/icon-512.png", "type": "image/png", "sizes": "512x512" }
]
}
Binary file removed public/favicons/mstile-150x150.png
Binary file not shown.
36 changes: 0 additions & 36 deletions public/favicons/safari-pinned-tab.svg

This file was deleted.

14 changes: 0 additions & 14 deletions public/favicons/site.webmanifest

This file was deleted.

8 changes: 8 additions & 0 deletions public/favicons/tableau.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"version": "1.0",
"api_version": 3,
"layout": {
"logo": "/tableau.png",
"color": "#003C8C"
}
}
Binary file added public/favicons/tableau.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 public/launcher.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 public/logo.png
Binary file not shown.
4 changes: 4 additions & 0 deletions public/logo.svg
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 09142f6

Please sign in to comment.