|
1 | 1 | <!DOCTYPE html>
|
2 | 2 | <html lang="en">
|
3 | 3 | <head>
|
4 |
| - |
5 |
| - <!-- Page Information |
6 |
| - –––––––––––––––––––––––––––––––––––––––––––––––––– --> |
7 | 4 | <meta charset="utf-8">
|
8 |
| - <title>{{ config('app.name' )}}</title> |
9 |
| - <meta name="description" content="Find us online!"> |
10 |
| - <meta name="author" content="Seth Cottle"> |
11 |
| - |
12 |
| - <!-- Mobile Specific Metas |
13 |
| - –––––––––––––––––––––––––––––––––––––––––––––––––– --> |
| 5 | + <title>{{ config('app.name') }}</title> |
14 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
15 |
| - |
16 |
| - <!-- FONT |
17 |
| - –––––––––––––––––––––––––––––––––––––––––––––––––– --> |
18 |
| - <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet"> |
19 |
| - |
20 |
| - <!-- CSS |
21 |
| - –––––––––––––––––––––––––––––––––––––––––––––––––– --> |
| 7 | + <link href="//fonts.googleapis.com/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet"> |
22 | 8 | <link rel="stylesheet" href="{{ asset('littlelink/css/normalize.css') }}">
|
23 | 9 | <link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-light.css') }}">
|
24 | 10 | <link rel="stylesheet" href="{{ asset('littlelink/css/brands.css') }}">
|
25 |
| - |
26 |
| - <!-- Favicon |
27 |
| - –––––––––––––––––––––––––––––––––––––––––––––––––– --> |
| 11 | + <link rel="stylesheet" href="{{ asset('littlelink/css/hover-min.css') }}"> |
| 12 | + <link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}"> |
28 | 13 | @if(file_exists(base_path("littlelink/images/avatar.png" )))
|
29 | 14 | <link rel="icon" type="image/png" href="{{ asset('littlelink/images/avatar.png') }}">
|
30 | 15 | @else
|
31 | 16 | <link rel="icon" type="image/svg+xml" href="{{ asset('littlelink/images/logo.svg') }}">
|
32 | 17 | @endif
|
33 | 18 |
|
| 19 | + <!-- begin dark mode detection --> |
| 20 | + <script src="{{ asset('littlelink/js/js.cookie.min.js') }}"></script> |
| 21 | + <script> |
| 22 | + // code to set the `color_scheme` cookie |
| 23 | + var $color_scheme = Cookies.get("color_scheme"); |
| 24 | + function get_color_scheme() { |
| 25 | + return (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) ? "dark" : "light"; |
| 26 | + } |
| 27 | + function update_color_scheme() { |
| 28 | + Cookies.set("color_scheme", get_color_scheme()); |
| 29 | + } |
| 30 | + // read & compare cookie `color-scheme` |
| 31 | + if ((typeof $color_scheme === "undefined") || (get_color_scheme() != $color_scheme)) |
| 32 | + update_color_scheme(); |
| 33 | + // detect changes and change the cookie |
| 34 | + if (window.matchMedia) |
| 35 | + window.matchMedia("(prefers-color-scheme: dark)").addListener( update_color_scheme ); |
| 36 | + // reloads page to apply the dark mode cookie |
| 37 | + window.onload = function() { |
| 38 | + if(!window.location.hash && get_color_scheme() == "dark" && (get_color_scheme() != $color_scheme)) { |
| 39 | + window.location = window.location + '#dark'; |
| 40 | + window.location.reload(); |
| 41 | + } |
| 42 | + } |
| 43 | + </script> |
| 44 | + <?php // loads dark mode CSS if dark mode detected |
| 45 | + $color_scheme = isset($_COOKIE["color_scheme"]) ? $_COOKIE["color_scheme"] : false; ?> |
| 46 | + @if ($color_scheme == 'dark') |
| 47 | + <!-- switch the two <link> Tags below to default to dark mode if cookie detection fails --> |
| 48 | + <link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-dark.css') }}"> |
| 49 | + @else |
| 50 | + <link rel="stylesheet" href="{{ asset('littlelink/css/skeleton-light.css') }}"> |
| 51 | + @endif |
| 52 | + <!-- end dark mode detection --> |
34 | 53 | </head>
|
35 | 54 | <body>
|
36 | 55 |
|
|
42 | 61 | <div class="column" style="margin-top: 10%">
|
43 | 62 | <!-- Your Image Here -->
|
44 | 63 | @if(file_exists(base_path("littlelink/images/avatar.png" )))
|
45 |
| - < img src= "{{ asset('littlelink/images/logo.svg') }}" srcset= "{{ asset('littlelink/images/[email protected] 2x') }}"> |
| 64 | + < img src= "{{ asset('littlelink/images/avatar.png') }}" srcset= "{{ asset('littlelink/images/[email protected] 2x') }}" width="100px" height="100px"> |
46 | 65 | @else
|
47 |
| - <img src="https://prieber.com/social/littlelink/images/logo.svg" alt="Logo"></img> |
| 66 | + <div class="parent fadein" > |
| 67 | + <img class="image1 rotate" src="{{ asset('littlelink/images/just-gear.svg') }}" alt="Logo"></img> |
| 68 | + <img class="image2" src="{{ asset('littlelink/images/just-ll.svg') }}" alt="Logo"></img> |
| 69 | + </div> |
48 | 70 | @endif
|
49 |
| - <br> |
50 | 71 |
|
51 |
| - <div class="jumbotron"> |
| 72 | + <div class="jumbotron" style="margin-top: 10%"> |
52 | 73 | <h1 class="display-4">{{ $name }}</h1>
|
53 | 74 | <hr class="my-4">
|
54 | 75 | <p>
|
|
0 commit comments