@jant/core 0.4.2 → 0.4.4
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/dist/app-BN6Inb-A.js +6 -0
- package/dist/{app-FtJ5R8pi.js → app-DVQAjnbW.js} +26 -22
- package/dist/client/.vite/manifest.json +3 -3
- package/dist/client/_assets/{client-BbJ0FhON.css → client-D9ofqM0X.css} +1 -1
- package/dist/client/_assets/{client-BIA0Kx3b.js → client-Hljz4QPU.js} +1 -1
- package/dist/client/_assets/{client-auth-LyAV-zh7.js → client-auth-AdBbJjgA.js} +1 -1
- package/dist/{export-1DCaq4BR.js → export-B7P3YE3x.js} +3 -3
- package/dist/{github-sync-BoYWQKCr.js → github-sync-LvT27JR9.js} +2 -2
- package/dist/{github-sync-BWIpO72V.js → github-sync-Yg2zs-iC.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/node.js +4 -4
- package/package.json +1 -1
- package/src/client.ts +3 -0
- package/src/i18n/locales/public/en.po +7 -2
- package/src/i18n/locales/public/en.ts +1 -1
- package/src/i18n/locales/public/zh-Hans.po +6 -1
- package/src/i18n/locales/public/zh-Hans.ts +1 -1
- package/src/i18n/locales/public/zh-Hant.po +6 -1
- package/src/i18n/locales/public/zh-Hant.ts +1 -1
- package/src/preset.css +8 -0
- package/src/services/export-theme/layouts/partials/media-gallery.html +4 -4
- package/src/services/export-theme/styles/main.css +4 -1
- package/src/styles/tokens.css +1 -1
- package/src/ui/pages/HomePage.tsx +20 -15
- package/dist/app-73ovSon0.js +0 -6
|
@@ -39,26 +39,31 @@ export const HomePage: FC<HomePageProps> = ({
|
|
|
39
39
|
<div data-feed>
|
|
40
40
|
<div id="timeline-feed">
|
|
41
41
|
<div id="timeline-items" class="flex flex-col">
|
|
42
|
-
<p id="empty-timeline" class="
|
|
42
|
+
<p id="empty-timeline" class="pt-0 pb-8 text-muted-foreground">
|
|
43
43
|
{i18n._(
|
|
44
44
|
msg({
|
|
45
45
|
message: "Quiet here for now.",
|
|
46
46
|
comment: "@context: Empty state message on home page",
|
|
47
47
|
}),
|
|
48
|
-
)}
|
|
49
|
-
{
|
|
50
|
-
|
|
51
|
-
{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
48
|
+
)}{" "}
|
|
49
|
+
{isAuthenticated ? (
|
|
50
|
+
i18n._(
|
|
51
|
+
msg({
|
|
52
|
+
message: "Write your first post to get started.",
|
|
53
|
+
comment:
|
|
54
|
+
"@context: Nudge shown to the signed-in site owner on an empty home page, pointing to the compose prompt above the feed",
|
|
55
|
+
}),
|
|
56
|
+
)
|
|
57
|
+
) : (
|
|
58
|
+
<a href={signinUrl} class="underline underline-offset-2">
|
|
59
|
+
{i18n._(
|
|
60
|
+
msg({
|
|
61
|
+
message: "Sign in to start writing.",
|
|
62
|
+
comment:
|
|
63
|
+
"@context: Sign-in nudge shown to visitors on an empty home page, hinting that the site owner can sign in to start writing",
|
|
64
|
+
}),
|
|
65
|
+
)}
|
|
66
|
+
</a>
|
|
62
67
|
)}
|
|
63
68
|
</p>
|
|
64
69
|
</div>
|