4466ba436b
## Description This PR ensures that the default prettier config is used for examples and templates. This config is compatible with `prettier@3` as well (upgrading prettier is bigger change that can be a future PR). ## Changes - Updated `.prettierrc.json` in root with `"trailingComma": "es5"` (will be needed upgrading to prettier@3) - Added `examples/.prettierrc.json` with default config (this will change every example) - Added `packages/create-next-app/templates/.prettierrc.json` with default config (this will change every template) ## Related - Fixes #54402 - Closes #54409
45 lines
1.3 KiB
JavaScript
45 lines
1.3 KiB
JavaScript
import Link from "next/link";
|
|
import { Section, Card, Content, Title } from "rbx";
|
|
import Layout from "../components/Layout";
|
|
|
|
const Home = () => (
|
|
<Layout>
|
|
<Section>
|
|
<Card>
|
|
<Card.Content>
|
|
<Content>
|
|
<Link href="https://github.com/vercel/next.js#getting-started">
|
|
<Title as="h3">Getting Started →</Title>
|
|
<p>Learn more about Next on Github and in their examples</p>
|
|
</Link>
|
|
</Content>
|
|
</Card.Content>
|
|
</Card>
|
|
<Card>
|
|
<Card.Content>
|
|
<Content>
|
|
<Link href="https://github.com/vercel/next.js/tree/canary/examples">
|
|
<Title as="h3">Examples →</Title>
|
|
<p>
|
|
Find other example boilerplates on the{" "}
|
|
<code>create-next-app</code> site
|
|
</p>
|
|
</Link>
|
|
</Content>
|
|
</Card.Content>
|
|
</Card>
|
|
<Card>
|
|
<Card.Content>
|
|
<Content>
|
|
<Link href="https://github.com/vercel/next.js/tree/canary/packages/create-next-app">
|
|
<Title as="h3">Create Next App →</Title>
|
|
<p>Was this tool helpful? Let us know how we can improve it</p>
|
|
</Link>
|
|
</Content>
|
|
</Card.Content>
|
|
</Card>
|
|
</Section>
|
|
</Layout>
|
|
);
|
|
|
|
export default Home;
|