9 Commits
main ... dev

Author SHA1 Message Date
eric
cf1e3760c2 's' 2025-12-14 08:00:13 -06:00
eric
f8efc290c4 's' 2025-12-06 04:03:06 +08:00
eric
dd988524a8 's' 2025-12-06 03:00:17 +08:00
root
5f9657d2ce s 2025-12-06 02:53:22 +08:00
eric
5db68af05a 's' 2025-12-06 02:48:53 +08:00
eric
3ffb59153c 's' 2025-12-06 02:46:28 +08:00
eric
72764015da 's' 2025-12-06 02:45:01 +08:00
eric
5983313979 's' 2025-12-06 02:37:47 +08:00
eric
cb78fe2422 's' 2025-12-06 02:28:28 +08:00
14 changed files with 4392 additions and 4369 deletions

19
.env Normal file
View File

@@ -0,0 +1,19 @@
# When adding additional environment variables, the schema in "/src/env.js"
# should be updated accordingly.
# Next Auth
# You can generate a new secret on the command line with:
# npx auth secret
# https://next-auth.js.org/configuration/options#secret
AUTH_SECRET="3s/7AKiCKcO5sfJLpP304y43i6mfE6T+LUkeglCxzns=" # Generated by create-t3-app.
# Next Auth Discord Provider
AUTH_DISCORD_ID="hackrobot"
AUTH_DISCORD_SECRET="Xiao4669805"
# Prisma
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
DATABASE_URL="file:./db.sqlite"
PORT=3001

2
.gitignore vendored
View File

@@ -33,7 +33,7 @@ yarn-error.log*
# local env files # local env files
# do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables # do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables
.env # .env
.env*.local .env*.local
# vercel # vercel

View File

@@ -164,7 +164,7 @@ const config = {
"value": "prisma-client-js" "value": "prisma-client-js"
}, },
"output": { "output": {
"value": "C:\\Users\\admin\\Desktop\\nomadro\\generated\\prisma", "value": "C:\\project\\nomadro\\generated\\prisma",
"fromEnvVar": null "fromEnvVar": null
}, },
"config": { "config": {
@@ -178,11 +178,11 @@ const config = {
} }
], ],
"previewFeatures": [], "previewFeatures": [],
"sourceFilePath": "C:\\Users\\admin\\Desktop\\nomadro\\prisma\\schema.prisma", "sourceFilePath": "C:\\project\\nomadro\\prisma\\schema.prisma",
"isCustomOutput": true "isCustomOutput": true
}, },
"relativeEnvPaths": { "relativeEnvPaths": {
"rootEnvPath": "../../.env", "rootEnvPath": null,
"schemaEnvPath": "../../.env" "schemaEnvPath": "../../.env"
}, },
"relativePath": "../../prisma", "relativePath": "../../prisma",

View File

@@ -165,7 +165,7 @@ const config = {
"value": "prisma-client-js" "value": "prisma-client-js"
}, },
"output": { "output": {
"value": "C:\\Users\\admin\\Desktop\\nomadro\\generated\\prisma", "value": "C:\\project\\nomadro\\generated\\prisma",
"fromEnvVar": null "fromEnvVar": null
}, },
"config": { "config": {
@@ -179,11 +179,11 @@ const config = {
} }
], ],
"previewFeatures": [], "previewFeatures": [],
"sourceFilePath": "C:\\Users\\admin\\Desktop\\nomadro\\prisma\\schema.prisma", "sourceFilePath": "C:\\project\\nomadro\\prisma\\schema.prisma",
"isCustomOutput": true "isCustomOutput": true
}, },
"relativeEnvPaths": { "relativeEnvPaths": {
"rootEnvPath": "../../.env", "rootEnvPath": null,
"schemaEnvPath": "../../.env" "schemaEnvPath": "../../.env"
}, },
"relativePath": "../../prisma", "relativePath": "../../prisma",

View File

@@ -164,7 +164,7 @@ const config = {
"value": "prisma-client-js" "value": "prisma-client-js"
}, },
"output": { "output": {
"value": "C:\\Users\\admin\\Desktop\\nomadro\\generated\\prisma", "value": "C:\\project\\nomadro\\generated\\prisma",
"fromEnvVar": null "fromEnvVar": null
}, },
"config": { "config": {
@@ -178,11 +178,11 @@ const config = {
} }
], ],
"previewFeatures": [], "previewFeatures": [],
"sourceFilePath": "C:\\Users\\admin\\Desktop\\nomadro\\prisma\\schema.prisma", "sourceFilePath": "C:\\project\\nomadro\\prisma\\schema.prisma",
"isCustomOutput": true "isCustomOutput": true
}, },
"relativeEnvPaths": { "relativeEnvPaths": {
"rootEnvPath": "../../.env", "rootEnvPath": null,
"schemaEnvPath": "../../.env" "schemaEnvPath": "../../.env"
}, },
"relativePath": "../../prisma", "relativePath": "../../prisma",

1
nomadro.sh Normal file
View File

@@ -0,0 +1 @@
npm run start

View File

@@ -17,7 +17,7 @@
"lint": "next lint", "lint": "next lint",
"lint:fix": "next lint --fix", "lint:fix": "next lint --fix",
"preview": "next build && next start", "preview": "next build && next start",
"start": "next start", "start": "next start --port 3001",
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"
}, },
"dependencies": { "dependencies": {

View File

@@ -0,0 +1 @@
7591d9ac675b2859a21c1b1f9398a4a4e72d87bc

BIN
public/nomadro.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

View File

@@ -6,9 +6,11 @@ import { Geist } from "next/font/google";
import { TRPCReactProvider } from "~/trpc/react"; import { TRPCReactProvider } from "~/trpc/react";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Create T3 App", title: "nomadro",
description: "Generated by create-t3-app", description: "nomadro",
icons: [{ rel: "icon", url: "/favicon.ico" }], // icons: [{ rel: "icon", url: "/favicon.ico" }],
icons: [{ rel: "icon", url: "/nomadro.ico" }],
}; };
const geist = Geist({ const geist = Geist({

View File

@@ -22,7 +22,7 @@ export default async function Home() {
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 md:gap-8"> <div className="grid grid-cols-1 gap-4 sm:grid-cols-2 md:gap-8">
<Link <Link
className="flex max-w-xs flex-col gap-4 rounded-xl bg-white/10 p-4 hover:bg-white/20" className="flex max-w-xs flex-col gap-4 rounded-xl bg-white/10 p-4 hover:bg-white/20"
href="https://nav.nomadro.com" href="https://nav.hackrobot.cn"
target="_blank" target="_blank"
> >
<h3 className="text-2xl font-bold"> </h3> <h3 className="text-2xl font-bold"> </h3>
@@ -42,9 +42,9 @@ export default async function Home() {
<div className="text-lg"> <div className="text-lg">
<ul className="list-none text-lg"> <ul className="list-none text-lg">
<li></li> <li></li>
<li>sass网站</li> {/* <li>搭建sass网站</li>
<li>PVE虚拟化自建云桌面</li> <li>PVE虚拟化自建云桌面</li>
<li>AIGC+RPA自动化</li> <li>AIGC+RPA自动化</li> */}
</ul> </ul>
</div> </div>
</Link> </Link>