Skip to content

Commit

Permalink
feat(docs): add new fonts Gotham SS (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandotdev authored Apr 20, 2024
1 parent 6195cd2 commit fe7e574
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
12 changes: 11 additions & 1 deletion docs/components/home.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import { Button } from "@openui-org/react/components";
import Link from "next/link";

export default function Home() {
return (
<section className="py-20 sm:py-24 relative">
Expand All @@ -12,7 +15,7 @@ export default function Home() {
and
<b className="text-sky"> Tailwind CSS </b>
</h1>
<p className="mt-6 text-lg tracking-tight text-foreground text-pretty">
<p className="mt-6 text-base tracking-tight text-foreground text-pretty">
Open UI is an open source design system with a completely
cutting-edge system.
{' '}
Expand All @@ -21,6 +24,13 @@ export default function Home() {
Fully customizable and modifiable you
will make UI development much faster with fully stylized components.
</p>
<div className="mt-10 flex flex-wrap gap-x-6 gap-y-3 justify-center">
<Button asChild>
<Link href="/docs/introduction">
Getting Started
</Link>
</Button>
</div>
</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/components/logo.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default function logo() {
return (
<h2 className="text-3xl font-bold tracking-tight">Open UI</h2>
<h2 className="text-3xl font-bold">Open <b className="text-sky">UI</b></h2>
)
}
Binary file added docs/fonts/GothamSSm-medium.woff2
Binary file not shown.
12 changes: 12 additions & 0 deletions docs/globals.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
@font-face {
font-family: 'Gotham Medium';
src: url('./fonts/GothamSSm-medium.woff2') format('woff2');
}
html,
body {
scroll-behavior: smooth;
font-family: 'Gotham Medium', system-ui, sans-serif;
}
}

0 comments on commit fe7e574

Please sign in to comment.