Skip to content

Commit

Permalink
refactor: update font
Browse files Browse the repository at this point in the history
  • Loading branch information
Iam-DeepakVel committed Dec 21, 2023
1 parent 68605af commit 31cc499
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/(landing)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function LandingPage() {
</Link>
)}
</div>
<div className="md:absolute right-24 place-self-center -mt-28 -ml-10">
<div className="md:absolute right-24 place-self-center -mt-28 -ml-10">
<img
src="/assets/images/kitty-chan-logo.png"
alt="kitty chan"
Expand Down
1 change: 0 additions & 1 deletion app/(servers)/servers/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ const ServersPage = () => {
</div>
<img
src="/assets/images/discord-avatar-2.png"

alt="kitty chan"
className="hidden md:block sticky col-span-2 top-0"
/>
Expand Down
5 changes: 5 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
@tailwind components;
@tailwind utilities;

@font-face {
font-family: "Ps";
src: url("../public/fonts/Ps.woff");
}

@layer base {
:root {
--background: 0 0% 100%;
Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={openSans.className}>
<body className="font-ps">
<ThemeProvider
attribute="class"
defaultTheme="dark"
Expand Down
Binary file added public/fonts/Ps.woff
Binary file not shown.
1 change: 1 addition & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module.exports = {
},
},
extend: {
fontFamily: { ps: ["Ps"] },
backgroundImage: {
"kitty-chan-bg": "url('/assets/images/kitty-chan-bg.webp')",
},
Expand Down

0 comments on commit 31cc499

Please sign in to comment.