astro-pure 1.3.0 → 1.3.1
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.
|
@@ -3,7 +3,6 @@ import config from 'virtual:config'
|
|
|
3
3
|
|
|
4
4
|
import { Icon } from '../user'
|
|
5
5
|
|
|
6
|
-
const year = new Date().getFullYear()
|
|
7
6
|
const footerConf = config.footer
|
|
8
7
|
let social = footerConf.social || {}
|
|
9
8
|
|
|
@@ -39,7 +38,7 @@ const footerLink1 = footerConf.links?.filter(({ pos }) => pos === 1) || []
|
|
|
39
38
|
}
|
|
40
39
|
{/* Position 2 */}
|
|
41
40
|
<div>
|
|
42
|
-
|
|
41
|
+
{config.footer.year}
|
|
43
42
|
{config.author}
|
|
44
43
|
{
|
|
45
44
|
footerConf.links && footerConf.links.length > 0 && (
|
|
@@ -5,7 +5,7 @@ import { Icon } from '../user'
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
<header-component
|
|
8
|
-
class='group sticky top-4 z-30 mb-12 flex items-center justify-between rounded-xl border border-transparent max-sm:py-1 sm:rounded-2xl'
|
|
8
|
+
class='group sticky top-4 z-30 md:z-50 mb-12 flex items-center justify-between rounded-xl border border-transparent max-sm:py-1 sm:rounded-2xl'
|
|
9
9
|
>
|
|
10
10
|
<a
|
|
11
11
|
class='z-30 text-xl font-semibold group-[.not-top]:ms-2 sm:group-[.not-top]:ms-3'
|
package/package.json
CHANGED
|
@@ -29,7 +29,11 @@ export const IntegrationConfigSchema = () =>
|
|
|
29
29
|
/** The class to apply to the typography. */
|
|
30
30
|
class: z
|
|
31
31
|
.string()
|
|
32
|
-
.default('prose prose-pure dark:prose-invert dark:prose-pure prose-headings:font-medium')
|
|
32
|
+
.default('prose prose-pure dark:prose-invert dark:prose-pure prose-headings:font-medium'),
|
|
33
|
+
/** The style of blockquote font, normal or italic. */
|
|
34
|
+
blockquoteStyle: z.enum(['normal', 'italic']).default('italic'),
|
|
35
|
+
/** The style of inline code block, code or modern. */
|
|
36
|
+
inlineCodeBlockStyle: z.enum(['code', 'modern']).default('modern')
|
|
33
37
|
}),
|
|
34
38
|
|
|
35
39
|
/** A lightbox library that can add zoom effect */
|
package/types/theme-config.ts
CHANGED
|
@@ -119,6 +119,8 @@ export const ThemeConfigSchema = () =>
|
|
|
119
119
|
|
|
120
120
|
/** Configure the footer of your site. */
|
|
121
121
|
footer: z.object({
|
|
122
|
+
/** The footer content for your site. */
|
|
123
|
+
year: z.string().describe('The footer content for your site.'),
|
|
122
124
|
/** The footer links for your site. */
|
|
123
125
|
links: z
|
|
124
126
|
.array(
|