Update littlelink.blade.php
This commit is contained in:
parent
5a02ceaaec
commit
0623352217
|
@ -40,18 +40,25 @@
|
||||||
|
|
||||||
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
|
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/brands.css') }}">
|
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/hover-min.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/hover-min.css') }}">
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/share.button.css') }}">
|
|
||||||
@if(file_exists(base_path("littlelink/images/avatar.png" )))
|
@if(file_exists(base_path("littlelink/images/avatar.png" )))
|
||||||
<link rel="icon" type="image/png" href="{{ asset('littlelink/images/avatar.png') }}">
|
<link rel="icon" type="image/png" href="{{ asset('littlelink/images/avatar.png') }}">
|
||||||
@else
|
@else
|
||||||
<link rel="icon" type="image/svg+xml" href="{{ asset('littlelink/images/logo.svg') }}">
|
<link rel="icon" type="image/svg+xml" href="{{ asset('littlelink/images/logo.svg') }}">
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@foreach($information as $info)
|
||||||
|
@if($info->theme != '' and $info->theme != 'default')
|
||||||
|
<link rel="stylesheet" href="themes/{{$info->theme}}/share.button.css">
|
||||||
|
<link rel="stylesheet" href="themes/{{$info->theme}}/brands.css">
|
||||||
|
<link rel="stylesheet" href="themes/{{$info->theme}}/skeleton-auto.css">
|
||||||
|
|
||||||
|
@else
|
||||||
<?php // override dark/light mode if override cookie is set
|
<?php // override dark/light mode if override cookie is set
|
||||||
$color_scheme_override = isset($_COOKIE["color_scheme_override"]) ? $_COOKIE["color_scheme_override"] : false; ?>
|
$color_scheme_override = isset($_COOKIE["color_scheme_override"]) ? $_COOKIE["color_scheme_override"] : false; ?>
|
||||||
|
<link rel="stylesheet" href="{{ asset('littlelink/css/share.button.css') }}">
|
||||||
|
<link rel="stylesheet" href="{{ asset('littlelink/css/brands.css') }}">
|
||||||
@if ($color_scheme_override == 'dark')
|
@if ($color_scheme_override == 'dark')
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-dark.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-dark.css') }}">
|
||||||
@elseif ($color_scheme_override == 'light')
|
@elseif ($color_scheme_override == 'light')
|
||||||
|
@ -59,9 +66,18 @@
|
||||||
@else
|
@else
|
||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-auto.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-auto.css') }}">
|
||||||
@endif
|
@endif
|
||||||
|
@endif
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<!-- Enables parallax background animations -->
|
||||||
|
<section class="parallax-background">
|
||||||
|
<div id="object1"></div>
|
||||||
|
<div id="object2"></div>
|
||||||
|
<div id="object3"></div>
|
||||||
|
</section>
|
||||||
|
<!-- End of parallax background animations -->
|
||||||
|
|
||||||
<?php ////begin share button//// ?>
|
<?php ////begin share button//// ?>
|
||||||
<?php
|
<?php
|
||||||
//Get browser type
|
//Get browser type
|
||||||
|
@ -116,18 +132,15 @@ function get_operating_system() {
|
||||||
|
|
||||||
@if($user_browser === 'Chrome' or get_operating_system() == 'mobile')
|
@if($user_browser === 'Chrome' or get_operating_system() == 'mobile')
|
||||||
<script src="{{ asset('littlelink/js/jquery.min.js') }}"></script>
|
<script src="{{ asset('littlelink/js/jquery.min.js') }}"></script>
|
||||||
<div align="right" class="sharediv"><div class="button-entrance"><span class="sharebutton hvr-grow hvr-icon-wobble-vertical" id='share-share-button'><img alt="share-icon" class="sharebutton-img icon hvr-icon" src="{{ asset('\/littlelink/icons\/')}}share.svg"><span class="sharebutton-mb">Share</span></span></div></div>
|
<div align="right" class="sharediv"><div class="button-entrance"><span class="sharebutton hvr-grow hvr-icon-wobble-vertical" id='share-share-button'><img alt="share-icon" class="sharebutton-img share-icon hvr-icon" src="{{ asset('\/littlelink/icons\/')}}share.svg"><span class="sharebutton-mb">Share</span></span></div></div>
|
||||||
<span class="copy-icon" role="button">
|
<span class="copy-icon" role="button">
|
||||||
</span>
|
</span>
|
||||||
@else
|
@else
|
||||||
<span class="copy-icon" role="button">
|
<span class="copy-icon" role="button">
|
||||||
<div align="right" class="sharediv"><div class="button-entrance"><a class="sharebutton hvr-grow hvr-icon-wobble-vertical"><img alt="share-icon" class="sharebutton-img icon hvr-icon" src="{{ asset('\/littlelink/icons\/')}}share.svg"><span class="sharebutton-mb">Share</span></a></div></div>
|
<div onclick="alert('URL has been copied to your clipboard!')" align="right" class="sharediv"><div class="button-entrance"><a class="sharebutton hvr-grow hvr-icon-wobble-vertical"><img alt="share-icon" class="sharebutton-img share-icon hvr-icon" src="{{ asset('\/littlelink/icons\/')}}share.svg"><span class="sharebutton-mb">Share</span></a></div></div>
|
||||||
</span>
|
</span>
|
||||||
@endif
|
@endif
|
||||||
<div class="toastdiv">
|
|
||||||
<span class="toastbox" role="alert"></span>
|
|
||||||
<script src="{{ asset('littlelink/js/share.button.js') }}"></script>
|
<script src="{{ asset('littlelink/js/share.button.js') }}"></script>
|
||||||
</div>
|
|
||||||
<?php ////end share button//// ?>
|
<?php ////end share button//// ?>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -142,7 +155,6 @@ function get_operating_system() {
|
||||||
<img alt="avatar" class="rounded-avatar fadein" src="{{ asset('littlelink/images/logo.svg') }}" srcset="{{ asset('littlelink/images/avatar@2x.png 2x') }}" width="128px" height="128px" style="object-fit: cover;">
|
<img alt="avatar" class="rounded-avatar fadein" src="{{ asset('littlelink/images/logo.svg') }}" srcset="{{ asset('littlelink/images/avatar@2x.png 2x') }}" width="128px" height="128px" style="object-fit: cover;">
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@foreach($information as $info)
|
|
||||||
<!-- Your Name -->
|
<!-- Your Name -->
|
||||||
<h1 class="fadein">{{ $info->name }}</h1>
|
<h1 class="fadein">{{ $info->name }}</h1>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue