fix: windows dev
This commit is contained in:
@@ -27,15 +27,15 @@ const Home: NextPage = () => {
|
||||
useGlobalShortcut("CommandOrControl+P", shortcutHandler)
|
||||
|
||||
return (
|
||||
<div className="flex min-h-screen flex-col bg-white">
|
||||
<div className="flex flex-col ">
|
||||
<Head>
|
||||
<title>Create Next App</title>
|
||||
<meta name="description" content="Generated by create next app" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</Head>
|
||||
|
||||
<main className="flex flex-1 flex-col items-center justify-center py-8">
|
||||
<h1 className="m-0 text-center text-6xl">
|
||||
<main className="flex flex-col items-center justify-center flex-1 py-8">
|
||||
<h1 className="m-0 text-6xl text-center">
|
||||
Welcome to{" "}
|
||||
<a
|
||||
href="https://nextjs.org"
|
||||
@@ -47,32 +47,14 @@ const Home: NextPage = () => {
|
||||
</a>
|
||||
</h1>
|
||||
|
||||
<p className="my-12 text-center text-2xl leading-9">
|
||||
<p className="my-12 text-2xl leading-9 text-center">
|
||||
Get started by editing{" "}
|
||||
<code className="rounded-md bg-gray-200 p-2 font-mono text-xl">
|
||||
<code className="p-2 font-mono text-xl bg-gray-200 rounded-md">
|
||||
src/pages/index.tsx
|
||||
</code>
|
||||
</p>
|
||||
|
||||
<div className="flex max-w-3xl flex-wrap items-center justify-center">
|
||||
<Card
|
||||
url="https://nextjs.org/docs"
|
||||
title="Documentation"
|
||||
description="Find in-depth information about Next.js features and API."
|
||||
/>
|
||||
|
||||
<Card
|
||||
url="https://nextjs.org/learn"
|
||||
title="Learn"
|
||||
description="Learn about Next.js in an interactive course with quizzes!"
|
||||
/>
|
||||
|
||||
<Card
|
||||
url="https://github.com/vercel/next.js/tree/canary/examples"
|
||||
title="Examples"
|
||||
description="Discover and deploy boilerplate example Next.js projects."
|
||||
/>
|
||||
|
||||
<div className="flex flex-wrap items-center justify-center max-w-3xl">
|
||||
<CardButton
|
||||
onClick={onButtonClick}
|
||||
title="Tauri Invoke"
|
||||
@@ -81,26 +63,7 @@ const Home: NextPage = () => {
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer className="flex flex-1 flex-grow-0 items-center justify-center border-t border-gray-200 py-4">
|
||||
<div>
|
||||
<a
|
||||
href="https://tauri.app/"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex flex-grow items-center justify-center p-4"
|
||||
>
|
||||
Powered by{" "}
|
||||
<span className="ml-2 h-6">
|
||||
<Image
|
||||
src="/tauri_logo_light.svg"
|
||||
alt="Vercel Logo"
|
||||
height={24}
|
||||
width={78}
|
||||
/>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user