perform rebrand (in strings)

This commit is contained in:
ppc
2024-08-21 21:02:07 +01:00
parent 5f788f5a16
commit adc0a0abd5
5 changed files with 13 additions and 13 deletions
+7 -7
View File
@@ -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">
+2 -2
View File
@@ -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 -1
View File
@@ -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 &copy; ppc {new Date().getUTCFullYear()}</span>
<span className="text-gray-500 text-sm text-center">AMNet &copy; ppc {new Date().getUTCFullYear()}</span>
{props.children}
</footer>);
}
+1 -1
View File
@@ -1,4 +1,4 @@
export const AIMENET_API_VERSION = 1;
export const AMNET_API_VERSION = 1;
export interface AimeServerInfo {
serverName: string;
+2 -2
View File
@@ -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