mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
Add /support page, centralize Mux URLs (#783)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
43711315cd
commit
5f6b1c8e53
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { ArrowUpRight } from 'lucide-react';
|
||||
import { DISCORD_INVITE_URL, GITHUB_REPO_URL } from '@/consts';
|
||||
import { DISCORD_INVITE_URL, GITHUB_REPO_URL, MUX_URL } from '@/consts';
|
||||
import Discord from './icons/discord.svg?react';
|
||||
import GitHub from './icons/github.svg?react';
|
||||
import LogoMonoVersion from './icons/logo-mono.svg?react';
|
||||
@@ -97,7 +97,7 @@ const { class: className } = Astro.props;
|
||||
>
|
||||
<br />
|
||||
Video hosting and streaming <a
|
||||
href="https://www.mux.com?utm_source=videojs&utm_campaign=vjs10"
|
||||
href={MUX_URL}
|
||||
class="underline intent:no-underline"
|
||||
>sponsored by Mux
|
||||
</a>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { ArrowUpRight } from 'lucide-react';
|
||||
import { DISCORD_INVITE_URL, GITHUB_REPO_URL } from '@/consts';
|
||||
import { DISCORD_INVITE_URL, GITHUB_REPO_URL, MUX_URL } from '@/consts';
|
||||
import Discord from './icons/discord.svg?react';
|
||||
import GitHub from './icons/github.svg?react';
|
||||
import LogoMonoVersion from './icons/logo-mono.svg?react';
|
||||
@@ -85,7 +85,7 @@ const { class: className } = Astro.props;
|
||||
class="underline intent:no-underline">video player.</a
|
||||
>
|
||||
<br class="xl:hidden" />Video hosting and streaming <a
|
||||
href="https://www.mux.com?utm_source=videojs&utm_campaign=vjs10"
|
||||
href={MUX_URL}
|
||||
class="underline intent:no-underline"
|
||||
>sponsored by Mux.
|
||||
</a>
|
||||
|
||||
@@ -3,7 +3,7 @@ import FrameworkControl from '@/components/home/FrameworkControl';
|
||||
import HeroVideo from '@/components/home/HeroVideo';
|
||||
import SkinControl from '@/components/home/SkinControl';
|
||||
import MuxLogoSmall from '@/components/icons/mux-logo-small.svg?react';
|
||||
import { VJS10_DEMO_VIDEO } from '@/consts';
|
||||
import { MUX_URL, VJS10_DEMO_VIDEO } from '@/consts';
|
||||
|
||||
const poster = `${VJS10_DEMO_VIDEO.poster}?time=0`;
|
||||
---
|
||||
@@ -50,7 +50,7 @@ const poster = `${VJS10_DEMO_VIDEO.poster}?time=0`;
|
||||
>
|
||||
Video hosting sponsored by <a
|
||||
class="relative inline-flex w-11 items-center justify-center md:w-12.5"
|
||||
href="https://www.mux.com?utm_source=videojs&utm_campaign=vjs10"
|
||||
href={MUX_URL}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
import clsx from 'clsx';
|
||||
import type { ComponentType, SVGProps } from 'react';
|
||||
import { MUX_URL } from '@/consts';
|
||||
import MuxLogo from '../icons/mux-logo.svg?react';
|
||||
import BrightcoveLogo from '../icons/sponsors/brightcove.svg?react';
|
||||
import BrowserStackLogo from '../icons/sponsors/browserstack.svg?react';
|
||||
@@ -37,7 +38,7 @@ const sponsors: SponsorItem[] = [
|
||||
class="grid grid-cols-1 rounded-xs border border-faded-black p-2 text-manila-light md:grid-cols-2 md:items-center dark:border-manila-light dark:text-faded-black"
|
||||
>
|
||||
<a
|
||||
href="https://www.mux.com?utm_source=videojs&utm_campaign=vjs10"
|
||||
href={MUX_URL}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
class="flex h-45 items-center justify-center bg-faded-black md:h-full md:min-h-74 dark:bg-soot dark:text-manila-light"
|
||||
|
||||
Reference in New Issue
Block a user