Skip to content

Commit

Permalink
new logo for the docs page
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoslig committed Sep 22, 2024
1 parent 272be47 commit 95001f0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 34 deletions.
12 changes: 5 additions & 7 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,20 @@ import starlight from '@astrojs/starlight';
export default defineConfig({
integrations: [
starlight({
title: 'My Docs',
logo: {src: './src/assets/hello.png', replacesTitle: true},
title: 'Angular Realworld App',
social: {
github: 'https://github.com/withastro/starlight',
github: 'https://github.com/stefanoslig/angular-ngrx-nx-realworld-example-app',
},
sidebar: [
{
label: 'Guides',
label: 'Architecture',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', slug: 'guides/example' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},

],
}),
],
Expand Down
Binary file added docs/src/assets/hello.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/src/assets/houston.webp
Binary file not shown.
Binary file added docs/src/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 11 additions & 27 deletions docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,36 +1,20 @@
---
title: Welcome to Starlight
description: Get started building your docs site with Starlight.
title: Angular Realworld Example App
template: splash
hero:
tagline: Congrats on setting up a new Starlight project!
tagline: Modern Angular, NgRx Signals store, Nx
image:
file: ../../assets/houston.webp
file: ../../assets/hello.png
actions:
- text: Example Guide
link: /guides/example/
- text: Documentation
link: /introduction
icon: right-arrow
- text: Read the Starlight docs
link: https://starlight.astro.build
- text: Explore the app
link: https://angular-ngrx-nx.netlify.app/
icon: external
variant: minimal
- text: View on Github
link: https://github.com/stefanoslig/angular-ngrx-nx-realworld-example-app
icon: external
variant: minimal
---

import { Card, CardGrid } from '@astrojs/starlight/components';

## Next steps

<CardGrid stagger>
<Card title="Update content" icon="pencil">
Edit `src/content/docs/index.mdx` to see this page change.
</Card>
<Card title="Add new content" icon="add-document">
Add Markdown or MDX files to `src/content/docs` to create new pages.
</Card>
<Card title="Configure your site" icon="setting">
Edit your `sidebar` and other config in `astro.config.mjs`.
</Card>
<Card title="Read the docs" icon="open-book">
Learn more in [the Starlight Docs](https://starlight.astro.build/).
</Card>
</CardGrid>

0 comments on commit 95001f0

Please sign in to comment.