Skip to content

Commit f0dc747

Browse files
authored
Merge pull request #89 from algorandfoundation/docs/responsive-landing-page
Docs: responsive landing page & change sidebar links
2 parents f4a7254 + 8887dd4 commit f0dc747

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

docs/astro.config.mjs

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,23 @@ export default defineConfig({
2323
label: "Guides",
2424
autogenerate: { directory: "guides" },
2525
},
26-
{
27-
label: "Troubleshooting",
28-
link: "/troubleshooting",
29-
},
3026
{
3127
label: "Command Reference",
3228
collapsed: true,
3329
autogenerate: { directory: "reference" },
3430
},
31+
{
32+
label: "Source Code",
33+
link: "https://github.com/algorandfoundation/nodekit/",
34+
},
35+
{
36+
label: "Issue Tracker",
37+
link: "https://github.com/algorandfoundation/nodekit/issues",
38+
},
39+
{
40+
label: "Report an issue",
41+
link: "https://github.com/algorandfoundation/nodekit/issues/new/choose",
42+
}
3543
],
3644
components: {
3745
ThemeProvider: "./src/components/CustomThemeProvider.astro",

docs/src/pages/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ export const lang = "en";
109109
<Code
110110
lang="shell"
111111
code={`wget -qO- https://nodekit.run/install.sh | bash`}
112-
class="max-w-full z-10"
112+
class="max-w-[95vw] z-10"
113113
/>
114114
</TabItem>
115115
<TabItem label="macOS" icon="apple">
116116
<Code
117117
lang="shell"
118118
code={`curl -fsSL https://nodekit.run/install.sh | bash`}
119-
class="max-w-full z-10"
119+
class="max-w-[95vw] z-10"
120120
/>
121121
</TabItem>
122122
</Tabs>

0 commit comments

Comments
 (0)