mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-10-03 12:18:10 +03:00
perform rebrand (in strings)
This commit is contained in:
@@ -5,20 +5,20 @@
|
||||
<meta name="theme-color" content="#d2005b">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
|
||||
|
||||
<title>AimeNet</title>
|
||||
<title>AMNet</title>
|
||||
|
||||
<meta name="author" content="ppc">
|
||||
<meta name="application-name" content="AimeNet">
|
||||
<meta name="application-name" content="AMNet">
|
||||
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="AimeNet">
|
||||
<meta property="og:site_name" content="AimeNet">
|
||||
<meta property="og:description" content="Browser-local Aime/Amusement IC Card Switcher">
|
||||
<meta property="og:title" content="AMNet">
|
||||
<meta property="og:site_name" content="AMNet">
|
||||
<meta property="og:description" content="Client-side Amusement IC Card Switcher">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="AimeNet">
|
||||
<meta name="twitter:description" content="Browser-local Aime/Amusement IC Card Switcher">
|
||||
<meta name="twitter:title" content="AMNet">
|
||||
<meta name="twitter:description" content="Client-side Amusement IC Card Switcher">
|
||||
|
||||
<link rel="icon" href="/icon-16.png" type="image/png" sizes="16x16">
|
||||
<link rel="icon" href="/icon-32.png" type="image/png" sizes="32x32">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "aimenet-web",
|
||||
"name": "amnet-web",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"version": "1.1.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export function AMFooter(props: {children?: Readonly<React.ReactNode>, className?: string}) {
|
||||
return (<footer className={props.className ?? "flex sm:justify-start justify-center"}>
|
||||
<span className="text-gray-500 text-sm text-center">AimeNet © ppc {new Date().getUTCFullYear()}</span>
|
||||
<span className="text-gray-500 text-sm text-center">AMNet © ppc {new Date().getUTCFullYear()}</span>
|
||||
{props.children}
|
||||
</footer>);
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
export const AIMENET_API_VERSION = 1;
|
||||
export const AMNET_API_VERSION = 1;
|
||||
|
||||
export interface AimeServerInfo {
|
||||
serverName: string;
|
||||
|
||||
@@ -33,7 +33,7 @@ import {
|
||||
import {AMFooter} from "@/components/am-footer.tsx";
|
||||
import {AMHeader} from "@/components/am-header.tsx";
|
||||
import {AMCard, AMCardDetail} from "@/components/am-card.tsx";
|
||||
import {AIMENET_API_VERSION} from "@/lib/aime-net.ts";
|
||||
import {AMNET_API_VERSION} from "@/lib/aime-net.ts";
|
||||
|
||||
const serverAdditionSchema = z.object({
|
||||
address: z.string().startsWith("http")
|
||||
@@ -144,7 +144,7 @@ function ServerAddForm() {
|
||||
lastConnected: 0,
|
||||
serverName: "Server",
|
||||
address: values.address,
|
||||
apiVersion: AIMENET_API_VERSION
|
||||
apiVersion: AMNET_API_VERSION
|
||||
});
|
||||
|
||||
// set server name using id
|
||||
|
||||
Reference in New Issue
Block a user