fix(Home): fixed component order

This commit is contained in:
Timothy Stewart 2021-10-08 23:17:55 -05:00
parent 936db0ce74
commit d65ef557c4

View File

@ -51,38 +51,6 @@ function Home(props) {
/> />
<h1>{`${runtimeConfig.NAME}`}</h1> <h1>{`${runtimeConfig.NAME}`}</h1>
<p>{runtimeConfig.BIO}</p> <p>{runtimeConfig.BIO}</p>
{runtimeConfig.GITHUB && (
<Button
name="github"
href={runtimeConfig.GITHUB}
displayName="GitHub"
logo={githubLogo}
/>
)}
{runtimeConfig.TWITTER && (
<Button
name="twitter"
href={runtimeConfig.TWITTER}
displayName="Twitter"
logo={twitterLogo}
/>
)}
{runtimeConfig.DISCORD && (
<Button
name="discord"
href={runtimeConfig.DISCORD}
displayName="Discord"
logo={discordLogo}
/>
)}
{runtimeConfig.INSTAGRAM && (
<Button
name="instagram"
href={runtimeConfig.INSTAGRAM}
displayName="Instagram"
logo={instagramLogo}
/>
)}
{runtimeConfig.YOUTUBE && ( {runtimeConfig.YOUTUBE && (
<Button <Button
name="youtube" name="youtube"
@ -99,6 +67,40 @@ function Home(props) {
logo={twitchLogo} logo={twitchLogo}
/> />
)} )}
{runtimeConfig.TWITTER && (
<Button
name="twitter"
href={runtimeConfig.TWITTER}
displayName="Twitter"
logo={twitterLogo}
/>
)}
{runtimeConfig.INSTAGRAM && (
<Button
name="instagram"
href={runtimeConfig.INSTAGRAM}
displayName="Instagram"
logo={instagramLogo}
/>
)}
{runtimeConfig.GITHUB && (
<Button
name="github"
href={runtimeConfig.GITHUB}
displayName="GitHub"
logo={githubLogo}
/>
)}
{runtimeConfig.DISCORD && (
<Button
name="discord"
href={runtimeConfig.DISCORD}
displayName="Discord"
logo={discordLogo}
/>
)}
{runtimeConfig.TIKTOK && ( {runtimeConfig.TIKTOK && (
<Button <Button
name="tiktok" name="tiktok"