From ca4c8eb88f70c747b0c99d4100d9cf2adce53af5 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Thu, 28 Jul 2022 15:15:48 -0400 Subject: [PATCH] Organize main site images --- docusaurus.config.js | 6 +++--- src/components/BuiltByVolunteers.tsx | 2 +- src/components/FreeSoftware.tsx | 4 ++-- src/components/HomepageFeatures.tsx | 14 +++++++------- src/components/MoreClients.tsx | 6 +++--- static/{img => images}/favicon.ico | Bin static/{img => images}/icon-transparent.svg | 0 static/{img => images/icons}/monitor.svg | 0 static/{img => images/icons}/people.svg | 0 static/{img => images/icons}/plus-thick.svg | 0 static/{img => images/icons}/web.svg | 0 .../illustrations}/undraw_Video_streaming_re.svg | 0 .../illustrations}/undraw_book_lover.svg | 0 .../illustrations}/undraw_compose_music.svg | 0 .../illustrations}/undraw_game_day.svg | 0 .../illustrations}/undraw_group_selfie.svg | 0 .../illustrations}/undraw_home_cinema.svg | 0 .../undraw_real_time_collaboration.svg | 0 static/{img => images}/logo.svg | 0 static/{img => images/screenshots}/home-10.7.png | Bin static/{img => images}/social.png | Bin 21 files changed, 16 insertions(+), 16 deletions(-) rename static/{img => images}/favicon.ico (100%) rename static/{img => images}/icon-transparent.svg (100%) rename static/{img => images/icons}/monitor.svg (100%) rename static/{img => images/icons}/people.svg (100%) rename static/{img => images/icons}/plus-thick.svg (100%) rename static/{img => images/icons}/web.svg (100%) rename static/{img => images/illustrations}/undraw_Video_streaming_re.svg (100%) rename static/{img => images/illustrations}/undraw_book_lover.svg (100%) rename static/{img => images/illustrations}/undraw_compose_music.svg (100%) rename static/{img => images/illustrations}/undraw_game_day.svg (100%) rename static/{img => images/illustrations}/undraw_group_selfie.svg (100%) rename static/{img => images/illustrations}/undraw_home_cinema.svg (100%) rename static/{img => images/illustrations}/undraw_real_time_collaboration.svg (100%) rename static/{img => images}/logo.svg (100%) rename static/{img => images/screenshots}/home-10.7.png (100%) rename static/{img => images}/social.png (100%) diff --git a/docusaurus.config.js b/docusaurus.config.js index b37ab2c1..ae3f4741 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -6,11 +6,11 @@ module.exports = { baseUrl: '/', onBrokenLinks: 'warn', onBrokenMarkdownLinks: 'warn', - favicon: 'img/favicon.ico', + favicon: 'images/favicon.ico', organizationName: 'jellyfin', projectName: 'jellyfin.org', themeConfig: { - image: 'img/social.png', + image: 'images/social.png', announcementBar: { id: 'work_in_progress', // Any value that will identify this message. content: @@ -32,7 +32,7 @@ module.exports = { navbar: { logo: { alt: 'Jellyfin logo', - src: 'img/logo.svg' + src: 'images/logo.svg' }, items: [ { diff --git a/src/components/BuiltByVolunteers.tsx b/src/components/BuiltByVolunteers.tsx index 931b4282..29d5771b 100644 --- a/src/components/BuiltByVolunteers.tsx +++ b/src/components/BuiltByVolunteers.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import Svg from '../../static/img/people.svg'; +import Svg from '../../static/images/icons/people.svg'; import styles from './BuiltByVolunteers.modules.css'; export default function BuiltByVolunteers() { diff --git a/src/components/FreeSoftware.tsx b/src/components/FreeSoftware.tsx index c1858b54..dd4918a7 100644 --- a/src/components/FreeSoftware.tsx +++ b/src/components/FreeSoftware.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import Svg from '../../static/img/icon-transparent.svg'; +import Svg from '../../static/images/icon-transparent.svg'; import styles from './FreeSoftware.modules.css'; export default function FreeSoftware() { @@ -23,7 +23,7 @@ export default function FreeSoftware() { Jellyfin home screen diff --git a/src/components/HomepageFeatures.tsx b/src/components/HomepageFeatures.tsx index 3107e9a2..2fb5a300 100644 --- a/src/components/HomepageFeatures.tsx +++ b/src/components/HomepageFeatures.tsx @@ -5,7 +5,7 @@ import styles from './HomepageFeatures.module.css'; const FeatureList = [ { title: 'Movies', - Svg: require('../../static/img/undraw_home_cinema.svg').default, + Svg: require('/static/images/illustrations/undraw_home_cinema.svg').default, description: ( <> Enjoy your entire movie collection, easy to browse and with beautiful @@ -15,7 +15,7 @@ const FeatureList = [ }, { title: 'Shows', - Svg: require('../../static/img/undraw_Video_streaming_re.svg').default, + Svg: require('/static/images/illustrations/undraw_Video_streaming_re.svg').default, description: ( <> Watch your favorite shows, automatically sorted by season and ready to @@ -25,7 +25,7 @@ const FeatureList = [ }, { title: 'Music', - Svg: require('../../static/img/undraw_compose_music.svg').default, + Svg: require('/static/images/illustrations/undraw_compose_music.svg').default, description: ( <> Listen to music, your artists and your playlists, at home or on the go. @@ -34,26 +34,26 @@ const FeatureList = [ }, { title: 'Live TV & DVR', - Svg: require('../../static/img/undraw_game_day.svg').default, + Svg: require('/static/images/illustrations/undraw_game_day.svg').default, description: ( <>Watch TV and set automatic recordings to expand your library. ) }, { title: 'Books', - Svg: require('../../static/img/undraw_book_lover.svg').default, + Svg: require('/static/images/illustrations/undraw_book_lover.svg').default, description: <>Read your books, comics, and magazines. }, { title: 'Photos', - Svg: require('../../static/img/undraw_group_selfie.svg').default, + Svg: require('/static/images/illustrations/undraw_group_selfie.svg').default, description: ( <>Organize your photos and share memories with your friends and family. ) }, { title: 'SyncPlay', - Svg: require('../../static/img/undraw_real_time_collaboration.svg').default, + Svg: require('/static/images/illustrations/undraw_real_time_collaboration.svg').default, description: <>Sharing a movie night remotely has never been so easy. } ]; diff --git a/src/components/MoreClients.tsx b/src/components/MoreClients.tsx index 3c1ddc1d..0bc62b09 100644 --- a/src/components/MoreClients.tsx +++ b/src/components/MoreClients.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import Web from '../../static/img/web.svg'; -import Desktop from '../../static/img/monitor.svg'; +import Web from '../../static/images/icons/web.svg'; +import Desktop from '../../static/images/icons/monitor.svg'; import { Android, Apple, @@ -8,7 +8,7 @@ import { Amazon, Kodi } from '@icons-pack/react-simple-icons'; -import Plus from '../../static/img/plus-thick.svg'; +import Plus from '../../static/images/icons/plus-thick.svg'; export default function MoreClients() { return ( diff --git a/static/img/favicon.ico b/static/images/favicon.ico similarity index 100% rename from static/img/favicon.ico rename to static/images/favicon.ico diff --git a/static/img/icon-transparent.svg b/static/images/icon-transparent.svg similarity index 100% rename from static/img/icon-transparent.svg rename to static/images/icon-transparent.svg diff --git a/static/img/monitor.svg b/static/images/icons/monitor.svg similarity index 100% rename from static/img/monitor.svg rename to static/images/icons/monitor.svg diff --git a/static/img/people.svg b/static/images/icons/people.svg similarity index 100% rename from static/img/people.svg rename to static/images/icons/people.svg diff --git a/static/img/plus-thick.svg b/static/images/icons/plus-thick.svg similarity index 100% rename from static/img/plus-thick.svg rename to static/images/icons/plus-thick.svg diff --git a/static/img/web.svg b/static/images/icons/web.svg similarity index 100% rename from static/img/web.svg rename to static/images/icons/web.svg diff --git a/static/img/undraw_Video_streaming_re.svg b/static/images/illustrations/undraw_Video_streaming_re.svg similarity index 100% rename from static/img/undraw_Video_streaming_re.svg rename to static/images/illustrations/undraw_Video_streaming_re.svg diff --git a/static/img/undraw_book_lover.svg b/static/images/illustrations/undraw_book_lover.svg similarity index 100% rename from static/img/undraw_book_lover.svg rename to static/images/illustrations/undraw_book_lover.svg diff --git a/static/img/undraw_compose_music.svg b/static/images/illustrations/undraw_compose_music.svg similarity index 100% rename from static/img/undraw_compose_music.svg rename to static/images/illustrations/undraw_compose_music.svg diff --git a/static/img/undraw_game_day.svg b/static/images/illustrations/undraw_game_day.svg similarity index 100% rename from static/img/undraw_game_day.svg rename to static/images/illustrations/undraw_game_day.svg diff --git a/static/img/undraw_group_selfie.svg b/static/images/illustrations/undraw_group_selfie.svg similarity index 100% rename from static/img/undraw_group_selfie.svg rename to static/images/illustrations/undraw_group_selfie.svg diff --git a/static/img/undraw_home_cinema.svg b/static/images/illustrations/undraw_home_cinema.svg similarity index 100% rename from static/img/undraw_home_cinema.svg rename to static/images/illustrations/undraw_home_cinema.svg diff --git a/static/img/undraw_real_time_collaboration.svg b/static/images/illustrations/undraw_real_time_collaboration.svg similarity index 100% rename from static/img/undraw_real_time_collaboration.svg rename to static/images/illustrations/undraw_real_time_collaboration.svg diff --git a/static/img/logo.svg b/static/images/logo.svg similarity index 100% rename from static/img/logo.svg rename to static/images/logo.svg diff --git a/static/img/home-10.7.png b/static/images/screenshots/home-10.7.png similarity index 100% rename from static/img/home-10.7.png rename to static/images/screenshots/home-10.7.png diff --git a/static/img/social.png b/static/images/social.png similarity index 100% rename from static/img/social.png rename to static/images/social.png