-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
93 additions
and
60 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import { GeistSans } from "geist/font/sans"; | ||
import "./globals.css"; | ||
import { GoogleAnalytics } from "@next/third-parties/google"; | ||
|
||
const defaultUrl = process.env.VERCEL_URL | ||
? `https://${process.env.VERCEL_URL}` | ||
: "http://localhost:3000"; | ||
|
||
export const metadata = { | ||
metadataBase: new URL(defaultUrl), | ||
title: "paper ai 使用真实文献让AI完成论文", | ||
description: "写论文最高效的方式", | ||
referrer: "origin-when-cross-origin", | ||
keywords: [ | ||
"free AI", | ||
"免费AI模型", | ||
"AI", | ||
"AI paper", | ||
"true references", | ||
"真实文献", | ||
"真实文献引用", | ||
], | ||
authors: [{ name: "liuweiqing", url: "https://github.com/14790897" }], | ||
creator: "liuweiqing", | ||
publisher: "liuweiqing", | ||
manifest: "./manifest.json", | ||
alternates: { | ||
canonical: "/", | ||
languages: { | ||
"en-US": "/en-US", | ||
"de-DE": "/de-DE", | ||
}, | ||
}, | ||
openGraph: { | ||
images: | ||
"https://file.liuweiqing.life/2024/02/540f3476ef43c831934ce0359c367acd.png", | ||
}, | ||
twitter: { | ||
card: "page", | ||
title: "AI write", | ||
description: "The fastest way to write paper", | ||
creator: "@hahfrank", | ||
images: [ | ||
"https://file.liuweiqing.life/2024/02/540f3476ef43c831934ce0359c367acd.png", | ||
], | ||
}, | ||
}; | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
}) { | ||
return ( | ||
<html lang="en" className={GeistSans.className}> | ||
<body className="bg-background text-foreground"> | ||
<main className="min-h-screen flex flex-col items-center"> | ||
{children} | ||
</main> | ||
</body> | ||
<GoogleAnalytics gaId="G-05DHTG9XQ5" /> | ||
</html> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"short_name": "Paper AI", | ||
"name": "paper ai 使用真实文献让AI完成论文", | ||
"start_url": "/", | ||
"display": "standalone", | ||
"theme_color": "#ffffff", | ||
"background_color": "#ffffff", | ||
"description": "写论文最高效的方式", | ||
"icons": [ | ||
{ | ||
"src": "https://file.liuweiqing.life/2024/02/540f3476ef43c831934ce0359c367acd.png", | ||
"sizes": "192x192", | ||
"type": "image/png", | ||
"purpose": "any maskable" | ||
}, | ||
{ | ||
"src": "https://file.liuweiqing.life/2024/02/540f3476ef43c831934ce0359c367acd.png", | ||
"sizes": "512x512", | ||
"type": "image/png", | ||
"purpose": "any maskable" | ||
} | ||
], | ||
"dir": "ltr", | ||
"scope": "/", | ||
"orientation": "any", | ||
"related_applications": [], | ||
"prefer_related_applications": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters