From 46b75dff64c9e95a7f8bb655f231172c18d47485 Mon Sep 17 00:00:00 2001 From: smian1 Date: Tue, 3 Dec 2024 20:46:36 -0800 Subject: [PATCH] rem instead of px --- frontend/src/app/apps/[id]/page.tsx | 18 +++++++++--------- .../src/app/apps/category/[category]/page.tsx | 16 ++++++++-------- frontend/src/app/apps/page.tsx | 8 ++++++-- frontend/src/app/page.tsx | 12 ++++++------ 4 files changed, 29 insertions(+), 25 deletions(-) diff --git a/frontend/src/app/apps/[id]/page.tsx b/frontend/src/app/apps/[id]/page.tsx index e1d8969ab..d9df32a31 100644 --- a/frontend/src/app/apps/[id]/page.tsx +++ b/frontend/src/app/apps/[id]/page.tsx @@ -204,22 +204,22 @@ export default async function PluginDetailView({ params }: { params: { id: strin dangerouslySetInnerHTML={generateStructuredData(plugin, categoryName)} /> {/* Fixed Header and Navigation */} -
+
-
+
{/* Main Content */} -
-
+
+
{/* Hero Section */} -
+
{/* Image Column - 3 columns */}
-
+
{plugin.name}

{plugin.name}

-

by {plugin.author}

+

by {plugin.author}

{/* Stats Section */} -
+
{plugin.rating_avg?.toFixed(1)} -
+
({plugin.rating_count} reviews) diff --git a/frontend/src/app/apps/category/[category]/page.tsx b/frontend/src/app/apps/category/[category]/page.tsx index 68c3350c6..63acf2b26 100644 --- a/frontend/src/app/apps/category/[category]/page.tsx +++ b/frontend/src/app/apps/category/[category]/page.tsx @@ -137,11 +137,11 @@ export default async function CategoryPage({ params }: CategoryPageProps) { return (
{/* Fixed Header and Navigation */} -
-
+
+
-
+
-
+
-
+
@@ -163,10 +163,10 @@ export default async function CategoryPage({ params }: CategoryPageProps) {
{/* Main Content */} -
-
+
+
-
+
{/* New/Recent This Week Section */}

diff --git a/frontend/src/app/apps/page.tsx b/frontend/src/app/apps/page.tsx index 5dfe4ddc3..66bf40dca 100644 --- a/frontend/src/app/apps/page.tsx +++ b/frontend/src/app/apps/page.tsx @@ -57,8 +57,12 @@ export async function generateMetadata(): Promise { export default async function AppsPage() { return (
- - +
+ +
+ +
+
); } diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index c98e9b86a..0aa730cb1 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -5,26 +5,26 @@ import { redirect } from 'next/navigation'; export default function Home() { redirect('/apps'); return ( -
-
+
+
Based Hardware Logo -

+

We are working in this feature

-

+

For now, you can order Omi wearable. Remember everything you want to remember with Omi.

Order now