From 5413d09737ada1b16673733f1a4f03971b3b9b00 Mon Sep 17 00:00:00 2001
From: Yassine Doghri <yassine@doghri.fr>
Date: Mon, 20 Sep 2021 10:50:27 +0000
Subject: [PATCH] style: update app layout and map view styles

---
 app/Views/map.php         | 15 +++++++++------
 themes/cp_app/_layout.php |  6 +++---
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/app/Views/map.php b/app/Views/map.php
index 4daeb9f70a..ff9fac45eb 100644
--- a/app/Views/map.php
+++ b/app/Views/map.php
@@ -1,6 +1,7 @@
 <?= helper('page') ?>
 <!DOCTYPE html>
-<html lang="<?= service('request')->getLocale() ?>" class="h-full">
+<html lang="<?= service('request')
+    ->getLocale() ?>" class="h-full">
 
 <head>
     <meta charset="UTF-8"/>
@@ -8,8 +9,10 @@
     <meta name="description" content="Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience."/>
     <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
     <link rel="shortcut icon" type="image/png" href="/favicon.ico" />
-    <?= service('vite')->asset('styles/index.css', 'css') ?>
-    <?= service('vite')->asset('js/map.ts', 'js') ?>
+    <?= service('vite')
+        ->asset('styles/index.css', 'css') ?>
+    <?= service('vite')
+        ->asset('js/map.ts', 'js') ?>
 </head>
 
 <body class="flex flex-col h-full min-h-screen mx-auto bg-gray-100">
@@ -17,9 +20,9 @@
         <div class="container flex flex-col px-2 py-4 mx-auto">
             <a href="<?= route_to('home') ?>"
             class="inline-flex items-center mb-2"><?= icon(
-                'arrow-left',
-                'mr-2',
-            ) . lang('Page.back_to_home') ?></a>
+            'arrow-left',
+            'mr-2',
+        ) . lang('Page.back_to_home') ?></a>
             <h1 class="text-3xl font-semibold"><?= lang('Page.map') ?></h1>
         </div>
     </header>
diff --git a/themes/cp_app/_layout.php b/themes/cp_app/_layout.php
index 12839a5b7d..c0c05b2c7e 100644
--- a/themes/cp_app/_layout.php
+++ b/themes/cp_app/_layout.php
@@ -21,9 +21,9 @@
         <div class="container flex flex-col px-2 py-4 mx-auto">
             <a href="<?= route_to('home') ?>"
             class="inline-flex items-center mb-2"><?= icon(
-                'arrow-left',
-                'mr-2',
-            ) . lang('Page.back_to_home') ?></a>
+            'arrow-left',
+            'mr-2',
+        ) . lang('Page.back_to_home') ?></a>
             <h1 class="text-3xl font-semibold"><?= isset($page)
     ? $page->title
     : 'Castopod' ?></h1>
-- 
GitLab