mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-06-21 18:21:25 +02:00
fix note hidden
This commit is contained in:
parent
27d095fd90
commit
fac81c48ef
@ -15,10 +15,11 @@ const {
|
|||||||
|
|
||||||
id,
|
id,
|
||||||
bg = await Astro.slots.render('bg'),
|
bg = await Astro.slots.render('bg'),
|
||||||
|
className,
|
||||||
} = Astro.props;
|
} = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<section class="relative md:-mt-[76px] not-prose" {...id ? { id } : {}}>
|
<section class={"relative md:-mt-[76px] not-prose " + (className || '')} {...id ? { id } : {}}>
|
||||||
<div class="absolute inset-0 pointer-events-none" aria-hidden="true">
|
<div class="absolute inset-0 pointer-events-none" aria-hidden="true">
|
||||||
<slot name="bg">
|
<slot name="bg">
|
||||||
{bg ? <Fragment set:html={bg} /> : null}
|
{bg ? <Fragment set:html={bg} /> : null}
|
||||||
|
@ -8,6 +8,7 @@ import BlogLatestPosts from '~/components/widgets/BlogLatestPosts.astro';
|
|||||||
import Stats from '~/components/widgets/Stats.astro';
|
import Stats from '~/components/widgets/Stats.astro';
|
||||||
import CallToAction from '~/components/widgets/CallToAction.astro';
|
import CallToAction from '~/components/widgets/CallToAction.astro';
|
||||||
import Carousel from '~/components/widgets/Carousel.jsx';
|
import Carousel from '~/components/widgets/Carousel.jsx';
|
||||||
|
import Note from '~/components/widgets/Note.astro';
|
||||||
|
|
||||||
const metadata = {
|
const metadata = {
|
||||||
title: 'RustDesk: Open-Source Remote Desktop with Self-Hosted Server Solutions',
|
title: 'RustDesk: Open-Source Remote Desktop with Self-Hosted Server Solutions',
|
||||||
@ -16,8 +17,14 @@ const metadata = {
|
|||||||
---
|
---
|
||||||
|
|
||||||
<Layout metadata={metadata}>
|
<Layout metadata={metadata}>
|
||||||
|
<Note
|
||||||
|
title="Note"
|
||||||
|
subtitle='<span class="text-2xl text-font-bold">rustdesk.com</span> is our only official domain. Please do not download RustDesk from the other domains, here is the full <a href="https://github.com/rustdesk/rustdesk/discussions/9679" class="underline" target="_blank">statement</a>.'
|
||||||
|
/>
|
||||||
|
|
||||||
<!-- Hero Widget ******************* -->
|
<!-- Hero Widget ******************* -->
|
||||||
<Hero
|
<Hero
|
||||||
|
className="z-[-1]"
|
||||||
actions={[
|
actions={[
|
||||||
{
|
{
|
||||||
variant: 'primary',
|
variant: 'primary',
|
||||||
|
1
v3/src/types.d.ts
vendored
1
v3/src/types.d.ts
vendored
@ -220,6 +220,7 @@ export interface Hero extends Omit<Headline, 'classes'>, Omit<Widget, 'isDark' |
|
|||||||
content?: string;
|
content?: string;
|
||||||
actions?: string | CallToAction[];
|
actions?: string | CallToAction[];
|
||||||
image?: string | unknown;
|
image?: string | unknown;
|
||||||
|
className?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Team extends Omit<Headline, 'classes'>, Widget {
|
export interface Team extends Omit<Headline, 'classes'>, Widget {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user