rsnext/examples/with-rbx-bulma-pro/pages/index.js
Steven 4466ba436b
chore(examples): use default prettier for examples/templates (#60530)
## 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
2024-01-11 16:01:44 -07:00

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 &rarr;</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 &rarr;</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 &rarr;</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;