Skip to content

Commit

Permalink
💄 improve landing page design
Browse files Browse the repository at this point in the history
  • Loading branch information
Odonno committed Aug 7, 2024
1 parent d558b7c commit 3477f36
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 21 deletions.
1 change: 1 addition & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default defineConfig({
social: {
github: "https://github.com/Odonno/FeatureManagement.UI",
},
customCss: ["./src/styles/index.css"],
sidebar: [
{
label: "Introduction",
Expand Down
Binary file removed docs/src/assets/houston.webp
Binary file not shown.
Binary file added docs/src/assets/logo.webp
Binary file not shown.
29 changes: 8 additions & 21 deletions docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: FeatureManagement UI for .NET
description: Perfectly designed UI for Feature Flags in ASP.NET Web API
title: Feature Management UI for .NET
description: Perfectly designed User Interface for Feature Flags in ASP.NET Web API
template: splash
hero:
tagline: Perfectly designed UI for Feature Flags in ASP.NET Web API!
tagline: Perfectly designed User Interface for Feature Flags in ASP.NET Web API.
image:
file: ../../assets/houston.webp
file: ../../assets/logo.webp
actions:
- text: Get started
link: /introduction
Expand All @@ -16,21 +16,8 @@ hero:
icon: external
---

import { Card, CardGrid } from "@astrojs/starlight/components";
import { Code } 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>
<div class="install-code">
<Code code="dotnet add package FeatureManagement.UI" lang="bash" />
</div>
16 changes: 16 additions & 0 deletions docs/src/styles/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.hero > img {
border-radius: 10px;
width: 300px;
filter: grayscale(100%);
}

.install-code {
margin-top: -50px;
display: flex;
justify-content: center;
align-items: center;
}

footer {
display: none !important;
}

0 comments on commit 3477f36

Please sign in to comment.