Skip to content

Commit 7151a6a

Browse files
committed
doc: BaseLayout.astro + thanks
1 parent a3e8d9f commit 7151a6a

File tree

4 files changed

+43
-27
lines changed

4 files changed

+43
-27
lines changed

apps/docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ pnpm-debug.log*
1919

2020
# macOS-specific files
2121
.DS_Store
22+
.vercel
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Thanks
3+
---
4+
5+
- [Ajeris](https://github.com/Ajeris) for production environment. We are testing on two real squid servers with 5.3 and 6.1

apps/docs/src/layouts/BaseLayout.astro

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import Rainbow from "../components/Rainbow.astro";
33
import "@fontsource-variable/victor-mono";
44
import Analytics from "@vercel/analytics/astro";
55
import SpeedInsights from "@vercel/speed-insights/astro";
6+
import Logo from "../assets/squid.webp?url";
7+
import MoviePresent from "../assets/vokoscreenNG-2025-10-29_17-19-49.webm?url";
68
79
interface Props {
810
title: string;
@@ -11,39 +13,47 @@ interface Props {
1113
const { title, description } = Astro.props;
1214
---
1315
<html lang="en" class="h-full">
14-
<head>
15-
<meta charset="UTF-8">
16-
<meta name="description" content={description}>
17-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
18-
<title>{title}</title>
19-
<link rel="sitemap" href="/sitemap-index.xml">
20-
<link rel="robots" href=/robots.txt">
21-
<link rel="icon" href="/favicon.svg" />
16+
<head>
17+
<meta charset="UTF-8">
18+
<title>{title}</title>
19+
<meta name="description" content={description}>
20+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
21+
<meta property="og:type" content="website">
22+
<meta property="og:title" content={title} />
23+
<meta property="og:description" content={description} />
24+
<meta property="og:url" content="https://bstat.shalotts.site">
25+
<meta property="og:image" content={Logo}>
26+
<meta property="og:site_name" content={title} />
27+
<meta property="og:locale" content="en_EN">
28+
<meta property="og:video" content={MoviePresent}>
29+
<link rel="sitemap" href="/sitemap-index.xml">
30+
<link rel="robots" href=/robots.txt">
31+
<link rel="icon" href="/favicon.svg" />
32+
</head>
33+
<body class="h-full">
34+
<Rainbow />
35+
<section class="h-full relative z-10">
36+
<div class="h-full p-sm">
37+
<slot />
38+
</div>
39+
</section>
40+
</body>
41+
<SpeedInsights />
42+
<Analytics />
2243
<noscript>
2344
<!-- Google Tag Manager (noscript) -->
2445
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PWXSZLDZ"
2546
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
2647
<!-- End Google Tag Manager (noscript) -->
2748

2849
</noscript>
29-
</head>
30-
<body class="h-full">
31-
<Rainbow />
32-
<section class="h-full relative z-10">
33-
<div class="h-full p-sm">
34-
<slot />
35-
</div>
36-
</section>
37-
</body>
38-
<SpeedInsights />
39-
<Analytics />
40-
<script>
41-
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
42-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
43-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
44-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
45-
})(window,document,'script','dataLayer','GTM-PWXSZLDZ');
46-
</script>
50+
<script>
51+
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
52+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
53+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
54+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
55+
})(window,document,'script','dataLayer','GTM-PWXSZLDZ');
56+
</script>
4757
</html>
4858

4959
<style lang="postcss" is:global>

apps/docs/src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
1111

1212
<BaseLayout
1313
title="BunSqStat"
14-
description="about"
14+
description="Real-time Squid proxy log analyzer with powerful search capabilities"
1515
>
1616
<div class="flex flex-col gap-2">
1717
<div class="flex flex-col items-center xl:items-start xl:flex-row gap-2">

0 commit comments

Comments
 (0)