refactor: externalize AppPage component and streamline all tool pages
This commit is contained in:
@@ -1,17 +1,13 @@
|
||||
import { FigletConverter } from '@/components/figlet/FigletConverter';
|
||||
import { AppPage } from '@/components/layout/AppPage';
|
||||
|
||||
export default function FigletPage() {
|
||||
return (
|
||||
<div className="min-h-screen py-12">
|
||||
<div className="max-w-7xl mx-auto px-8 space-y-8">
|
||||
<div>
|
||||
<h1 className="text-4xl font-bold mb-2">Figlet ASCII</h1>
|
||||
<p className="text-muted-foreground">
|
||||
ASCII Art Text Generator with 373 Fonts
|
||||
</p>
|
||||
</div>
|
||||
<FigletConverter />
|
||||
</div>
|
||||
</div>
|
||||
<AppPage
|
||||
title="Figlet ASCII"
|
||||
description="ASCII Art Text Generator with 373 Fonts"
|
||||
>
|
||||
<FigletConverter />
|
||||
</AppPage>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user