Skip to content

Commit 42fcef9

Browse files
Tutorials page (#21)
* get the structure right * fix issue with opening the tutorial * make filtering work * Added auto resizing of the image assets The images were loading very slowly because they were 1900+ pixels wide but only rendered at 330px. I converted the astro component to load the images from assets, resize them and pass those to the React component. * get the structure right * fix issue with opening the tutorial * make filtering work * Added auto resizing of the image assets The images were loading very slowly because they were 1900+ pixels wide but only rendered at 330px. I converted the astro component to load the images from assets, resize them and pass those to the React component. * make cards clickable * Update astro.config.mjs --------- Co-authored-by: HarshCasper <erbeusgriffincasper@gmail.com>
1 parent 7aa333c commit 42fcef9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

astro.config.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ export default defineConfig({
9595
multiSidebar: {
9696
switcherStyle: 'dropdown',
9797
},
98+
navLinks: {
99+
leading: { useSidebarLabelled: 'TopNav' },
100+
},
98101
}),
99102
starlightDocSearch({
100103
appId: 'XBW1JU7CW5',
@@ -103,6 +106,13 @@ export default defineConfig({
103106
}),
104107
],
105108
sidebar: [
109+
{
110+
label: 'TopNav',
111+
items: [
112+
{ label: 'Get Started', link: '/aws/getting-started/quickstart/' },
113+
{ label: 'Local AWS Services', link: '/aws/aws-services/' },
114+
],
115+
},
106116
{
107117
label: 'AWS',
108118
collapsed: true,

0 commit comments

Comments
 (0)