feat: Use application name from .env

This commit is contained in:
kbe
2025-08-18 00:25:14 +02:00
parent 2927a8344f
commit 3c6389c6e2
4 changed files with 4 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
<div class="flex">
<!-- Logo -->
<div class="shrink-0 flex items-center">
<%= link_to "Aperonight", "/", class: "text-white text-xl font-bold" %>
<%= link_to Rails.application.config.app_name, "/", class: "text-white text-xl font-bold" %>
</div>
<!-- Navigation Links -->

View File

@@ -238,7 +238,7 @@
<section class="bg-gray-900 py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-4xl font-bold text-white mb-4">Pourquoi choisir Aperonight ?</h2>
<h2 class="text-4xl font-bold text-white mb-4">Pourquoi choisir <%= Rails.application.config.app_name %> ?</h2>
<p class="text-xl text-gray-400 max-w-2xl mx-auto">La plateforme préférée des Parisiens pour sortir</p>
</div>