I'll help you fix the logo display issue in the landing page. Let me first examine the current code to understand how logos are being displayed and then fix the sizing issue.
Tool use: read_file
Read file: app/[slug]/landing-page-client.tsx
Now I can see the issue. Looking at the logo display code around lines 826-838, I can see that the logo is being displayed with fixed dimensions (w-16 h-16 for the container and w-12 h-12 for the image). The problem is that the logo might not be displaying at its full size due to the object-contain class and the fixed container size.
Let me create a todo list to track the fixes needed:
Tool use: todo_write
Todo List
Now let me fix the logo display issue. The problem is in the logo container and image sizing. I'll update the code to make the logo display at its proper size:
Tool use: search_replace
Edit file: app/[slug]/landing-page-client.tsx
Chunk 1
Lines added: 1, lines removed: 1
diff Copy code
@@ -825,5 +825,5 @@
{/* Logo at the top - centered */}
{config.logoUrl && (
- <div className="w-16 h-16 flex items-center justify-center bg-gradient-to-br from-white/30 to-white/10 backdrop-blur-md rounded-2xl border border-white/40 shadow-2xl group-hover:from-white/40 group-hover:to-white/20 group-hover:scale-110 transition-all duration-500 relative overflow-hidden">
+ <div className="min-w-[80px] min-h-[80px] max-w-[120px] max-h-[120px] flex items-center justify-center bg-gradient-to-br from-white/30 to-white/10 backdrop-blur-md rounded-2xl border border-white/40 shadow-2xl group-hover:from-white/40 group-hover:to-white/20 group-hover:scale-110 transition-all duration-500 relative overflow-hidden p-3">
{/* Animated background pattern */}
<div className="absolute inset-0 bg-gradient-to-r from-blue-500/20 via-purple-500/20 to-pink-500/20 opacity-0 group-hover:opacity-100 transition-opacity duration-500"></div>
Chunk 2
Lines added: 8, lines removed: 1
diff Copy code
@@ -833,5 +833,12 @@
src={config.logoUrl}
alt="Logo"
- className="w-12 h-12 object-contain relative z-10 group-hover:scale-110 transition-transform duration-500"
+ className="max-w-full max-h-full w-auto h-auto object-contain relative z-10 group-hover:scale-110 transition-transform duration-500"
+ style={{
+ width: 'auto',
+ height: 'auto',
+ maxWidth: '100%',
+ maxHeight: '100%',
+ objectFit: 'contain'
+ }}
/>
</div>
Now let me also improve the action button images to ensure they display properly as well:
Tool use: search_replace
Edit file: app/[slug]/landing-page-client.tsx
Chunk 1
Lines added: 9, lines removed: 2
diff Copy code
@@ -847,9 +847,16 @@
{/* Buton fotoğrafı - centered below logo */}
{action.image_url && (
- <div className="w-12 h-12 flex items-center justify-center bg-gradient-to-br from-white/25 to-white/15 backdrop-blur-sm rounded-xl border border-white/35 shadow-lg group-hover:from-white/35 group-hover:to-white/25 group-hover:scale-105 transition-all duration-300">
+ <div className="min-w-[48px] min-h-[48px] max-w-[60px] max-h-[60px] flex items-center justify-center bg-gradient-to-br from-white/25 to-white/15 backdrop-blur-sm rounded-xl border border-white/35 shadow-lg group-hover:from-white/35 group-hover:to-white/25 group-hover:scale-105 transition-all duration-300 p-2">
<img
src={action.image_url}
alt={action.label}
- className="w-8 h-8 object-cover rounded-lg group-hover:scale-105 transition-transform duration-300"
+ className="max-w-full max-h-full w-auto h-auto object-contain rounded-lg group-hover:scale-105 transition-transform duration-300"
+ style={{
+ width: 'auto',
+ height: 'auto',
+ maxWidth: '100%',
+ maxHeight: '100%',
+ objectFit: 'contain'
+ }}
/>
</div>
Now let me update the todo list to mark the first task as completed and continue with the next one:
Tool use: todo_write
Todo List
Let me check for any linting errors in the file:
Tool use: read_lints
code Copy code
Read lints for 1 file
Lint paths:
app/[slug]/landing-page-client.tsx
Lint results
Lint errors for app/[slug]/landing-page-client.tsx
Message Range Severity 'getTitleStyles' is declared but its value is never read. 12:29-12:43 DIAGNOSTIC_SEVERITY_HINT 'getAccentElement' is declared but its value is never read. 12:67-12:83 DIAGNOSTIC_SEVERITY_HINT 'TitleStylePreset' is declared but its value is never read. 12:90-12:106 DIAGNOSTIC_SEVERITY_HINT 'prefersReducedMotion' is declared but its value is never read. 32:10-32:30 DIAGNOSTIC_SEVERITY_HINT 'supabase' is declared but its value is never read. 65:9-65:17 DIAGNOSTIC_SEVERITY_HINT 'backgroundStyle' is declared but its value is never read. 701:21-701:36 DIAGNOSTIC_SEVERITY_HINT 'hoverBackgroundStyle' is declared but its value is never read. 705:21-705:41 DIAGNOSTIC_SEVERITY_HINT
Perfect! Now let me complete the final todo:
Tool use: todo_write
Todo List
Logo görüntüleme sorununu düzelttim! Yaptığım değişiklikler:
Ana Logo (config.logoUrl) için:
Sabit boyutlar yerine esnek boyutlar : w-16 h-16 yerine min-w-[80px] min-h-[80px] max-w-[120px] max-h-[120px] kullandım
Padding eklendi : Logo için daha fazla alan sağlamak için p-3 padding ekledim
Görsel boyutlandırma : w-12 h-12 yerine max-w-full max-h-full w-auto h-auto kullandım
object-contain : Logoların oranlarını koruyarak tam boyutlarında görünmesini sağladım
Buton Resimleri (action.image_url) için:
Esnek boyutlar : w-12 h-12 yerine min-w-[48px] min-h-[48px] max-w-[60px] max-h-[60px] kullandım
Padding eklendi : Resimler için p-2 padding ekledim
object-contain : Resimlerin oranlarını koruyarak tam boyutlarında görünmesini sağladım
Temel İyileştirmeler:
Responsive tasarım : Logolar artık farklı boyutlarda düzgün görünecek
Oran korunması : object-contain ile logoların oranları bozulmayacak
Esnek konteynerler : Min/max boyutlar ile logolar için uygun alan sağlandı
Görsel kalite : Logolar artık tam boyutlarında ve net görünecek
Artık logolar tasarımda tam boyutlarında ve düzgün şekilde görünecek!