@hagicode/hagilight-starlight 0.10.1-dev.124.1.93cbe18 → 0.10.1-dev.125.1.c1264bb

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.
Files changed (2) hide show
  1. package/Footer.astro +10 -1
  2. package/package.json +2 -2
package/Footer.astro CHANGED
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  import Copyright from '@hagicode/hagilight-core/Copyright';
3
+ import FooterBrand from '@hagicode/hagilight-core/FooterBrand';
3
4
  import DefaultFooter from '@astrojs/starlight/components/Footer.astro';
4
5
  import { siteLinkGaAttributes } from '@hagicode/hagilight-core/analytics-events';
5
6
  import { resolveSiteLinks, type SiteLinksOptions } from '@hagicode/hagilight-core/links';
@@ -44,6 +45,9 @@ const resolvedLinks = resolveSiteLinks(currentLanguage ?? locale, {
44
45
  ---
45
46
 
46
47
  <DefaultFooter />
48
+ <div class="hagilight-brand-host">
49
+ <FooterBrand locale={resolvedLinks.locale} links={resolvedLinks.quick} />
50
+ </div>
47
51
  <div class="hagilight-site-links">
48
52
  {resolvedLinks.relatedSites.length > 0 && (
49
53
  <section>
@@ -124,11 +128,16 @@ const resolvedLinks = resolveSiteLinks(currentLanguage ?? locale, {
124
128
  </p>
125
129
 
126
130
  <style>
131
+ .hagilight-brand-host {
132
+ margin-top: 2rem;
133
+ padding-inline: 1rem;
134
+ }
135
+
127
136
  .hagilight-site-links {
128
137
  display: grid;
129
138
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
130
139
  gap: 1.5rem;
131
- margin: 2rem auto 1rem;
140
+ margin: 0 auto 1rem;
132
141
  max-width: 72rem;
133
142
  padding-inline: 1rem;
134
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hagicode/hagilight-starlight",
3
- "version": "0.10.1-dev.124.1.93cbe18",
3
+ "version": "0.10.1-dev.125.1.c1264bb",
4
4
  "type": "module",
5
5
  "description": "Starlight plugin and components for HagiCode documentation",
6
6
  "repository": {
@@ -53,7 +53,7 @@
53
53
  "assets/showcase/*"
54
54
  ],
55
55
  "dependencies": {
56
- "@hagicode/hagilight-core": "0.10.1-dev.124.1.93cbe18"
56
+ "@hagicode/hagilight-core": "0.10.1-dev.125.1.c1264bb"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@astrojs/starlight": "^0.42.4",