@anglefeint/astro-theme 0.1.13 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -4
- package/src/layouts/BlogPost.astro +2 -1
- package/src/layouts/shells/AiShell.astro +2 -1
- package/src/layouts/shells/CyberShell.astro +4 -1
- package/src/layouts/shells/HackerShell.astro +2 -1
- package/src/layouts/shells/MatrixShell.astro +2 -1
- /package/{public → src}/styles/about-page.css +0 -0
- /package/{public → src}/styles/blog-list.css +0 -0
- /package/{public → src}/styles/blog-post.css +0 -0
- /package/{public → src}/styles/home-page.css +0 -0
- /package/{public → src}/styles/theme-ai.css +0 -0
- /package/{public → src}/styles/theme-cyber.css +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anglefeint/astro-theme",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Anglefeint core theme package for Astro",
|
|
6
6
|
"keywords": [
|
|
@@ -25,8 +25,7 @@
|
|
|
25
25
|
"src/styles",
|
|
26
26
|
"src/assets/theme",
|
|
27
27
|
"src/cli-new-post.mjs",
|
|
28
|
-
"src/cli-new-page.mjs"
|
|
29
|
-
"public"
|
|
28
|
+
"src/cli-new-page.mjs"
|
|
30
29
|
],
|
|
31
30
|
"bin": {
|
|
32
31
|
"anglefeint-new-post": "src/cli-new-post.mjs",
|
|
@@ -40,7 +39,6 @@
|
|
|
40
39
|
"./i18n/*": "./src/i18n/*",
|
|
41
40
|
"./styles/*": "./src/styles/*",
|
|
42
41
|
"./assets/*": "./src/assets/*",
|
|
43
|
-
"./public/*": "./public/*",
|
|
44
42
|
"./content-schema": "./src/content-schema.ts",
|
|
45
43
|
"./consts": "./src/consts.ts"
|
|
46
44
|
},
|
|
@@ -5,6 +5,7 @@ import themeRedqueen1 from '../assets/theme/red-queen/theme-redqueen1.webp';
|
|
|
5
5
|
import themeRedqueen2 from '../assets/theme/red-queen/theme-redqueen2.gif';
|
|
6
6
|
import FormattedDate from '../components/FormattedDate.astro';
|
|
7
7
|
import AiShell from './shells/AiShell.astro';
|
|
8
|
+
import blogPostCssUrl from '../styles/blog-post.css?url';
|
|
8
9
|
import { SITE_AUTHOR } from '@anglefeint/site-config/site';
|
|
9
10
|
import { DEFAULT_LOCALE, type Locale, isLocale, localePath, blogIdToSlugAnyLocale } from '@anglefeint/site-i18n/config';
|
|
10
11
|
import { getMessages } from '@anglefeint/site-i18n/messages';
|
|
@@ -62,7 +63,7 @@ const confidenceText = aiConfidence !== undefined ? aiConfidence.toFixed(2) : un
|
|
|
62
63
|
tags={tags}
|
|
63
64
|
localeHrefs={localeHrefs}
|
|
64
65
|
>
|
|
65
|
-
<link slot="head" rel="stylesheet" href=
|
|
66
|
+
<link slot="head" rel="stylesheet" href={blogPostCssUrl} />
|
|
66
67
|
<Fragment slot="body-start">
|
|
67
68
|
<div class="ai-bg" aria-hidden="true">
|
|
68
69
|
<div class="ai-glow ai-glow-shift"></div>
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import type { Locale } from '@anglefeint/site-i18n/config';
|
|
3
3
|
import ThemeFrame from '../../components/shared/ThemeFrame.astro';
|
|
4
4
|
import type { ImageMetadata } from 'astro';
|
|
5
|
+
import themeAiCssUrl from '../../styles/theme-ai.css?url';
|
|
5
6
|
|
|
6
7
|
interface Props {
|
|
7
8
|
locale?: Locale;
|
|
@@ -51,7 +52,7 @@ const {
|
|
|
51
52
|
scanlines
|
|
52
53
|
localeHrefs={localeHrefs}
|
|
53
54
|
>
|
|
54
|
-
<link slot="head" rel="stylesheet" href=
|
|
55
|
+
<link slot="head" rel="stylesheet" href={themeAiCssUrl} />
|
|
55
56
|
<slot name="head" slot="head" />
|
|
56
57
|
<slot name="body-start" slot="body-start" />
|
|
57
58
|
<slot />
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
import type { Locale } from '@anglefeint/site-i18n/config';
|
|
3
3
|
import ThemeFrame from '../../components/shared/ThemeFrame.astro';
|
|
4
|
+
import themeCyberCssUrl from '../../styles/theme-cyber.css?url';
|
|
5
|
+
import blogListCssUrl from '../../styles/blog-list.css?url';
|
|
4
6
|
|
|
5
7
|
interface Props {
|
|
6
8
|
locale?: Locale;
|
|
@@ -13,7 +15,8 @@ const { locale, title, description, localeHrefs } = Astro.props as Props;
|
|
|
13
15
|
---
|
|
14
16
|
|
|
15
17
|
<ThemeFrame locale={locale} title={title} description={description} bodyClass="cyber-page" mainClass="page-main cyber-content" localeHrefs={localeHrefs}>
|
|
16
|
-
<link slot="head" rel="stylesheet" href=
|
|
18
|
+
<link slot="head" rel="stylesheet" href={themeCyberCssUrl} />
|
|
19
|
+
<link slot="head" rel="stylesheet" href={blogListCssUrl} />
|
|
17
20
|
<Fragment slot="body-start">
|
|
18
21
|
<div class="cyber-load-glitch" aria-hidden="true"></div>
|
|
19
22
|
<div class="cyber-spotlight" aria-hidden="true">
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
import type { Locale } from '@anglefeint/site-i18n/config';
|
|
3
3
|
import ThemeFrame from '../../components/shared/ThemeFrame.astro';
|
|
4
|
+
import aboutPageCssUrl from '../../styles/about-page.css?url';
|
|
4
5
|
|
|
5
6
|
interface Props {
|
|
6
7
|
locale?: Locale;
|
|
@@ -13,7 +14,7 @@ const { locale, title, description, bodyClass = 'hacker-page' } = Astro.props as
|
|
|
13
14
|
---
|
|
14
15
|
|
|
15
16
|
<ThemeFrame locale={locale} title={title} description={description} bodyClass={bodyClass} mainClass="page-main hacker-content">
|
|
16
|
-
<link slot="head" rel="stylesheet" href=
|
|
17
|
+
<link slot="head" rel="stylesheet" href={aboutPageCssUrl} />
|
|
17
18
|
<slot name="head" slot="head" />
|
|
18
19
|
<slot name="body-start" slot="body-start" />
|
|
19
20
|
<slot />
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
import type { Locale } from '@anglefeint/site-i18n/config';
|
|
3
3
|
import ThemeFrame from '../../components/shared/ThemeFrame.astro';
|
|
4
|
+
import homePageCssUrl from '../../styles/home-page.css?url';
|
|
4
5
|
|
|
5
6
|
interface Props {
|
|
6
7
|
locale?: Locale;
|
|
@@ -12,7 +13,7 @@ const { locale, title, description } = Astro.props as Props;
|
|
|
12
13
|
---
|
|
13
14
|
|
|
14
15
|
<ThemeFrame locale={locale} title={title} description={description} bodyClass="page-home" mainClass="page-main home-content">
|
|
15
|
-
<link slot="head" rel="stylesheet" href=
|
|
16
|
+
<link slot="head" rel="stylesheet" href={homePageCssUrl} />
|
|
16
17
|
<canvas slot="body-start" id="matrix-bg" aria-hidden="true"></canvas>
|
|
17
18
|
<Fragment slot="body-end">
|
|
18
19
|
<script>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|