Files
StevenandGitHub 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

36 lines
928 B
TypeScript

import Container from "../components/container";
import Image from "next/image";
function HomePage() {
return (
<>
<Container>
<div className="space-y-6">
<h1 className="text-2xl font-bold">
Hey, I'm a Senior Software Engineer at Company. I enjoy working with
Next.js and crafting beautiful front-end experiences.
</h1>
<p>
This portfolio is built with Next.js and a library called next-mdx.
It allows you to write Markdown and focus on the content of your
portfolio.
</p>
<p>Deploy your own in a few minutes.</p>
</div>
</Container>
<div className="container max-w-4xl m-auto px-4 mt-20">
<Image
src="/desk.jpg"
alt="my desk"
width={1920 / 2}
height={1280 / 2}
/>
</div>
</>
);
}
export default HomePage;