Skip to content

Commit

Permalink
Merge branch 'master' into Hardware-Selection-Guide
Browse files Browse the repository at this point in the history
  • Loading branch information
felix920506 authored Sep 20, 2023
2 parents 0459c9b + a34a16b commit bd29d5a
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 57 deletions.
14 changes: 7 additions & 7 deletions docs/general/clients/css-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -731,45 +731,45 @@ Material Icons:
- Outlined:

```css
@import url(https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Outline.css");
@import url("https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Outline.css");
```

- Rounded:

```css
@import url(https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/round.css");
@import url("https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/round.css");
```

- Sharp:

```css
@import url(https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Sharp.css");
@import url("https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Sharp.css");
```

Fontawesome Icons:

- Solid:

```css
@import url(https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Font%20Awesome/solid.css");
@import url("https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Font%20Awesome/solid.css");
```

- Regular:

```css
@import url(https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Font%20Awesome/regular.css");
@import url("https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Font%20Awesome/regular.css");
```

- Light:

```css
@import url(https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Font%20Awesome/light.css");
@import url("https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Font%20Awesome/light.css");
```

- duotone:

```css
@import url(https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Font%20Awesome/duotone.css");
@import url("https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/Font%20Awesome/duotone.css");
```

## Community Links
Expand Down
94 changes: 47 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"@types/react": "17.0.65",
"@types/react-helmet": "6.1.6",
"@types/react-router-dom": "5.3.3",
"@typescript-eslint/eslint-plugin": "6.6.0",
"@typescript-eslint/parser": "6.6.0",
"@typescript-eslint/eslint-plugin": "6.7.0",
"@typescript-eslint/parser": "6.7.0",
"eslint": "8.49.0",
"eslint-config-prettier": "8.10.0",
"eslint-config-standard": "17.1.0",
Expand Down
1 change: 1 addition & 0 deletions src/components/clients/ClientDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const ClientDetails = ({ client }: { client: Client }) => (
<DetailsCard
title={client.name}
description={client.description}
smallDescription={client.smallDescription}
badges={
<>
<ClientTypeBadge clientType={client.clientType} />
Expand Down
3 changes: 3 additions & 0 deletions src/components/common/DetailsCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
.details-card__footer .button:first-child {
margin-left: 0;
}
.details-card .card__body .card__body__helptext {
color: rgb(157, 148, 136);
}

@media (max-width: 420px) {
.details-card__header {
Expand Down
7 changes: 6 additions & 1 deletion src/components/common/DetailsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ type DetailsCardProps = {
id?: string;
title: string;
description: ReactNode;
smallDescription?: ReactNode;
badges?: ReactNode;
icons?: ReactNode;
primaryButtons?: Array<ReactNode>;
Expand All @@ -17,6 +18,7 @@ const DetailsCard: FunctionComponent<DetailsCardProps> = ({
id,
title,
description,
smallDescription,
badges = [],
icons = [],
primaryButtons = [],
Expand All @@ -31,7 +33,10 @@ const DetailsCard: FunctionComponent<DetailsCardProps> = ({
</div>
<div className='details-card__icons'>{icons}</div>
</div>
<div className='card__body padding-top--sm'>{description}</div>
<div className='card__body padding-top--sm'>
<p>{description}</p>
{smallDescription && <p className='card__body__helptext'>{smallDescription}</p>}
</div>
<div className='card__footer details-card__footer container'>
<div className='row'>
<div className='details-card__footer__buttons col'>
Expand Down
3 changes: 3 additions & 0 deletions src/data/clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export type Client = {
id: string;
name: string;
description: string;
smallDescription?: string;
clientType: ClientType;
deviceTypes: Array<DeviceType>;
licenseType: LicenseType;
Expand Down Expand Up @@ -534,6 +535,8 @@ export const Clients: Array<Client> = [
id: 'jellyfin-roku',
name: 'Jellyfin for Roku',
description: 'The official Jellyfin app for Roku devices.',
smallDescription:
'Due to a technical limitation of the Roku store, the Jellyfin app for Roku may state that a cable or satellite subscription is required. However, no subscription of any form is required to use the Jellyfin server or any official client.',
clientType: ClientType.Official,
deviceTypes: [DeviceType.TV],
licenseType: LicenseType.OpenSource,
Expand Down

0 comments on commit bd29d5a

Please sign in to comment.