summaryrefslogtreecommitdiff
path: root/_layouts/default.html
blob: 4054a55fce6edc10d219752b04d6e79138007ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html>

<!-- Lunar Journal, Copyright 2023-2025 -->
<!-- Written by Dylan Müller -->
<!-- https://journal.lunar.sh -->

<!-- 
Copyright © 2025 Lunar RF Labs. All rights reserved.

This code is the property of Lunar RF Labs and may not be copied, 
reproduced, or distributed without prior written permission. 
For inquiries, contact root@lunar.sh.
-->

<head>
  <meta charset="UTF-8">
  <meta name="author" content="Dylan Müller" />
  <meta name="copyright" content="Dylan Müller" />

<style>
html {
  visibility: hidden;
  opacity: 0;
}
</style>
<script>
  document.fonts.ready.then(() => {
    document.documentElement.style.visibility = "visible";
    document.documentElement.style.opacity = "1";
  });
</script>

  <script>
  console.log("Lunar Journal (c) 2022-2024");
  console.log("https://journal.lunar.sh");
  console.log("email: root@lunar.sh");
  console.log("atom: https://journal.lunar.sh/feed.xml")
  console.log(`
+---------------------------------------+
|   .-.         .-.         .-.         |
|  /   \\       /   \\       /   \\        |
| /     \\     /     \\     /     \\     / |
|        \\   /       \\   /       \\   /  |
|         "_"         "_"         "_"   |
|                                       |
|  _   _   _ _  _   _   ___   ___ _  _  |
| | | | | | | \\| | /_\\ | _ \\ / __| || | |
| | |_| |_| | .\` |/ _ \\|   /_\\__ \\ __ | |
| |____\\___/|_|\\_/_/ \\_\\_|_(_)___/_||_| |
|                                       |
|                                       |
| Lunar RF Labs                         |
| https://lunar.sh                      |
|                                       |
| Research Laboratories                 |
| Copyright (C) 2022-2024               |
|                                       |
+---------------------------------------+
  `)
  </script>

  <script async src="https://www.googletagmanager.com/gtag/js?id=G-JJM07YZF2W"></script>
  <script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-JJM07YZF2W');
  </script>
  <title>Lunar RF Labs | {% if page.title %}{{ page.title }} – {% endif %}{{ site.name }}</title>
  {% include meta.html %}
  <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/style.css" />
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.10.0/css/all.css">
  <meta name="image" property="og:image" content="/images/logo_space.jpg" />
  <link rel="icon" href="/assets/lunar.ico" type="image/x-icon">
  <link rel="shortcut icon" href="/assets/lunar.ico" type="image/x-icon">
  <link rel="alternate" type="application/rss+xml" 
        title="RSS" 
        href="https://journal.lunar.sh/feed.xml">
</head>

<body>
  <div class="sticky">
    <div class="menu">
      <header class="site-header clearfix">
        <div class="site-info">
          <h1 class="site-name"><a class="no-decoration" href="{{ site.baseurl }}/">
            journal.lunar.sh<span class="caret"></span></a></h1>
          <p class="site-description">{{ site.bio }}</p>
        </div>
        <nav>
          <a href="{{ site.baseurl }}/">Journal</a>
          <a href="{{ site.baseurl }}/info.html">About</a>
        </nav>
      </header>
    </div>
  </div>
  {{ content }}

  <div id="cookieBanner" class="cookies-banner cookies-banner--position-right">
  <div class="cookies-banner__body">
    <div class="cookies-banner__paragraph">
      <a href="https://labs.lunar.sh">Lunar RF Labs</a>, a radio-frequency research laboratory presents the <a href="https://journal.lunar.sh">Lunar Journal</a>;
      A technical journal for engineers, researchers and hobbiyists.  
    </div>
    <div class="cookies-banner__paragraph">
<pre>
+---------------------------------------+
|   .-.         .-.         .-.         |
|  /   \       /   \       /   \        |
| /     \     /     \     /     \     / |
|        \   /       \   /       \   /  |
|         "_"         "_"         "_"   |
|                                       |
|  _   _   _ _  _   _   ___   ___ _  _  |
| | | | | | | \| | /_\ | _ \ / __| || | |
| | |_| |_| | .` |/ _ \|   /_\__ \ __ | |
| |____\___/|_|\_/_/ \_\_|_(_)___/_||_| |
|                                       |
|                                       |
| Lunar RF Labs                         |
| https://lunar.sh                      |
|                                       |
| Research Laboratories                 |
| Copyright (C) 2022-2024               |
|                                       |
+---------------------------------------+
</pre>
    </div>
  </div>
  <button id="closeCookieBanner" class="cookies-banner__close-button">[X]</button>
</div>

<script>
  function setCookie(name, value, days) {
    const expires = new Date(Date.now() + days * 864e5).toUTCString();
    document.cookie = `${name}=${encodeURIComponent(value)}; expires=${expires}; path=/`;
  }

  function getCookie(name) {
    return document.cookie.split('; ').find(row => row.startsWith(name + '='))?.split('=')[1];
  }

  window.addEventListener('DOMContentLoaded', () => {
    const banner = document.getElementById('cookieBanner');

    if (!getCookie('cookieBannerDismissed')) {
      banner.style.display = 'block';
    }

    document.getElementById('closeCookieBanner').addEventListener('click', () => {
      setCookie('cookieBannerDismissed', 'true', 1); // expires in 1 day
      banner.remove();
    });
  });
</script>
</body>
</html>