Browse Source

Prettified Code!

pull/1886/head
gabek 5 years ago committed by GitHub Action
parent
commit
98b038e426
  1. 6
      web/components/config/edit-instance-details.tsx
  2. 6
      web/components/config/video-variant-form.tsx
  3. 6
      web/pages/config-public-details.tsx
  4. 6
      web/pages/config-storage.tsx
  5. 6
      web/pages/config-video.tsx
  6. 36
      web/pages/help.tsx
  7. 6
      web/pages/offline-notice.tsx

6
web/components/config/edit-instance-details.tsx

@ -113,7 +113,11 @@ export default function EditInstanceDetails() {
<strong>Owncast Directory</strong> <strong>Owncast Directory</strong>
</a> </a>
. This is an external service run by the Owncast project.{' '} . This is an external service run by the Owncast project.{' '}
<a href="https://owncast.online/docs/directory/?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/directory/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
Learn more Learn more
</a> </a>
. .

6
web/components/config/video-variant-form.tsx

@ -104,7 +104,11 @@ export default function VideoVariantForm({
return ( return (
<div className={classes}> <div className={classes}>
<p className="description"> <p className="description">
<a href="https://owncast.online/docs/video?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/video?source=admin"
target="_blank"
rel="noopener noreferrer"
>
Learn more Learn more
</a>{' '} </a>{' '}
about how each of these settings can impact the performance of your server. about how each of these settings can impact the performance of your server.

6
web/pages/config-public-details.tsx

@ -14,7 +14,11 @@ export default function PublicFacingDetails() {
<Title>General Settings</Title> <Title>General Settings</Title>
<p className="description"> <p className="description">
The following are displayed on your site to describe your stream and its content.{' '} The following are displayed on your site to describe your stream and its content.{' '}
<a href="https://owncast.online/docs/website/?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/website/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
Learn more. Learn more.
</a> </a>
</p> </p>

6
web/pages/config-storage.tsx

@ -11,7 +11,11 @@ export default function ConfigStorageInfo() {
<p className="description"> <p className="description">
Owncast supports optionally using external storage providers to distribute your video. Learn Owncast supports optionally using external storage providers to distribute your video. Learn
more about this by visiting our{' '} more about this by visiting our{' '}
<a href="https://owncast.online/docs/storage/?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/storage/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
Storage Documentation Storage Documentation
</a> </a>
. .

6
web/pages/config-video.tsx

@ -12,7 +12,11 @@ export default function ConfigVideoSettings() {
<Title>Video configuration</Title> <Title>Video configuration</Title>
<p className="description"> <p className="description">
Before changing your video configuration{' '} Before changing your video configuration{' '}
<a href="https://owncast.online/docs/video?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/video?source=admin"
target="_blank"
rel="noopener noreferrer"
>
visit the video documentation visit the video documentation
</a>{' '} </a>{' '}
to learn how it impacts your stream performance. The general rule is to start conservatively to learn how it impacts your stream performance. The general rule is to start conservatively

36
web/pages/help.tsx

@ -52,7 +52,11 @@ export default function Help() {
title: 'I want to embed my stream into another site', title: 'I want to embed my stream into another site',
content: ( content: (
<div> <div>
<a href="https://owncast.online/docs/embed/?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/embed/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
<LinkOutlined /> Learn more <LinkOutlined /> Learn more
</a> </a>
</div> </div>
@ -63,7 +67,11 @@ export default function Help() {
title: 'I want to customize my website', title: 'I want to customize my website',
content: ( content: (
<div> <div>
<a href="https://owncast.online/docs/website/?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/website/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
<LinkOutlined /> Learn more <LinkOutlined /> Learn more
</a> </a>
</div> </div>
@ -74,7 +82,11 @@ export default function Help() {
title: 'I want to tweak my video output', title: 'I want to tweak my video output',
content: ( content: (
<div> <div>
<a href="https://owncast.online/docs/encoding/?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/encoding/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
<LinkOutlined /> Learn more <LinkOutlined /> Learn more
</a> </a>
</div> </div>
@ -85,7 +97,11 @@ export default function Help() {
title: 'I want to use an external storage provider', title: 'I want to use an external storage provider',
content: ( content: (
<div> <div>
<a href="https://owncast.online/docs/storage/?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/storage/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
<LinkOutlined /> Learn more <LinkOutlined /> Learn more
</a> </a>
</div> </div>
@ -117,7 +133,11 @@ export default function Help() {
content: ( content: (
<div> <div>
Most general questions are answered in our Most general questions are answered in our
<a href="https://owncast.online/docs/faq/?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/faq/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
{' '} {' '}
FAQ FAQ
</a>{' '} </a>{' '}
@ -138,7 +158,11 @@ export default function Help() {
content: ( content: (
<div> <div>
You can build your own bots, overlays, tools and add-ons with our You can build your own bots, overlays, tools and add-ons with our
<a href="https://owncast.online/thirdparty?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/thirdparty?source=admin"
target="_blank"
rel="noopener noreferrer"
>
&nbsp;developer APIs.&nbsp; &nbsp;developer APIs.&nbsp;
</a> </a>
</div> </div>

6
web/pages/offline-notice.tsx

@ -40,7 +40,11 @@ export default function Offline({ logs = [], config }) {
title: 'Embed your video onto other sites', title: 'Embed your video onto other sites',
content: ( content: (
<div> <div>
<a href="https://owncast.online/docs/embed?source=admin" target="_blank" rel="noopener noreferrer"> <a
href="https://owncast.online/docs/embed?source=admin"
target="_blank"
rel="noopener noreferrer"
>
Learn how you can add your Owncast stream to other sites you control. Learn how you can add your Owncast stream to other sites you control.
</a> </a>
</div> </div>

Loading…
Cancel
Save