Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit43068fe

Browse files
committed
Adding my changes to the navbar
Right now it's not working. The sidebar does correctly announce an event and, when it was displaying, the top bar did receive the event. I was trying to restructure the way the top bar was defined and at some point it just stopped showing at all even through the middleware runs fine.
1 parente5dac7d commit43068fe

File tree

19 files changed

+940
-11
lines changed

19 files changed

+940
-11
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dist/
55

66
# dependencies
77
node_modules/
8+
!node_modules/@lorenzo_lewis/starlight-utils/
89

910
# logs
1011
npm-debug.log*

‎astro.config.mjs‎

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { defineConfig, envField } from 'astro/config';
33
importstarlightfrom'@astrojs/starlight';
44
importstarlightUtilsfrom'@lorenzo_lewis/starlight-utils';
55
importstarlightDocSearchfrom'@astrojs/starlight-docsearch';
6-
importstarlightLinksValidatorfrom'starlight-links-validator'
6+
importstarlightLinksValidatorfrom'starlight-links-validator';
77
importsitemapfrom'@astrojs/sitemap';
8-
importstarlightFullViewModefrom'starlight-fullview-mode'
9-
importstarlightTocOverviewCustomizerfrom'starlight-toc-overview-customizer'
8+
importstarlightFullViewModefrom'starlight-fullview-mode';
9+
importstarlightTocOverviewCustomizerfrom'starlight-toc-overview-customizer';
1010

1111
importmarkdocfrom'@astrojs/markdoc';
1212

@@ -79,9 +79,11 @@ export default defineConfig({
7979
'data-website-id':'3dfbd0ac-9e56-4664-8315-032e17917ab6',
8080
'data-project-name':'LocalStack',
8181
'data-project-color':'#281763',
82-
'data-project-logo':'https://avatars.githubusercontent.com/u/28732122?s=280&v=4',
82+
'data-project-logo':
83+
'https://avatars.githubusercontent.com/u/28732122?s=280&v=4',
8384
'data-user-analytics-fingerprint-enabled':'true',
84-
'data-modal-disclaimer':'This is a custom LocalStack LLM to help you find the information you need by searching across all LocalStack documentation. Give it a try and let us know what you think!',
85+
'data-modal-disclaimer':
86+
'This is a custom LocalStack LLM to help you find the information you need by searching across all LocalStack documentation. Give it a try and let us know what you think!',
8587
},
8688
},
8789
],
@@ -109,7 +111,7 @@ export default defineConfig({
109111
},
110112
plugins:[
111113
starlightTocOverviewCustomizer({
112-
overviewTitle:"Back to top",
114+
overviewTitle:'Back to top',
113115
}),
114116
starlightFullViewMode({
115117
leftSidebarEnabled:false,
@@ -122,9 +124,14 @@ export default defineConfig({
122124
multiSidebar:{
123125
switcherStyle:'dropdown',
124126
},
125-
navLinks:{
126-
leading:{useSidebarLabelled:'TopNav'},
127-
},
127+
navLinks:[
128+
{
129+
leading:{useSidebarLabelled:'TopNav-AWS'},
130+
},
131+
{
132+
leading:{useSidebarLabelled:'TopNav-Snowflake'},
133+
},
134+
],
128135
}),
129136
starlightDocSearch({
130137
appId:'XBW1JU7CW5',
@@ -134,10 +141,20 @@ export default defineConfig({
134141
],
135142
sidebar:[
136143
{
137-
label:'TopNav',
144+
label:'TopNav-AWS',
138145
items:[
139146
{label:'Get Started',link:'/aws/getting-started/quickstart/'},
140-
{label:'Local AWS Services',link:'/aws/aws-services/'},
147+
{label:'AWS Services',link:'/aws/aws-services/'},
148+
],
149+
},
150+
{
151+
label:'TopNav-Snowflake',
152+
items:[
153+
{
154+
label:'Get Started',
155+
link:'/snowflake/getting-started/quickstart/',
156+
},
157+
{label:'Snowflake Features',link:'/snowflake/features/'},
141158
],
142159
},
143160
{

‎node_modules/@lorenzo_lewis/starlight-utils/CHANGELOG.md‎

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎node_modules/@lorenzo_lewis/starlight-utils/LICENSE‎

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎node_modules/@lorenzo_lewis/starlight-utils/README.md‎

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎node_modules/@lorenzo_lewis/starlight-utils/components/Dropdown.astro‎

Lines changed: 148 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp