feat(web): new logo

This commit is contained in:
ThaUnknown 2024-02-18 17:20:49 +01:00
parent 6a5347dfd2
commit d0593e8907
13 changed files with 85 additions and 13 deletions

7
.gitignore vendored
View file

@ -2,8 +2,10 @@
.DS_Store
# Build output
dist/
build/
**/dist/
**/build/
**/public/
**/android/
# Dependencies
node_modules
@ -12,5 +14,6 @@ node_modules
**/*.keystore
**/*.jks
**/node_modules
**/git_modules/
package-lock.json

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="39.147381mm"
height="39.147381mm"
viewBox="0 0 39.147381 39.14738"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<g aria-label="みる" transform="translate(-57.126038,-41.052238)" style="fill:#e5204c">
<path d="m 76.79068,62.020505 -0.733118,1.300869 q -0.865408,-0.479558 -1.802475,-0.903994 -0.799263,1.631599 -1.956817,3.158467 l -1.25126,-0.76619 q 1.113456,-1.394576 1.841061,-2.954517 -0.942579,-0.374827 -2.067059,-0.600825 -0.777214,1.774915 -1.389064,2.359203 -0.61185,0.578777 -1.273309,0.578777 -0.744141,0 -1.273308,-0.529167 -0.529167,-0.529167 -0.529167,-1.30087 0,-0.981164 0.964627,-1.785939 0.97014,-0.810287 2.574178,-0.859897 0.474046,-1.063846 0.881946,-2.166278 -1.510332,0.4079 -2.508032,0.529167 l -0.369315,-1.350478 q 1.670184,-0.198438 4.018363,-0.959116 l 0.617362,1.12448 q -0.01102,0.115756 -1.141017,2.971054 0.986677,0.209462 2.011938,0.600825 0.314193,-1.113456 0.48507,-2.585202 l 1.422137,0.28112 q -0.181901,1.515843 -0.551216,2.844273 1.129993,0.518143 2.028475,1.014238 z m -7.573706,-0.788239 q -0.650435,0.132292 -1.025262,0.512631 -0.369314,0.374826 -0.369314,0.677995 0,0.319705 0.314193,0.319705 0.159852,0 0.474045,-0.380339 0.319706,-0.380339 0.606338,-1.129992 z" />
<path d="m 83.118637,59.325059 q 0.48507,-0.115755 0.942579,-0.115755 1.367016,0 2.171791,0.926042 0.810287,0.920531 0.810287,2.171791 0,1.394576 -1.063846,2.287546 -1.058335,0.887457 -2.689934,0.887457 -1.27882,0 -2.039498,-0.617362 -0.755166,-0.617361 -0.755166,-1.488282 0,-0.749654 0.545704,-1.25126 0.551215,-0.501607 1.295357,-0.501607 1.433161,0 2.37574,2.033987 0.837848,-0.396876 0.837848,-1.284333 0,-1.769403 -1.934767,-1.769403 -1.069359,0 -1.934768,0.474045 -0.865409,0.474046 -2.149742,1.890671 l -1.096919,-1.080383 q 2.596226,-2.463935 4.497921,-4.503434 -1.58199,0.159853 -2.745055,0.132292 l -0.28112,-1.477258 q 0.424436,0.02205 0.865409,0.02205 1.741842,0 4.056948,-0.385851 l 0.68902,1.152041 q -0.9977,1.074871 -2.397789,2.497008 z m 0.170877,4.718408 q -0.474045,-0.992189 -0.953603,-0.992189 -0.35829,0 -0.35829,0.308681 0,0.259071 0.336241,0.474046 0.341754,0.209462 0.975652,0.209462 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -1,6 +1,6 @@
{
"name": "Miru",
"version": "4.5.10",
"version": "4.5.11",
"private": true,
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
"description": "Stream anime torrents, real-time with no waiting for downloads.",

View file

@ -5,7 +5,23 @@ export function onRequest ({ params }) {
try {
const id = Number(params.id)
if (Number.isSafeInteger(id)) {
const html = /* html */`<!DOCTYPE html><html style=background:#000><head><meta http-equiv=refresh content="5; url=https://miru.watch"><meta property="og:title" content="Anime"><meta property="og:description" content="Stream anime torrents, real-time with no waiting for downloads"><meta property="og:site_name" content="Miru"><meta property="og:image" content=https://github.com/ThaUnknown/miru/blob/master/docs/show.gif?raw=true><meta property="og:url" content=miru://anime/${id}><meta data-vmid="twitter:card" name="twitter:card" content="summary_large_image"><meta name="theme-color" content="#23a559"></head><body><iframe src=miru://anime/${id} style=border:none></iframe>Redirecting...</body></html>`
const html = /* html */`
<!DOCTYPE html>
<html style=background:#000>
<head>
<meta http-equiv=refresh content="5; url=https://miru.watch">
<meta property="og:title" content="Anime">
<meta property="og:description" content="Stream anime torrents, real-time with no waiting for downloads">
<meta property="og:site_name" content="Miru">
<meta property="og:image" content=https://miru.watch/app_original.png>
<meta property="og:url" content=miru://anime/${id}>
<meta data-vmid="twitter:card" name="twitter:card" content="summary_large_image">
<meta name="theme-color" content="#17191C">
</head>
<body>
<iframe src=miru://anime/${id} style=border:none></iframe>Redirecting...
</body>
</html>`
return new Response(html, {
headers: {
@ -13,8 +29,6 @@ export function onRequest ({ params }) {
}
})
}
} catch (e) {
return Response.redirect('https://miru.watch/')
}
} catch (e) {}
return Response.redirect('https://miru.watch/')
}

View file

@ -4,7 +4,23 @@
export function onRequest ({ params }) {
try {
const id = params.id
const html = /* html */`<!DOCTYPE html><html style=background:#000><head><meta http-equiv=refresh content="5; url=https://miru.watch"><meta property="og:title" content="Watch Together"><meta property="og:description" content="Stream anime torrents, real-time with no waiting for downloads"><meta property="og:site_name" content="Miru"><meta property="og:image" content=https://github.com/ThaUnknown/miru/blob/master/docs/show.gif?raw=true><meta property="og:url" content=miru://w2g/${id}><meta data-vmid="twitter:card" name="twitter:card" content="summary_large_image"><meta name="theme-color" content="#23a559"></head><body><iframe src=miru://w2g/${id} style=border:none></iframe>Redirecting...</body></html>`
const html = /* html */`
<!DOCTYPE html>
<html style=background:#000>
<head>
<meta http-equiv=refresh content="5; url=https://miru.watch">
<meta property="og:title" content="Watch Together">
<meta property="og:description" content="Stream anime torrents, real-time with no waiting for downloads">
<meta property="og:site_name" content="Miru">
<meta property="og:image" content=https://miru.watch/app_original.png>
<meta property="og:url" content=miru://w2g/${id}>
<meta data-vmid="twitter:card" name="twitter:card" content="summary_large_image">
<meta name="theme-color" content="#17191C">
</head>
<body>
<iframe src=miru://w2g/${id} style=border:none></iframe>Redirecting...
</body>
</html>`
return new Response(html, {
headers: {

View file

@ -27,8 +27,8 @@
<meta property="og:description" content="Stream anime torrents, real-time with no waiting for downloads." />
<link rel="icon" href="%sveltekit.assets%/logo.ico" />
<link rel="fluid-icon" href="%sveltekit.assets%/logo.ico" title="Miru">
<link rel="icon" href="%sveltekit.assets%/logo_filled.png" type="image/png" />
<link rel="fluid-icon" href="%sveltekit.assets%/logo_safe.png" type="image/png" title="Miru">
<title>Miru | Torrenting Made Simple</title>
%sveltekit.head%

View file

@ -8,7 +8,7 @@
<div class='row px-20 px-sm-0 mb-20 content'>
<div class='col-12 col-md-4 pt-20 mb-20 text-md-left'>
<a href='/'>
<img src='/logo.ico' alt='logo' class='w-50 h-50' />
<img src='/logo_filled.svg' alt='logo' class='w-50 h-50 p-5' />
</a>
<br />
© 2020 - {new Date().getFullYear()}, ThaUnknown

View file

@ -1,7 +1,7 @@
<nav class='navbar flex-column bg-transparent border-0 d-flex'>
<div class='container p-0'>
<a href='/' class='navbar-brand ml-20'>
<img src='/logo.ico' alt='Logo' />
<img src='/logo_filled.svg' alt='Logo' class='p-10' />
</a>
<ul class='navbar-nav d-flex ml-auto'>
<li class='nav-item mr-10'>

BIN
web/static/logo_filled.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="39.147381mm"
height="39.147381mm"
viewBox="0 0 39.147381 39.14738"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<g aria-label="みる" transform="matrix(1.8923544,0,0,1.8923544,-125.56938,-95.152054)" style="fill:#e5204c">
<path d="m 76.79068,62.020505 -0.733118,1.300869 q -0.865408,-0.479558 -1.802475,-0.903994 -0.799263,1.631599 -1.956817,3.158467 l -1.25126,-0.76619 q 1.113456,-1.394576 1.841061,-2.954517 -0.942579,-0.374827 -2.067059,-0.600825 -0.777214,1.774915 -1.389064,2.359203 -0.61185,0.578777 -1.273309,0.578777 -0.744141,0 -1.273308,-0.529167 -0.529167,-0.529167 -0.529167,-1.30087 0,-0.981164 0.964627,-1.785939 0.97014,-0.810287 2.574178,-0.859897 0.474046,-1.063846 0.881946,-2.166278 -1.510332,0.4079 -2.508032,0.529167 l -0.369315,-1.350478 q 1.670184,-0.198438 4.018363,-0.959116 l 0.617362,1.12448 q -0.01102,0.115756 -1.141017,2.971054 0.986677,0.209462 2.011938,0.600825 0.314193,-1.113456 0.48507,-2.585202 l 1.422137,0.28112 q -0.181901,1.515843 -0.551216,2.844273 1.129993,0.518143 2.028475,1.014238 z m -7.573706,-0.788239 q -0.650435,0.132292 -1.025262,0.512631 -0.369314,0.374826 -0.369314,0.677995 0,0.319705 0.314193,0.319705 0.159852,0 0.474045,-0.380339 0.319706,-0.380339 0.606338,-1.129992 z" />
<path d="m 83.118637,59.325059 q 0.48507,-0.115755 0.942579,-0.115755 1.367016,0 2.171791,0.926042 0.810287,0.920531 0.810287,2.171791 0,1.394576 -1.063846,2.287546 -1.058335,0.887457 -2.689934,0.887457 -1.27882,0 -2.039498,-0.617362 -0.755166,-0.617361 -0.755166,-1.488282 0,-0.749654 0.545704,-1.25126 0.551215,-0.501607 1.295357,-0.501607 1.433161,0 2.37574,2.033987 0.837848,-0.396876 0.837848,-1.284333 0,-1.769403 -1.934767,-1.769403 -1.069359,0 -1.934768,0.474045 -0.865409,0.474046 -2.149742,1.890671 l -1.096919,-1.080383 q 2.596226,-2.463935 4.497921,-4.503434 -1.58199,0.159853 -2.745055,0.132292 l -0.28112,-1.477258 q 0.424436,0.02205 0.865409,0.02205 1.741842,0 4.056948,-0.385851 l 0.68902,1.152041 q -0.9977,1.074871 -2.397789,2.497008 z m 0.170877,4.718408 q -0.474045,-0.992189 -0.953603,-0.992189 -0.35829,0 -0.35829,0.308681 0,0.259071 0.336241,0.474046 0.341754,0.209462 0.975652,0.209462 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
web/static/logo_safe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

13
web/static/logo_safe.svg Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="39.147381mm"
height="39.147381mm"
viewBox="0 0 39.147381 39.14738"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<g aria-label="みる" transform="translate(-57.126038,-41.052238)" style="fill:#e5204c">
<path d="m 76.79068,62.020505 -0.733118,1.300869 q -0.865408,-0.479558 -1.802475,-0.903994 -0.799263,1.631599 -1.956817,3.158467 l -1.25126,-0.76619 q 1.113456,-1.394576 1.841061,-2.954517 -0.942579,-0.374827 -2.067059,-0.600825 -0.777214,1.774915 -1.389064,2.359203 -0.61185,0.578777 -1.273309,0.578777 -0.744141,0 -1.273308,-0.529167 -0.529167,-0.529167 -0.529167,-1.30087 0,-0.981164 0.964627,-1.785939 0.97014,-0.810287 2.574178,-0.859897 0.474046,-1.063846 0.881946,-2.166278 -1.510332,0.4079 -2.508032,0.529167 l -0.369315,-1.350478 q 1.670184,-0.198438 4.018363,-0.959116 l 0.617362,1.12448 q -0.01102,0.115756 -1.141017,2.971054 0.986677,0.209462 2.011938,0.600825 0.314193,-1.113456 0.48507,-2.585202 l 1.422137,0.28112 q -0.181901,1.515843 -0.551216,2.844273 1.129993,0.518143 2.028475,1.014238 z m -7.573706,-0.788239 q -0.650435,0.132292 -1.025262,0.512631 -0.369314,0.374826 -0.369314,0.677995 0,0.319705 0.314193,0.319705 0.159852,0 0.474045,-0.380339 0.319706,-0.380339 0.606338,-1.129992 z" />
<path d="m 83.118637,59.325059 q 0.48507,-0.115755 0.942579,-0.115755 1.367016,0 2.171791,0.926042 0.810287,0.920531 0.810287,2.171791 0,1.394576 -1.063846,2.287546 -1.058335,0.887457 -2.689934,0.887457 -1.27882,0 -2.039498,-0.617362 -0.755166,-0.617361 -0.755166,-1.488282 0,-0.749654 0.545704,-1.25126 0.551215,-0.501607 1.295357,-0.501607 1.433161,0 2.37574,2.033987 0.837848,-0.396876 0.837848,-1.284333 0,-1.769403 -1.934767,-1.769403 -1.069359,0 -1.934768,0.474045 -0.865409,0.474046 -2.149742,1.890671 l -1.096919,-1.080383 q 2.596226,-2.463935 4.497921,-4.503434 -1.58199,0.159853 -2.745055,0.132292 l -0.28112,-1.477258 q 0.424436,0.02205 0.865409,0.02205 1.741842,0 4.056948,-0.385851 l 0.68902,1.152041 q -0.9977,1.074871 -2.397789,2.497008 z m 0.170877,4.718408 q -0.474045,-0.992189 -0.953603,-0.992189 -0.35829,0 -0.35829,0.308681 0,0.259071 0.336241,0.474046 0.341754,0.209462 0.975652,0.209462 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -2,7 +2,7 @@
<ShortName>Miru</ShortName>
<Description>Search Miru</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">https://miru.watch/logo.ico</Image>
<Image width="512" height="512" type="image/png">https://miru.watch/logo_filled.png</Image>
<Url type="text/html" method="get" template="https://miru.watch/anime/{searchTerms}"/>
<Url type="application/opensearchdescription+xml" rel="self" template="https://miru.watch/opensearch.xml"/>
<moz:SearchForm>https://miru.watch/anime/</moz:SearchForm>