Skip to content

Commit 9abd14c

Browse files
fix lint
1 parent 818920f commit 9abd14c

63 files changed

Lines changed: 689 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
"use client";
2+
3+
import BatchHeroConverter from "@/components/BatchHeroConverter";
4+
import { VideoSection } from "@/components/sections/VideoSection";
5+
import { AboutFormatsSection } from "@/components/sections/AboutFormatsSection";
6+
import { FAQSection } from "@/components/sections/FAQSection";
7+
import { ToolsLinkHub } from "@/components/sections/ToolsLinkHub";
8+
import { BlogSection } from "@/components/sections/BlogSection";
9+
import { ChangelogSection } from "@/components/sections/ChangelogSection";
10+
import { toolContent } from '@/lib/tool-content';
11+
12+
export default function Page() {
13+
const content = toolContent["batch-compress-png"];
14+
15+
if (!content) {
16+
return <div>Tool not found</div>;
17+
}
18+
19+
return (
20+
<main className="min-h-screen bg-background">
21+
{/* Hero Section with Batch Tool */}
22+
<BatchHeroConverter
23+
title={content.tool.title}
24+
subtitle={content.tool.subtitle}
25+
from={content.tool.from}
26+
to={content.tool.to}
27+
accept={content.tool.accept}
28+
/>
29+
30+
{/* About the Formats Section */}
31+
{content.aboutSection && (
32+
<AboutFormatsSection
33+
fromFormat={content.aboutSection.fromFormat}
34+
toFormat={content.aboutSection.toFormat}
35+
/>
36+
)}
37+
38+
{/* Video Section */}
39+
{content.videoSection && <VideoSection embedId={content.videoSection.embedId} />}
40+
41+
{/* FAQs Section */}
42+
{content.faqs && <FAQSection faqs={content.faqs} />}
43+
44+
{/* Blog Articles Section */}
45+
{content.blogPosts && <BlogSection blogPosts={content.blogPosts} />}
46+
47+
{/* Changelog Section */}
48+
{content.changelog && <ChangelogSection changelog={content.changelog} />}
49+
50+
{/* Related Tools Link Hub */}
51+
<ToolsLinkHub relatedTools={content.relatedTools} />
52+
</main>
53+
);
54+
}

0 commit comments

Comments
 (0)