Rename classes
This commit is contained in:
4 files changed
+8
-6
No files matched your search
+1
-3
@@ -9,7 +9,7 @@ const ubuntu = Ubuntu({
|
|||||||
subsets: ['latin']
|
subsets: ['latin']
|
||||||
})
|
})
|
||||||
|
|
||||||
const Layout = ({ children }: { children: React.ReactNode }) => {
|
export default function Layout ({ children }: { children: React.ReactNode }) {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const handler = (e: MouseEvent) => e.preventDefault()
|
const handler = (e: MouseEvent) => e.preventDefault()
|
||||||
document.addEventListener('contextmenu', handler)
|
document.addEventListener('contextmenu', handler)
|
||||||
@@ -24,5 +24,3 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
|
|||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Layout
|
|
||||||
@@ -6,7 +6,11 @@ import { app } from '@tauri-apps/api'
|
|||||||
import Image from 'next/image'
|
import Image from 'next/image'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
|
|
||||||
export default function Layout ({ children }: { children: React.ReactNode }) {
|
export default function ProjectManageR_Layout ({
|
||||||
|
children
|
||||||
|
}: {
|
||||||
|
children: React.ReactNode
|
||||||
|
}) {
|
||||||
const [version, setVersion] = useState<string | null>(null)
|
const [version, setVersion] = useState<string | null>(null)
|
||||||
const [rotation, setRotation] = useState<number>(0)
|
const [rotation, setRotation] = useState<number>(0)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import { WebviewWindow } from '@tauri-apps/api/webviewWindow'
|
import { WebviewWindow } from '@tauri-apps/api/webviewWindow'
|
||||||
import './ProjecftManager_projects.css'
|
import './ProjecftManager_projects.css'
|
||||||
|
|
||||||
export default function Projects () {
|
export default function ProjectManager_Projects () {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className='topbar'>
|
<div className='topbar'>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
'use client'
|
'use client'
|
||||||
|
|
||||||
export default function Settings () {
|
export default function ProjectManager_Settings () {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<p>Settings</p>
|
<p>Settings</p>
|
||||||
|
|||||||
Reference in new issue
Block a user