Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
docimin committed Jan 26, 2025
1 parent 9b37127 commit ddcd993
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 38 deletions.
Binary file added public/PixelMplus12-Bold.woff2
Binary file not shown.
Binary file added public/PixelMplus12-Regular.woff2
Binary file not shown.
36 changes: 0 additions & 36 deletions src/app/api/projects/route.ts

This file was deleted.

8 changes: 7 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import { Providers } from '@/components/providers'
import ClickSound from '@/hooks/click'
import ContextMenuProvider from '@/components/contextMenu'
import localFont from 'next/font/local'
import React from 'react'

const pixelFont = localFont({
src: '../../public/fonts/PixelMplus12-Regular.woff2',
display: 'swap',
})

export const metadata = {
Expand Down Expand Up @@ -38,7 +40,11 @@ export const metadata = {
metadataBase: new URL('https://fayevr.dev'),
}

export default function RootLayout({ children }) {
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode
}>) {
return (
<html className="h-full" suppressHydrationWarning>
<body
Expand Down
3 changes: 2 additions & 1 deletion src/app/projects/page.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import Link from 'next/link'
import { cn } from '@/lib/utils'
import { getProjects } from '@/lib/server-calls'
import React from 'react'
import { ProjectsDocumentsType } from '@/lib/types/projects'

export default function ProjectsClient() {
const [projects, setProjects] = React.useState([])
const [projects, setProjects] = React.useState<ProjectsDocumentsType[]>([])

React.useEffect(() => {
const fetchProjects = async () => {
Expand Down

0 comments on commit ddcd993

Please sign in to comment.