From 7ad1be29e80273429408ca1df0803498f8f64cd4 Mon Sep 17 00:00:00 2001 From: Graphictoria Date: Sun, 24 Oct 2021 15:39:28 -0400 Subject: [PATCH] Fix social link alignment --- web/resources/js/components/Footer.js | 2 +- .../js/components/Landing/SocialCard.js | 17 +++++++++++++ web/resources/js/pages/Home.js | 25 +++++-------------- 3 files changed, 24 insertions(+), 20 deletions(-) create mode 100644 web/resources/js/components/Landing/SocialCard.js diff --git a/web/resources/js/components/Footer.js b/web/resources/js/components/Footer.js index 28576e7..b7a691c 100644 --- a/web/resources/js/components/Footer.js +++ b/web/resources/js/components/Footer.js @@ -21,7 +21,7 @@ const Footer = () => {

| | | | |


Copyright © {CurrentDate.getFullYear()} Graphictoria. All rights reserved.

-

Graphictoria is not affiliated with or sponsored by Roblox Corporation. The usage of this website signifies your acceptance of the and our .

+

Graphictoria is not affiliated with, endorsed by, or sponsored by Roblox Corporation. The usage of this website signifies your acceptance of the and our .

Twitter Discord diff --git a/web/resources/js/components/Landing/SocialCard.js b/web/resources/js/components/Landing/SocialCard.js new file mode 100644 index 0000000..3f68df5 --- /dev/null +++ b/web/resources/js/components/Landing/SocialCard.js @@ -0,0 +1,17 @@ +// © XlXi 2021 +// Graphictoria 5 + +import React from 'react'; + +const SocialCard = (props) => { + return ( +
+ +

{ props.title }

+

{ props.description }

+ View » +
+ ); +}; + +export default SocialCard; \ No newline at end of file diff --git a/web/resources/js/pages/Home.js b/web/resources/js/pages/Home.js index 202d1bd..4641684 100644 --- a/web/resources/js/pages/Home.js +++ b/web/resources/js/pages/Home.js @@ -6,6 +6,8 @@ import { Link } from "react-router-dom"; import SetTitle from "../Helpers/Title.js"; +import SocialCard from "../Components/Landing/SocialCard.js"; + class Home extends React.Component { componentDidMount() { @@ -21,7 +23,7 @@ class Home extends React.Component {

Graphictoria

Graphictoria aims to revive the classic Roblox experience. Join 5k+ other users and relive your childhood!
-

* Graphictoria is not affiliated with or sponsored by Roblox Corporation.

+

* Graphictoria is not affiliated with, endorsed by, or sponsored by Roblox Corporation.

Create your account
@@ -33,24 +35,9 @@ class Home extends React.Component {

Social Links

-
- -

YouTube

-

Subscribe to our YouTube channel, where we upload trailers for future events and Graphictoria gameplay videos.

- View » -
-
- -

Twitter

-

Follow us on Twitter. Here you can recieve important updates about Graphictoria and receive announcements for events, downtime, etc.

- View » -
-
- -

Discord

-

Join our Discord server. This is the place where you can engage with the rest of our community, or just hang out with friends.

- View » -
+ + +