feat: 🍱 new error images

ref: https://minazukey.uk/notes/9jzr3jsrwvcmlcjp
This commit is contained in:
ThatOneCalculator 2023-09-23 08:42:33 -07:00
parent 17d94c5ff7
commit 3ee3413006
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
32 changed files with 30 additions and 26 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -220,7 +220,7 @@ export class Init1000000000000 {
`CREATE INDEX "IDX_3c601b70a1066d2c8b517094cb" ON "notification" ("notifieeId") `,
);
await queryRunner.query(
`CREATE TABLE "meta" ("id" character varying(32) NOT NULL, "name" character varying(128), "description" character varying(1024), "maintainerName" character varying(128), "maintainerEmail" character varying(128), "announcements" jsonb NOT NULL DEFAULT '[]', "disableRegistration" boolean NOT NULL DEFAULT false, "disableLocalTimeline" boolean NOT NULL DEFAULT false, "disableGlobalTimeline" boolean NOT NULL DEFAULT false, "enableEmojiReaction" boolean NOT NULL DEFAULT true, "useStarForReactionFallback" boolean NOT NULL DEFAULT false, "langs" character varying(64) array NOT NULL DEFAULT '{}'::varchar[], "hiddenTags" character varying(256) array NOT NULL DEFAULT '{}'::varchar[], "blockedHosts" character varying(256) array NOT NULL DEFAULT '{}'::varchar[], "mascotImageUrl" character varying(512) DEFAULT '/static-assets/badges/info.png', "bannerUrl" character varying(512), "errorImageUrl" character varying(512) DEFAULT '/static-assets/badges/error.png', "iconUrl" character varying(512), "cacheRemoteFiles" boolean NOT NULL DEFAULT false, "proxyAccount" character varying(128), "enableRecaptcha" boolean NOT NULL DEFAULT false, "recaptchaSiteKey" character varying(64), "recaptchaSecretKey" character varying(64), "localDriveCapacityMb" integer NOT NULL DEFAULT 1024, "remoteDriveCapacityMb" integer NOT NULL DEFAULT 32, "maxNoteTextLength" integer NOT NULL DEFAULT 500, "summalyProxy" character varying(128), "enableEmail" boolean NOT NULL DEFAULT false, "email" character varying(128), "smtpSecure" boolean NOT NULL DEFAULT false, "smtpHost" character varying(128), "smtpPort" integer, "smtpUser" character varying(128), "smtpPass" character varying(128), "enableServiceWorker" boolean NOT NULL DEFAULT false, "swPublicKey" character varying(128), "swPrivateKey" character varying(128), "enableTwitterIntegration" boolean NOT NULL DEFAULT false, "twitterConsumerKey" character varying(128), "twitterConsumerSecret" character varying(128), "enableGithubIntegration" boolean NOT NULL DEFAULT false, "githubClientId" character varying(128), "githubClientSecret" character varying(128), "enableDiscordIntegration" boolean NOT NULL DEFAULT false, "discordClientId" character varying(128), "discordClientSecret" character varying(128), CONSTRAINT "PK_c4c17a6c2bd7651338b60fc590b" PRIMARY KEY ("id"))`,
`CREATE TABLE "meta" ("id" character varying(32) NOT NULL, "name" character varying(128), "description" character varying(1024), "maintainerName" character varying(128), "maintainerEmail" character varying(128), "announcements" jsonb NOT NULL DEFAULT '[]', "disableRegistration" boolean NOT NULL DEFAULT false, "disableLocalTimeline" boolean NOT NULL DEFAULT false, "disableGlobalTimeline" boolean NOT NULL DEFAULT false, "enableEmojiReaction" boolean NOT NULL DEFAULT true, "useStarForReactionFallback" boolean NOT NULL DEFAULT false, "langs" character varying(64) array NOT NULL DEFAULT '{}'::varchar[], "hiddenTags" character varying(256) array NOT NULL DEFAULT '{}'::varchar[], "blockedHosts" character varying(256) array NOT NULL DEFAULT '{}'::varchar[], "mascotImageUrl" character varying(512) DEFAULT '/static-assets/badges/info.avif', "bannerUrl" character varying(512), "errorImageUrl" character varying(512) DEFAULT '/static-assets/badges/error.avif', "iconUrl" character varying(512), "cacheRemoteFiles" boolean NOT NULL DEFAULT false, "proxyAccount" character varying(128), "enableRecaptcha" boolean NOT NULL DEFAULT false, "recaptchaSiteKey" character varying(64), "recaptchaSecretKey" character varying(64), "localDriveCapacityMb" integer NOT NULL DEFAULT 1024, "remoteDriveCapacityMb" integer NOT NULL DEFAULT 32, "maxNoteTextLength" integer NOT NULL DEFAULT 500, "summalyProxy" character varying(128), "enableEmail" boolean NOT NULL DEFAULT false, "email" character varying(128), "smtpSecure" boolean NOT NULL DEFAULT false, "smtpHost" character varying(128), "smtpPort" integer, "smtpUser" character varying(128), "smtpPass" character varying(128), "enableServiceWorker" boolean NOT NULL DEFAULT false, "swPublicKey" character varying(128), "swPrivateKey" character varying(128), "enableTwitterIntegration" boolean NOT NULL DEFAULT false, "twitterConsumerKey" character varying(128), "twitterConsumerSecret" character varying(128), "enableGithubIntegration" boolean NOT NULL DEFAULT false, "githubClientId" character varying(128), "githubClientSecret" character varying(128), "enableDiscordIntegration" boolean NOT NULL DEFAULT false, "discordClientId" character varying(128), "discordClientSecret" character varying(128), CONSTRAINT "PK_c4c17a6c2bd7651338b60fc590b" PRIMARY KEY ("id"))`,
);
await queryRunner.query(
`CREATE TABLE "following" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "followeeId" character varying(32) NOT NULL, "followerId" character varying(32) NOT NULL, "followerHost" character varying(128), "followerInbox" character varying(512), "followerSharedInbox" character varying(512), "followeeHost" character varying(128), "followeeInbox" character varying(512), "followeeSharedInbox" character varying(512), CONSTRAINT "PK_c76c6e044bdf76ecf8bfb82a645" PRIMARY KEY ("id"))`,

View File

@ -162,7 +162,7 @@ export class Meta {
@Column("varchar", {
length: 512,
nullable: true,
default: "/static-assets/badges/info.png",
default: "/static-assets/badges/info.avif",
})
public mascotImageUrl: string | null;
@ -187,7 +187,7 @@ export class Meta {
@Column("varchar", {
length: 512,
nullable: true,
default: "/static-assets/badges/error.png",
default: "/static-assets/badges/error.avif",
})
public errorImageUrl: string | null;

View File

@ -64,7 +64,7 @@ export const meta = {
type: "string",
optional: false,
nullable: false,
default: "/static-assets/badges/info.png",
default: "/static-assets/badges/info.avif",
},
bannerUrl: {
type: "string",
@ -75,7 +75,7 @@ export const meta = {
type: "string",
optional: false,
nullable: false,
default: "/static-assets/badges/error.png",
default: "/static-assets/badges/error.avif",
},
iconUrl: {
type: "string",

View File

@ -49,7 +49,7 @@ export default define(meta, paramDef, async (ps) => {
createNotification(user.id, "app", {
customBody: ps.comment,
customHeader: "Moderation Notice",
customIcon: "/static-assets/badges/info.png",
customIcon: "/static-assets/badges/info.avif",
});
setImmediate(async () => {

View File

@ -155,7 +155,7 @@ export const meta = {
type: "string",
optional: false,
nullable: false,
default: "/static-assets/badges/info.png",
default: "/static-assets/badges/info.avif",
},
bannerUrl: {
type: "string",
@ -166,7 +166,7 @@ export const meta = {
type: "string",
optional: false,
nullable: false,
default: "/static-assets/badges/error.png",
default: "/static-assets/badges/error.avif",
},
iconUrl: {
type: "string",

View File

@ -36,9 +36,9 @@ html
link(rel='icon' href= icon || `/favicon.ico?${ timestamp }`)
link(rel='apple-touch-icon' href= icon || `/apple-touch-icon.png?${ timestamp }`)
link(rel='manifest' href='/manifest.json')
link(rel='prefetch' href=`/static-assets/badges/info.png?${ timestamp }`)
link(rel='prefetch' href=`/static-assets/badges/not-found.png?${ timestamp }`)
link(rel='prefetch' href=`/static-assets/badges/error.png?${ timestamp }`)
link(rel='prefetch' href=`/static-assets/badges/info.avif?${ timestamp }`)
link(rel='prefetch' href=`/static-assets/badges/not-found.avif?${ timestamp }`)
link(rel='prefetch' href=`/static-assets/badges/error.avif?${ timestamp }`)
link(rel='stylesheet' href=`/static-assets/instance.css?${ timestamp }`)
link(rel='modulepreload' href=`/assets/${clientEntry.file}`)

View File

@ -3,7 +3,7 @@
<template #empty>
<div class="_fullinfo">
<img
src="/static-assets/badges/not-found.png"
src="/static-assets/badges/not-found.avif"
class="_ghost"
:alt="i18n.ts.notFound"
/>

View File

@ -3,7 +3,7 @@
<template #empty>
<div class="_fullinfo">
<img
src="/static-assets/badges/info.png"
src="/static-assets/badges/info.avif"
class="_ghost"
alt="Info"
/>

View File

@ -3,7 +3,7 @@
<template #empty>
<div class="_fullinfo">
<img
src="/static-assets/badges/info.png"
src="/static-assets/badges/info.avif"
class="_ghost"
alt="Info"
/>

View File

@ -8,7 +8,7 @@
<slot name="empty">
<div class="_fullinfo">
<img
src="/static-assets/badges/info.png"
src="/static-assets/badges/info.avif"
class="_ghost"
alt="Error"
/>

View File

@ -3,7 +3,7 @@
<template #empty>
<div class="_fullinfo">
<img
src="/static-assets/badges/info.png"
src="/static-assets/badges/info.avif"
class="_ghost"
alt="Info"
/>

View File

@ -2,7 +2,7 @@
<transition :name="$store.state.animation ? 'zoom' : ''" appear>
<div class="mjndxjcg">
<img
src="/static-assets/badges/error.png"
src="/static-assets/badges/error.avif"
class="_ghost"
alt="Error"
/>

View File

@ -3,7 +3,7 @@
<transition :name="$store.state.animation ? 'zoom' : ''" appear>
<div v-show="loaded" class="mjndxjch">
<img
src="/static-assets/badges/error.png"
src="/static-assets/badges/error.avif"
class="_ghost"
alt="Error"
/>

View File

@ -111,11 +111,15 @@
/></FormLink>
<FormLink to="/@panos@firefish.social"
><Mfm
:text="'@panos@firefish.social (Project Coordinator)'"
:text="'@panos@firefish.social (Project coordinator)'"
/></FormLink>
<FormLink to="/@blackspike@mastodon.cloud"
><Mfm
:text="'@blackspike@mastodon.cloud (Logo Design)'"
:text="'@blackspike@mastodon.cloud (Logo design)'"
/></FormLink>
<FormLink to="/@magi@minazukey.uk"
><Mfm
:text="'@magi@minazukey.uk (Error images)'"
/></FormLink>
</div>
<h3

View File

@ -6,7 +6,7 @@
<template #empty>
<div class="_fullinfo">
<img
src="/static-assets/badges/info.png"
src="/static-assets/badges/info.avif"
class="_ghost"
alt="Info"
/>

View File

@ -6,7 +6,7 @@
<template #empty>
<div class="_fullinfo">
<img
src="/static-assets/badges/info.png"
src="/static-assets/badges/info.avif"
aria-label="none"
class="_ghost"
/>

View File

@ -17,7 +17,7 @@
<template #empty>
<div class="_fullinfo">
<img
src="/static-assets/badges/info.png"
src="/static-assets/badges/info.avif"
class="_ghost"
alt="Info"
/>

View File

@ -2,7 +2,7 @@
<transition :name="$store.state.animation ? 'zoom' : ''" appear>
<div :class="$style.root">
<img
src="/static-assets/badges/info.png"
src="/static-assets/badges/info.avif"
class="_ghost"
alt="Error"
/>

View File

@ -2,7 +2,7 @@
<div class="ipledcug">
<div class="_fullinfo">
<img
src="/static-assets/badges/not-found.png"
src="/static-assets/badges/not-found.avif"
class="_ghost"
alt="Not found"
/>

View File

@ -4,7 +4,7 @@
<template #empty>
<div class="_fullinfo">
<img
src="/static-assets/badges/info.png"
src="/static-assets/badges/info.avif"
class="_ghost"
alt="Info"
/>