Skip to content

Commit

Permalink
🚧 Add startpage
Browse files Browse the repository at this point in the history
  • Loading branch information
LNA-DEV committed Nov 8, 2024
1 parent 36e39c4 commit 96decc3
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 1 deletion.
76 changes: 76 additions & 0 deletions content/_index.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
title: 'Open Media Station'
layout: hextra-home
---

{{< hextra/hero-badge >}}
<div class="hx-w-2 hx-h-2 hx-rounded-full hx-bg-primary-400"></div>
<span>Free, open source</span>
{{< icon name="arrow-circle-right" attributes="height=14" >}}
{{< /hextra/hero-badge >}}

<div class="hx-mt-6 hx-mb-6">
{{< hextra/hero-headline >}}
Own your media again!
{{< /hextra/hero-headline >}}
</div>

<div class="hx-mb-12">
{{< hextra/hero-subtitle >}}
Use Open Media Station to take control over your media files and stream them to your devices.
{{< /hextra/hero-subtitle >}}
</div>

<div class="hx-mb-6">
{{< hextra/hero-button text="Get Started" link="docs" >}}
</div>

<div class="hx-mt-6"></div>

{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="Fast and Full-featured"
subtitle="Simple and easy to use, yet powerful and feature-rich."
class="hx-aspect-auto md:hx-aspect-[1.1/1] max-md:hx-min-h-[340px]"
image="images/hextra-doc.webp"
imageClass="hx-top-[40%] hx-left-[24px] hx-w-[180%] sm:hx-w-[110%] dark:hx-opacity-80"
style="background: radial-gradient(ellipse at 50% 80%,rgba(194,97,254,0.15),hsla(0,0%,100%,0));"
>}}
{{< hextra/feature-card
title="Markdown is All You Need"
subtitle="Compose with just Markdown. Enrich with Shortcode components."
class="hx-aspect-auto md:hx-aspect-[1.1/1] max-lg:hx-min-h-[340px]"
image="images/hextra-markdown.webp"
imageClass="hx-top-[40%] hx-left-[36px] hx-w-[180%] sm:hx-w-[110%] dark:hx-opacity-80"
style="background: radial-gradient(ellipse at 50% 80%,rgba(142,53,74,0.15),hsla(0,0%,100%,0));"
>}}
{{< hextra/feature-card
title="Full Text Search"
subtitle="Built-in full text search with FlexSearch, no extra setup required."
class="hx-aspect-auto md:hx-aspect-[1.1/1] max-md:hx-min-h-[340px]"
image="images/hextra-search.webp"
imageClass="hx-top-[40%] hx-left-[36px] hx-w-[110%] sm:hx-w-[110%] dark:hx-opacity-80"
style="background: radial-gradient(ellipse at 50% 80%,rgba(221,210,59,0.15),hsla(0,0%,100%,0));"
>}}
{{< hextra/feature-card
title="Lightweight as a Feather"
subtitle="No dependency or Node.js is needed to use Hextra. Powered by Hugo, one of *the fastest* static site generators, building your site in just seconds with a single binary."
>}}
{{< hextra/feature-card
title="Responsive with Dark Mode Included"
subtitle="Looks great on different screen sizes. Built-in dark mode support, with auto-switching based on user's system preference."
>}}
{{< hextra/feature-card
title="Build and Host for Free"
subtitle="Build with GitHub Actions, and host for free on GitHub Pages. Alternatively it can be hosted on any static hosting service."
>}}
{{< hextra/feature-card
title="Multi-Language Made Easy"
subtitle="Create multi-language pages by just adding locales suffix to the Markdown file. Adding i18n support to your site is intuitive."
>}}
{{< hextra/feature-card
title="And Much More..."
icon="sparkles"
subtitle="Syntax highlighting / Table of contents / SEO / RSS / LaTeX / Mermaid / Customizable / and more..."
>}}
{{< /hextra/feature-grid >}}
5 changes: 5 additions & 0 deletions content/docs/_index.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = 'Docs'
+++

Work in progress...
21 changes: 20 additions & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ baseURL: https://openmediastation.org
title: Open Media Station
enableGitInfo: true

markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false

# Modules
module:
imports:
Expand All @@ -12,6 +19,15 @@ module:
defaultContentLanguage: en
defaultContentLanguageInSubdir: true
enableMissingTranslationPlaceholders: true
languages:
en:
languageName: English
weight: 1
# de:
# languageName: Deutsch
# weight: 2

enableInlineShortcodes: true

params:
theme:
Expand All @@ -28,7 +44,10 @@ params:
# Menu
menu:
main:
- name: Search
- identifier: documentation
pageRef: /docs
weight: 1
- identifier: search
params:
type: search
weight: 20
Expand Down
1 change: 1 addition & 0 deletions i18n/de.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
documentation: Docs
1 change: 1 addition & 0 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
documentation: Docs

0 comments on commit 96decc3

Please sign in to comment.