1
0
mirror of https://github.com/LinkStackOrg/LinkStack.git synced 2025-04-23 14:47:33 +02:00

Update DarkMode inclusion to use Blade syntax in view files

This commit is contained in:
Julian Prieber 2024-12-20 11:49:15 +01:00
parent 6b48bc2d18
commit bc65ee9cc6
5 changed files with 10 additions and 5 deletions

@ -1,4 +1,3 @@
<?php include app_path("View/Includes/DarkMode.php"); ?>
<!doctype html>
@include('layouts.lang')
<head>
@ -11,6 +10,8 @@
<title>{{ config('app.name') }}</title>
@endif
@php include app_path("View/Includes/DarkMode.php"); @endphp
<!--#### BEGIN Meta Tags social media preview images ####-->
<!-- This shows a preview for title, description and avatar image of users profiles if shared on social media sites -->

@ -1,4 +1,3 @@
<?php include app_path("View/Includes/DarkMode.php"); ?>
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
@ -17,6 +16,8 @@
<title>{{ config('app.name') }}</title>
@php include app_path("View/Includes/DarkMode.php"); @endphp
<!-- Fonts -->
@include('layouts.fonts')

@ -2,7 +2,6 @@
use SimpleSoftwareIO\QrCode\Facades\QrCode;
use App\Models\User;
use App\Models\UserData;
include app_path("View/Includes/DarkMode.php");
$usrhandl = Auth::user()->littlelink_name;
@ -20,6 +19,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{ env('APP_NAME') }}</title>
@php include app_path("View/Includes/DarkMode.php"); @endphp
@if($spa)
@livewireStyles
@endif

@ -1,4 +1,3 @@
<?php include app_path("View/Includes/DarkMode.php"); ?>
<!doctype html>
@include('layouts.lang')
<head>
@ -11,6 +10,8 @@
<title>{{ config('app.name') }}</title>
@endif
@php include app_path("View/Includes/DarkMode.php"); @endphp
<!-- Favicon -->
@if(file_exists(base_path("assets/linkstack/images/").findFile('favicon')))
<link rel="icon" type="image/png" href="{{ asset('assets/linkstack/images/'.findFile('favicon')) }}">

@ -1,4 +1,3 @@
<?php include app_path("View/Includes/DarkMode.php"); ?>
<!doctype html>
@include('layouts.lang')
<head>
@ -11,6 +10,8 @@
<title>{{ config('app.name') }}</title>
@endif
@php include app_path("View/Includes/DarkMode.php"); @endphp
<!-- Favicon -->
@if(file_exists(base_path("assets/linkstack/images/").findFile('favicon')))
<link rel="icon" type="image/png" href="{{ asset('assets/linkstack/images/'.findFile('favicon')) }}">