From 7879fcc7c6c981bda727d4dfc648e429321936f6 Mon Sep 17 00:00:00 2001 From: Programming-School Date: Mon, 30 May 2022 13:41:44 +0200 Subject: [PATCH 1/6] Update PlayHeaderActions.jsx --- src/common/playlists/PlayHeaderActions.jsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/common/playlists/PlayHeaderActions.jsx b/src/common/playlists/PlayHeaderActions.jsx index 27bc8b203e..5d7c265f78 100644 --- a/src/common/playlists/PlayHeaderActions.jsx +++ b/src/common/playlists/PlayHeaderActions.jsx @@ -1,5 +1,5 @@ import React, { useState } from "react"; -import { BsGithub } from "react-icons/bs"; +import { BsGithub, BsFileEarmarkSpreadsheet } from "react-icons/bs"; import { IoLogoYoutube } from "react-icons/io"; import { AiOutlineRead } from "react-icons/ai"; import { BiComment } from "react-icons/bi"; @@ -31,7 +31,7 @@ const PlayHeaderActions = ({ play }) => { GitHub )} - {play.blog && ( + {play.blog ? ( { Blog + ) : ( + + + README + )} {play.video && ( Date: Mon, 30 May 2022 14:31:28 +0200 Subject: [PATCH 2/6] Update PlayHeaderActions.jsx --- src/common/playlists/PlayHeaderActions.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/playlists/PlayHeaderActions.jsx b/src/common/playlists/PlayHeaderActions.jsx index 5d7c265f78..4c2016dc92 100644 --- a/src/common/playlists/PlayHeaderActions.jsx +++ b/src/common/playlists/PlayHeaderActions.jsx @@ -1,5 +1,5 @@ import React, { useState } from "react"; -import { BsGithub, BsFileEarmarkSpreadsheet } from "react-icons/bs"; +import { BsGithub } from "react-icons/bs"; import { IoLogoYoutube } from "react-icons/io"; import { AiOutlineRead } from "react-icons/ai"; import { BiComment } from "react-icons/bi"; @@ -48,7 +48,7 @@ const PlayHeaderActions = ({ play }) => { className="action" href={`https://github.com/atapas/react-play/tree/main/src${play.path}/Readme.md`} > - + README )} From 110cfdba870c382aec1f4a8b24e3866e19753140 Mon Sep 17 00:00:00 2001 From: Programming-School Date: Tue, 31 May 2022 12:33:57 +0200 Subject: [PATCH 3/6] Update PlayHeaderActions.jsx --- src/common/playlists/PlayHeaderActions.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/playlists/PlayHeaderActions.jsx b/src/common/playlists/PlayHeaderActions.jsx index 4c2016dc92..99d2ed941c 100644 --- a/src/common/playlists/PlayHeaderActions.jsx +++ b/src/common/playlists/PlayHeaderActions.jsx @@ -41,8 +41,7 @@ const PlayHeaderActions = ({ play }) => { Blog - ) : ( - { README - )} + } {play.video && ( Date: Wed, 1 Jun 2022 13:27:55 +0200 Subject: [PATCH 4/6] Update PlayHeaderActions.jsx --- src/common/playlists/PlayHeaderActions.jsx | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/common/playlists/PlayHeaderActions.jsx b/src/common/playlists/PlayHeaderActions.jsx index 99d2ed941c..b3d5dda2e8 100644 --- a/src/common/playlists/PlayHeaderActions.jsx +++ b/src/common/playlists/PlayHeaderActions.jsx @@ -31,25 +31,20 @@ const PlayHeaderActions = ({ play }) => { GitHub )} - {play.blog ? ( + {play.blog || play.path && Blog - ) : - - README - } {play.video && ( Date: Thu, 2 Jun 2022 13:37:08 +0200 Subject: [PATCH 5/6] Update PlayHeaderActions.jsx --- src/common/playlists/PlayHeaderActions.jsx | 28 ++++++++++------------ 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/common/playlists/PlayHeaderActions.jsx b/src/common/playlists/PlayHeaderActions.jsx index b3d5dda2e8..f58c86b3de 100644 --- a/src/common/playlists/PlayHeaderActions.jsx +++ b/src/common/playlists/PlayHeaderActions.jsx @@ -31,21 +31,19 @@ const PlayHeaderActions = ({ play }) => { GitHub )} - {play.blog || play.path && - - - Blog - - } + + + Blog + {play.video && ( Date: Thu, 2 Jun 2022 14:39:15 +0200 Subject: [PATCH 6/6] Update PlayHeaderActions.jsx --- src/common/playlists/PlayHeaderActions.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/playlists/PlayHeaderActions.jsx b/src/common/playlists/PlayHeaderActions.jsx index f58c86b3de..5725e4f7a8 100644 --- a/src/common/playlists/PlayHeaderActions.jsx +++ b/src/common/playlists/PlayHeaderActions.jsx @@ -38,7 +38,7 @@ const PlayHeaderActions = ({ play }) => { href={ play.blog ? play.blog - : `https://github.com/atapas/react-play/tree/main/src${play.path}/Readme.md` + : `https://github.com/reactplay/react-play/tree/main/src${play.path}/Readme.md` } >