mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-15 03:20:52 +01:00
Update DarkMode inclusion to use Blade syntax in view files
This commit is contained in:
parent
6b48bc2d18
commit
bc65ee9cc6
@ -1,4 +1,3 @@
|
||||
<?php include app_path("View/Includes/DarkMode.php"); ?>
|
||||
<!doctype html>
|
||||
@include('layouts.lang')
|
||||
<head>
|
||||
@ -10,6 +9,8 @@
|
||||
@else
|
||||
<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>
|
||||
@ -10,6 +9,8 @@
|
||||
@else
|
||||
<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')))
|
||||
|
@ -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')) }}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user