Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# DMNO [![npm](https://img.shields.io/npm/v/dmno?label=dmno)](https://www.npmjs.com/package/dmno)

> **Maintenance mode:** DMNO receives critical bug and security fixes only. For a suitable replacement, see [Varlock](https://varlock.dev).

>Full-stack configuration & secrets.
>Batteries included.

Expand Down
1 change: 0 additions & 1 deletion packages/docs-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"astro": "^5.3.1",
"astro-expressive-code": "^0.35.6",
"astro-google-fonts-optimizer": "^0.2.2",
"astro-iconify": "^1.2.0",
"astro-robots-txt": "^1.0.0",
"astro-sitemap": "^1.0.0",
"dmno": "workspace:*",
Expand Down
15 changes: 3 additions & 12 deletions packages/docs-site/src/components/CustomStarlightBanner.astro
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
---
import type { Props } from "@astrojs/starlight/props";
import MaintenanceCallout from "./MaintenanceCallout.astro";

const { banner } = Astro.locals.starlightRoute.entry.data;

const showDefaultBanner =
!banner &&
Astro.url.pathname.startsWith("/docs/") &&
!["/docs/"].includes(Astro.url.pathname);
!banner && Astro.url.pathname.startsWith("/docs/");
---

{
(banner || showDefaultBanner) && (
<div class="sl-banner__wrap">
<div class="sl-banner__wrap-inner">
{banner && <div class="sl-banner" set:html={banner.content} />}
{showDefaultBanner && (
<div class="sl-banner info richtext">
✨ If you've tried DMNO or looked through the docs,{" "}
<a href="https://forms.gle/AfM99kTJ9p1c25g86" target="_blank">
let us know
</a>
what you think!
</div>
)}
{showDefaultBanner && <MaintenanceCallout />}
</div>
</div>
)
Expand Down
23 changes: 23 additions & 0 deletions packages/docs-site/src/components/MaintenanceCallout.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<div class="maintenance-callout richtext">
<strong>DMNO is in maintenance mode.</strong> We will continue to provide critical
bug and security fixes, but active development has moved to{" "}
<a href="https://varlock.dev" target="_blank">Varlock</a>, a feature-rich
replacement.
</div>

<style lang="less">
.maintenance-callout {
padding: var(--sl-nav-pad-y) var(--sl-nav-pad-x);
border-width: 1px 4px;
line-height: var(--sl-line-height-headings);
text-align: center;
text-wrap: balance;
background: linear-gradient(
45deg,
var(--brand-orange--t2) 0%,
var(--brand-red--t2) 100%
);
border: 1px solid var(--brand-orange);
color: var(--color-text-full-shade);
}
</style>
38 changes: 24 additions & 14 deletions packages/docs-site/src/components/layouts/LandingPage.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
---
import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro';
import { Icon } from 'astro-iconify';
import RemixIcon from '~icons/simple-icons/remix';
import NextjsIcon from '~icons/devicon/nextjs';
import AstroIcon from '~icons/devicon/astro';
import ViteIcon from '~icons/devicon/vitejs';
import NodejsIcon from '~icons/logos/nodejs-icon';
import FastifyIcon from '~icons/simple-icons/fastify';
import OnePasswordIcon from '~icons/simple-icons/1password';
import BitwardenIcon from '~icons/simple-icons/bitwarden';
import CloudflareIcon from '~icons/devicon/cloudflare';
import VercelIcon from '~icons/simple-icons/vercel';
import NetlifyIcon from '~icons/devicon/netlify';
import LogoBar from '../LogoBar.astro';

interface Props {
Expand Down Expand Up @@ -38,19 +48,19 @@ const {
</div>
<LogoBar>
{/* prefer simple-icons for single color icons, so it flips dark/light */}
<a href="/docs/integrations/remix/"><Icon name="simple-icons:remix" /></a>
<a href="/docs/integrations/nextjs/"><Icon name="devicon:nextjs" /></a>
<a href="/docs/integrations/astro/"><Icon name="devicon:astro" /></a>
<a href="/docs/integrations/vite/"><Icon name="devicon:vitejs" /></a>
<a href="/docs/integrations/node/"><Icon name="logos:nodejs-icon" /></a>
<a href="/docs/integrations/fastify/"><Icon name="simple-icons:fastify" /></a>

<a href="/docs/plugins/1password/"><Icon name="simple-icons:1password" /></a>
<a href="/docs/plugins/bitwarden/"><Icon name="simple-icons:bitwarden" /></a>

<a href="/docs/platforms/cloudflare/"><Icon name="devicon:cloudflare" /></a>
<a href="/docs/platforms/vercel/"><Icon name="simple-icons:vercel" /></a>
<a href="/docs/platforms/netlify/"><Icon name="devicon:netlify" /></a>
<a href="/docs/integrations/remix/" set:html={RemixIcon} />
<a href="/docs/integrations/nextjs/" set:html={NextjsIcon} />
<a href="/docs/integrations/astro/" set:html={AstroIcon} />
<a href="/docs/integrations/vite/" set:html={ViteIcon} />
<a href="/docs/integrations/node/" set:html={NodejsIcon} />
<a href="/docs/integrations/fastify/" set:html={FastifyIcon} />

<a href="/docs/plugins/1password/" set:html={OnePasswordIcon} />
<a href="/docs/plugins/bitwarden/" set:html={BitwardenIcon} />

<a href="/docs/platforms/cloudflare/" set:html={CloudflareIcon} />
<a href="/docs/platforms/vercel/" set:html={VercelIcon} />
<a href="/docs/platforms/netlify/" set:html={NetlifyIcon} />
</LogoBar>

<div class="richtext">
Expand Down
15 changes: 14 additions & 1 deletion packages/docs-site/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import LandingPage from "@/components/layouts/LandingPage.astro";
import CTABlock from "@/components/CTABlock.astro";
import Hero from "@/components/Hero.astro";
import LandingPageSection from "@/components/LandingPageSection.astro";
import MaintenanceCallout from "@/components/MaintenanceCallout.astro";

import IntegrationsHero from "@/components/homepage/IntegrationsHero.vue";

Expand All @@ -25,6 +26,10 @@ const muxId = "FmBLL2H1yt6cEfqz01QVje7LSlI8DtF9Vn18NRsv5o6E";
showSidebar={false}
showIntegrations={true}
>
<div class="homepage-callout">
<MaintenanceCallout />
</div>

<Hero>
<Fragment slot="heading">Connective Configuration</Fragment>
<Fragment slot="subheading">
Expand Down Expand Up @@ -62,4 +67,12 @@ const muxId = "FmBLL2H1yt6cEfqz01QVje7LSlI8DtF9Vn18NRsv5o6E";
/>
</LandingPage>

<style></style>
<style lang="less">
.homepage-callout {
padding: 1rem 2rem 0;

@media (min-width: 50rem) {
padding: 1.5rem 2rem 0;
}
}
</style>
Loading
Loading