diff --git a/src/components/Footer/Footer.css b/src/components/Footer/Footer.css
index 32367b9..f2b8e76 100644
--- a/src/components/Footer/Footer.css
+++ b/src/components/Footer/Footer.css
@@ -1,12 +1,42 @@
-.footer{
+.footer {
width: 100%;
height: 55px;
- font-family: Verdana, Geneva, Tahoma, sans-serif;
- background-color: #0677a9;
+ font-family: monospace;
+ font-size: 16px;
+ background-color: #272727;
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0px -7px 20px rgb(2 9 39 / 34%);
margin-top: 20px;
-}
\ No newline at end of file
+}
+
+.heart {
+ color: red;
+ margin: 0 5px;
+ animation: heart-beat 0.35s infinite alternate;
+ -webkit-animation: heart-beat 0.35s infinite alternate;
+}
+
+@keyframes heart-beat {
+ 0%,
+ 50%,
+ 100% {
+ transform: scale(1);
+ }
+ 60% {
+ transform: scale(1.1);
+ }
+}
+
+@-webkit-keyframes heart-beat {
+ 0%,
+ 50%,
+ 100% {
+ transform: scale(1);
+ }
+ 60% {
+ transform: scale(1.1);
+ }
+}
diff --git a/src/components/Footer/Footer.js b/src/components/Footer/Footer.js
index b0b4966..1a9f05e 100644
--- a/src/components/Footer/Footer.js
+++ b/src/components/Footer/Footer.js
@@ -4,7 +4,7 @@ import './Footer.css'
function Footer() {
return (
- Designed & Made by Adarsh❤️
+ Crafted with ❤ by Adarsh
)
}
diff --git a/src/components/RocketCard/RocketCard.css b/src/components/RocketCard/RocketCard.css
new file mode 100644
index 0000000..38000bd
--- /dev/null
+++ b/src/components/RocketCard/RocketCard.css
@@ -0,0 +1,17 @@
+.rocket-list {
+ max-width: 600px;
+ margin: auto;
+ padding: 0 10px;
+}
+
+.rocket-list li {
+ list-style: none;
+}
+
+.rocket-list li div {
+ margin: 40px 0 10px;
+}
+
+.rocket-list li:first-child div {
+ margin-top: 20px;
+}
\ No newline at end of file
diff --git a/src/components/RocketCard/RocketCard.js b/src/components/RocketCard/RocketCard.js
new file mode 100644
index 0000000..698c230
--- /dev/null
+++ b/src/components/RocketCard/RocketCard.js
@@ -0,0 +1,33 @@
+import React from 'react'
+import PropTypes from 'prop-types'
+import { Typography, Divider } from '@material-ui/core';
+import './RocketCard.css'
+
+function RocketCard(props) {
+ return (
+
+ )
+}
+
+RocketCard.propTypes = {
+ rockets: PropTypes.object.isRequired
+}
+
+export default RocketCard
+
diff --git a/src/queries/RocketsResult.js b/src/queries/RocketsResult.js
index 53034b8..c3e413a 100644
--- a/src/queries/RocketsResult.js
+++ b/src/queries/RocketsResult.js
@@ -1,6 +1,7 @@
import React from 'react'
import { useQuery, gql } from "@apollo/client";
import RocketLoader from "../loaders/RocketLoader";
+import RocketCard from '../components/RocketCard/RocketCard'
const RocketsResultQuery = gql`
{
@@ -45,7 +46,7 @@ const RocketsResultQuery = gql`
`
export default function RocketsResult(props) {
- const { loading, error } = useQuery(RocketsResultQuery);
+ const { loading, error, data } = useQuery(RocketsResultQuery);
const { value, index } = props;
if (loading) return ;
@@ -53,9 +54,7 @@ export default function RocketsResult(props) {
return (
<>
- {value === index && (
- Coming soon...
-
)}
+ {value === index && ()}
>
);
}
\ No newline at end of file