Files
bracket/docs/components/Cta.tsx
Copilot 3606868b98 frontend: replace Prettier stack with oxfmt (#1750)
This PR migrates formatting in `frontend/` from Prettier to `oxfmt`,
including script wiring and dependency cleanup. It removes the Prettier
plugin/config path so formatting is handled by a single tool.

- **Script migration**
  - Renamed/rewired formatting scripts in `frontend/package.json`:
    - `prettier:check` → `format:check` (`oxfmt --check .`)
    - `prettier:write` → `format:write` (`oxfmt .`)
  - Updated dependent scripts:
    - `test` now runs `pnpm run format:write`
    - `openapi-ts` now runs `pnpm run format:write` after generation

- **Dependency cleanup**
  - Removed `prettier-plugin-organize-imports` from `dependencies`
  - Removed `prettier` from `devDependencies`
  - Added `oxfmt` (latest stable at update time)

- **Config removal**
  - Deleted `frontend/.prettierrc.js` (no longer used after migration)

- **Lockfile alignment**
- Updated `frontend/pnpm-lock.yaml` to reflect the dependency and script
ecosystem change

```json
{
  "scripts": {
    "format:check": "oxfmt --check .",
    "format:write": "oxfmt .",
    "openapi-ts": "openapi-ts && pnpm run format:write",
    "test": "tsc && pnpm run format:write"
  }
}
```

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Erik Vroon <11857441+evroon@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-28 18:38:17 +00:00

37 lines
1.2 KiB
TypeScript

import { buttonVariants } from "./ui/button";
import Link from "next/link";
import { IconRocket } from "@tabler/icons-react";
export const Cta = () => {
return (
<section id="cta" className="bg-muted/50 py-16 my-24 sm:my-32">
<div className="container lg:grid lg:grid-cols-2 place-items-center">
<div className="lg:col-start-1">
<h2 className="text-3xl md:text-4xl font-bold ">
Take
<span className="bg-linear-to-b from-primary/70 to-primary text-transparent bg-clip-text">
{" "}
control{" "}
</span>
of your tournaments
</h2>
<p className="text-muted-foreground text-xl mt-4 mb-8 lg:mb-0">
Keep your tournament software in your own hands: no vendor lock-in, no analytics data
being collected, transparent & open-source software.
</p>
</div>
<Link
href="https://www.bracketapp.nl/demo"
className={`w-full md:w-auto ${buttonVariants({
variant: "default",
})}`}
>
<IconRocket size="32px" style={{ marginRight: "0.5rem", height: "32px" }} />
Launch Demo
</Link>
</div>
</section>
);
};