From 40401166494fc815eb8dbba3dd23ae5500c524dd Mon Sep 17 00:00:00 2001
From: songtianlun
Date: Thu, 3 Jul 2025 00:34:50 +0800
Subject: [PATCH] fix layout
---
src/app/layout.tsx | 5 +++++
src/app/page.tsx | 5 +++++
src/components/ComparisonResults.tsx | 12 +-----------
src/components/ComparisonTips.tsx | 25 +++++++++++++++++++++++++
4 files changed, 36 insertions(+), 11 deletions(-)
create mode 100644 src/components/ComparisonTips.tsx
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 3babebf..49a9f89 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -108,6 +108,11 @@ export default function RootLayout({
data-site-id="13"
defer
>
+
)}
+
+
+
+
);
diff --git a/src/components/ComparisonResults.tsx b/src/components/ComparisonResults.tsx
index 440985b..9c3f24a 100644
--- a/src/components/ComparisonResults.tsx
+++ b/src/components/ComparisonResults.tsx
@@ -11,7 +11,7 @@ export default function ComparisonResults({ results }: ComparisonResultsProps) {
return (
Comparison Results
-
+
-
-
-
💡 Tips for better comparisons:
-
- - • Be specific: "iPhone 15 Pro" vs "iPhone 15"
- - • Add context in descriptions for nuanced analysis
- - • Compare similar categories for meaningful results
- - • Try abstract concepts too: "Remote work" vs "Office work"
-
-
);
}
\ No newline at end of file
diff --git a/src/components/ComparisonTips.tsx b/src/components/ComparisonTips.tsx
new file mode 100644
index 0000000..ee71129
--- /dev/null
+++ b/src/components/ComparisonTips.tsx
@@ -0,0 +1,25 @@
+export default function ComparisonTips() {
+ return (
+
+
💡 Tips for better comparisons
+
+ -
+ •
+ Be specific: "iPhone 15 Pro" vs "iPhone 15"
+
+ -
+ •
+ Add context in descriptions for nuanced analysis
+
+ -
+ •
+ Compare similar categories for meaningful results
+
+ -
+ •
+ Try abstract concepts too: "Remote work" vs "Office work"
+
+
+
+ );
+}
\ No newline at end of file