mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 07:31:07 -05:00
Improve the visual layout and spacing of the enhanced header component
Adjusted CSS classes in `enhanced_header.html` to increase the width of the dropdown menu, increase grid gap, and modify padding/margins for better visual presentation. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c537be14-ffc2-48de-88ef-2bdd9e6ae15a Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d6d61dac-164d-45dd-929f-7dcdfd771b64/c537be14-ffc2-48de-88ef-2bdd9e6ae15a/c8DPZlH
This commit is contained in:
4
.replit
4
.replit
@@ -43,6 +43,10 @@ externalPort = 3000
|
|||||||
localPort = 45245
|
localPort = 45245
|
||||||
externalPort = 3001
|
externalPort = 3001
|
||||||
|
|
||||||
|
[[ports]]
|
||||||
|
localPort = 46253
|
||||||
|
externalPort = 3002
|
||||||
|
|
||||||
[deployment]
|
[deployment]
|
||||||
deploymentTarget = "autoscale"
|
deploymentTarget = "autoscale"
|
||||||
run = ["gunicorn", "--bind=0.0.0.0:5000", "--reuse-port", "thrillwiki.wsgi:application"]
|
run = ["gunicorn", "--bind=0.0.0.0:5000", "--reuse-port", "thrillwiki.wsgi:application"]
|
||||||
|
|||||||
@@ -45,44 +45,44 @@ Includes: Browse menu, advanced search, theme toggle, user dropdown, mobile menu
|
|||||||
x-transition:leave-start="transform opacity-100 scale-100"
|
x-transition:leave-start="transform opacity-100 scale-100"
|
||||||
x-transition:leave-end="transform opacity-0 scale-95"
|
x-transition:leave-end="transform opacity-0 scale-95"
|
||||||
x-cloak
|
x-cloak
|
||||||
class="absolute left-0 mt-2 w-[480px] p-6 bg-background border rounded-lg shadow-lg z-50"
|
class="absolute left-0 mt-2 w-[600px] p-6 bg-background border rounded-lg shadow-lg z-50"
|
||||||
>
|
>
|
||||||
<div class="grid grid-cols-2 gap-6">
|
<div class="grid grid-cols-2 gap-8">
|
||||||
<!-- Left Column -->
|
<!-- Left Column -->
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<a
|
<a
|
||||||
href="{% url 'parks:park_list' %}"
|
href="{% url 'parks:park_list' %}"
|
||||||
class="flex items-start gap-3 p-3 rounded-lg hover:bg-accent transition-colors group"
|
class="flex items-start gap-3 p-4 rounded-lg hover:bg-accent transition-colors group"
|
||||||
@click="open = false"
|
@click="open = false"
|
||||||
>
|
>
|
||||||
<i class="fas fa-map-marker-alt w-5 h-5 mt-0.5 text-muted-foreground group-hover:text-foreground"></i>
|
<i class="fas fa-map-marker-alt w-5 h-5 mt-1 text-muted-foreground group-hover:text-foreground flex-shrink-0"></i>
|
||||||
<div>
|
<div class="min-w-0 flex-1">
|
||||||
<h3 class="font-semibold text-sm mb-1">Parks</h3>
|
<h3 class="font-semibold text-sm mb-1.5 leading-tight">Parks</h3>
|
||||||
<p class="text-xs text-muted-foreground">Explore theme parks worldwide</p>
|
<p class="text-xs text-muted-foreground leading-relaxed">Explore theme parks worldwide</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="{% url 'rides:manufacturer_list' %}"
|
href="{% url 'rides:manufacturer_list' %}"
|
||||||
class="flex items-start gap-3 p-3 rounded-lg hover:bg-accent transition-colors group"
|
class="flex items-start gap-3 p-4 rounded-lg hover:bg-accent transition-colors group"
|
||||||
@click="open = false"
|
@click="open = false"
|
||||||
>
|
>
|
||||||
<i class="fas fa-wrench w-5 h-5 mt-0.5 text-muted-foreground group-hover:text-foreground"></i>
|
<i class="fas fa-wrench w-5 h-5 mt-1 text-muted-foreground group-hover:text-foreground flex-shrink-0"></i>
|
||||||
<div>
|
<div class="min-w-0 flex-1">
|
||||||
<h3 class="font-semibold text-sm mb-1">Manufacturers</h3>
|
<h3 class="font-semibold text-sm mb-1.5 leading-tight">Manufacturers</h3>
|
||||||
<p class="text-xs text-muted-foreground">Ride and attraction manufacturers</p>
|
<p class="text-xs text-muted-foreground leading-relaxed">Ride and attraction manufacturers</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="{% url 'parks:operator_list' %}"
|
href="{% url 'parks:operator_list' %}"
|
||||||
class="flex items-start gap-3 p-3 rounded-lg hover:bg-accent transition-colors group"
|
class="flex items-start gap-3 p-4 rounded-lg hover:bg-accent transition-colors group"
|
||||||
@click="open = false"
|
@click="open = false"
|
||||||
>
|
>
|
||||||
<i class="fas fa-users w-5 h-5 mt-0.5 text-muted-foreground group-hover:text-foreground"></i>
|
<i class="fas fa-users w-5 h-5 mt-1 text-muted-foreground group-hover:text-foreground flex-shrink-0"></i>
|
||||||
<div>
|
<div class="min-w-0 flex-1">
|
||||||
<h3 class="font-semibold text-sm mb-1">Operators</h3>
|
<h3 class="font-semibold text-sm mb-1.5 leading-tight">Operators</h3>
|
||||||
<p class="text-xs text-muted-foreground">Theme park operating companies</p>
|
<p class="text-xs text-muted-foreground leading-relaxed">Theme park operating companies</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -91,37 +91,37 @@ Includes: Browse menu, advanced search, theme toggle, user dropdown, mobile menu
|
|||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<a
|
<a
|
||||||
href="{% url 'rides:global_ride_list' %}"
|
href="{% url 'rides:global_ride_list' %}"
|
||||||
class="flex items-start gap-3 p-3 rounded-lg hover:bg-accent transition-colors group"
|
class="flex items-start gap-3 p-4 rounded-lg hover:bg-accent transition-colors group"
|
||||||
@click="open = false"
|
@click="open = false"
|
||||||
>
|
>
|
||||||
<i class="fas fa-rocket w-5 h-5 mt-0.5 text-muted-foreground group-hover:text-foreground"></i>
|
<i class="fas fa-rocket w-5 h-5 mt-1 text-muted-foreground group-hover:text-foreground flex-shrink-0"></i>
|
||||||
<div>
|
<div class="min-w-0 flex-1">
|
||||||
<h3 class="font-semibold text-sm mb-1">Rides</h3>
|
<h3 class="font-semibold text-sm mb-1.5 leading-tight">Rides</h3>
|
||||||
<p class="text-xs text-muted-foreground">Discover rides and attractions</p>
|
<p class="text-xs text-muted-foreground leading-relaxed">Discover rides and attractions</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="{% url 'rides:designer_list' %}"
|
href="{% url 'rides:designer_list' %}"
|
||||||
class="flex items-start gap-3 p-3 rounded-lg hover:bg-accent transition-colors group"
|
class="flex items-start gap-3 p-4 rounded-lg hover:bg-accent transition-colors group"
|
||||||
@click="open = false"
|
@click="open = false"
|
||||||
>
|
>
|
||||||
<i class="fas fa-drafting-compass w-5 h-5 mt-0.5 text-muted-foreground group-hover:text-foreground"></i>
|
<i class="fas fa-drafting-compass w-5 h-5 mt-1 text-muted-foreground group-hover:text-foreground flex-shrink-0"></i>
|
||||||
<div>
|
<div class="min-w-0 flex-1">
|
||||||
<h3 class="font-semibold text-sm mb-1">Designers</h3>
|
<h3 class="font-semibold text-sm mb-1.5 leading-tight">Designers</h3>
|
||||||
<p class="text-xs text-muted-foreground">Ride designers and architects</p>
|
<p class="text-xs text-muted-foreground leading-relaxed">Ride designers and architects</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="#"
|
href="#"
|
||||||
class="flex items-start gap-3 p-3 rounded-lg hover:bg-accent transition-colors group"
|
class="flex items-start gap-3 p-4 rounded-lg hover:bg-accent transition-colors group"
|
||||||
@click="open = false"
|
@click="open = false"
|
||||||
>
|
>
|
||||||
<i class="fas fa-trophy w-5 h-5 mt-0.5 text-muted-foreground group-hover:text-foreground"></i>
|
<i class="fas fa-trophy w-5 h-5 mt-1 text-muted-foreground group-hover:text-foreground flex-shrink-0"></i>
|
||||||
<div>
|
<div class="min-w-0 flex-1">
|
||||||
<h3 class="font-semibold text-sm mb-1">Top Lists</h3>
|
<h3 class="font-semibold text-sm mb-1.5 leading-tight">Top Lists</h3>
|
||||||
<p class="text-xs text-muted-foreground">Community rankings and favorites</p>
|
<p class="text-xs text-muted-foreground leading-relaxed">Community rankings and favorites</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user