Some checks failed
Test examples / Test Examples (20) (push) Has been cancelled
Test examples / Test Examples (22) (push) Has been cancelled
Lock Threads / action (push) Has been cancelled
Trigger Release / start (push) Has been cancelled
Stale issue handler / stale (push) Has been cancelled
Update Font Data / create-pull-request (push) Has been cancelled
build-and-deploy / deploy-target (push) Has been cancelled
build-and-deploy / build (push) Has been cancelled
build-and-deploy / stable - aarch64-unknown-linux-musl - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-unknown-linux-musl - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-unknown-linux-gnu - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-unknown-linux-gnu - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-pc-windows-msvc - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-pc-windows-msvc - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-apple-darwin - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-apple-darwin - node@16 (push) Has been cancelled
build-and-deploy / build-wasm (nodejs) (push) Has been cancelled
build-and-deploy / build-wasm (web) (push) Has been cancelled
build-and-deploy / Deploy preview tarball (push) Has been cancelled
build-and-deploy / Potentially publish release (push) Has been cancelled
build-and-deploy / publish-turbopack-npm-packages (push) Has been cancelled
build-and-deploy / Deploy examples (push) Has been cancelled
build-and-deploy / thank you, build (push) Has been cancelled
build-and-deploy / Upload Turbopack Bytesize metrics to Datadog (push) Has been cancelled
Rspack Next.js development integration tests / Rspack integration tests (push) Has been cancelled
Rspack Next.js production integration tests / Rspack integration tests (push) Has been cancelled
Turbopack Next.js development integration tests / Next.js integration tests (push) Has been cancelled
Turbopack Next.js production integration tests / Next.js integration tests (push) Has been cancelled
Update Rspack test manifest / Update and upload Rspack development test manifest (push) Has been cancelled
Update Rspack test manifest / Update and upload Rspack production test manifest (push) Has been cancelled
Upload bundler test manifests to areweturboyet.com / Upload test results (push) Has been cancelled
Update React / create-pull-request (push) Has been cancelled
test-e2e-project-reset-cron / reset-test-project (push) Has been cancelled
Notify about the top 15 issues/PRs/feature requests (most reacted) in the last 90 days / run (push) Has been cancelled
119 lines
3.7 KiB
JavaScript
119 lines
3.7 KiB
JavaScript
import Head from "next/head";
|
|
import {
|
|
MDBBtn,
|
|
MDBCard,
|
|
MDBCardBody,
|
|
MDBCardText,
|
|
MDBCardTitle,
|
|
MDBCol,
|
|
MDBContainer,
|
|
MDBFooter,
|
|
MDBRow,
|
|
} from "mdbreact";
|
|
|
|
export default function Home() {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Next.js with Material Design Bootstrap for React</title>
|
|
<link rel="icon" href="/favicon.ico" />
|
|
</Head>
|
|
<MDBContainer className="text-center mt-5">
|
|
<h1 className="h1-responsive font-weight-bolder">
|
|
Welcome to <a href="https://nextjs.org">Next.js!</a>
|
|
</h1>
|
|
<p className="mb-3">
|
|
Get started by editing <code>pages/index.js</code>
|
|
</p>
|
|
<MDBRow>
|
|
<MDBCol sm="6">
|
|
<MDBCard className="my-3">
|
|
<MDBCardBody>
|
|
<MDBCardTitle tag="h5">Documentation</MDBCardTitle>
|
|
<MDBCardText>
|
|
Find in-depth information about Next.js features and API.
|
|
</MDBCardText>
|
|
<MDBBtn
|
|
color="primary"
|
|
size="sm"
|
|
className="text-capitalize"
|
|
href="https://nextjs.org/docs"
|
|
>
|
|
More →
|
|
</MDBBtn>
|
|
</MDBCardBody>
|
|
</MDBCard>
|
|
</MDBCol>
|
|
<MDBCol sm="6">
|
|
<MDBCard className="my-3">
|
|
<MDBCardBody>
|
|
<MDBCardTitle tag="h5">Learn</MDBCardTitle>
|
|
<MDBCardText>
|
|
Learn about Next.js in an interactive course with quizzes!
|
|
</MDBCardText>
|
|
<MDBBtn
|
|
color="primary"
|
|
size="sm"
|
|
className="text-capitalize"
|
|
href="https://nextjs.org/learn"
|
|
>
|
|
More →
|
|
</MDBBtn>
|
|
</MDBCardBody>
|
|
</MDBCard>
|
|
</MDBCol>
|
|
</MDBRow>
|
|
<MDBRow>
|
|
<MDBCol sm="6">
|
|
<MDBCard className="my-3">
|
|
<MDBCardBody>
|
|
<MDBCardTitle tag="h5">Examples</MDBCardTitle>
|
|
<MDBCardText>
|
|
Discover and deploy boilerplate example Next.js projects.
|
|
</MDBCardText>
|
|
<MDBBtn
|
|
color="primary"
|
|
size="sm"
|
|
className="text-capitalize"
|
|
href="https://github.com/vercel/next.js/tree/canary/examples"
|
|
>
|
|
More →
|
|
</MDBBtn>
|
|
</MDBCardBody>
|
|
</MDBCard>
|
|
</MDBCol>
|
|
<MDBCol sm="6">
|
|
<MDBCard className="my-3">
|
|
<MDBCardBody>
|
|
<MDBCardTitle tag="h5">Deploy</MDBCardTitle>
|
|
<MDBCardText>
|
|
Instantly deploy your Next.js site to a public URL with
|
|
Vercel.
|
|
</MDBCardText>
|
|
<MDBBtn
|
|
color="primary"
|
|
size="sm"
|
|
className="text-capitalize"
|
|
href="https://vercel.com/new?utm_source=github&utm_medium=example&utm_campaign=next-example"
|
|
>
|
|
More →
|
|
</MDBBtn>
|
|
</MDBCardBody>
|
|
</MDBCard>
|
|
</MDBCol>
|
|
</MDBRow>
|
|
<MDBFooter className="text-center mt-4" color="white">
|
|
<span className="black-text"> Powered by</span>
|
|
<a
|
|
href="https://vercel.com?filter=next.js&utm_source=github&utm_medium=example&utm_campaign=next-example"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
>
|
|
<img src="/vercel.svg" alt="Vercel Logo" />
|
|
</a>
|
|
</MDBFooter>
|
|
</MDBContainer>
|
|
</>
|
|
);
|
|
}
|