diff --git a/src/pages/Missions.jsx b/src/pages/Missions.jsx index d545753..a951661 100644 --- a/src/pages/Missions.jsx +++ b/src/pages/Missions.jsx @@ -1,26 +1,8 @@ -import { useEffect } from 'react'; +import { useEffect } from 'react'; import { useSelector } from 'react-redux'; import '../styles/Missions.css'; -const missionsArray = [ - { - name: 'Thaicom', - description: 'Thaicom is the name of a series of communications satellites operated from Thailand, and also the name of Thaicom Public Company Limited, which is the company that owns and operates the Thaicom satellite fleet and other telecommunication businesses in Thailand and throughout the Asia-Pacific region. The satellite projects were named Thaicom by the King of Thailand, His Majesty the King Bhumibol Adulyadej, as a symbol of the linkage between Thailand and modern communications technology.', - status: 'NOT A MEMBER' - }, - { - name: 'Telstar', - description: 'Telstar is the name of various communications satellites. The first two Telstar satellites were experimental and nearly identical. Telstar 1 launched on top of a Thor-Delta rocket on July 10, 1962. It successfully relayed through space the first television pictures, telephone calls, and telegraph images, and provided the first live transatlantic television feed. Telstar 2 launched May 7, 1963. Telstar 1 and 2—though no longer functional—still orbit the Earth.', - status: 'Active Member' - }, - { - name: 'Athena', - description: 'Athena is a family of American expendable space launch vehicles developed by Lockheed Martin Space Systems in the 1990s. They were derivatives of the PGM-17 Thor missile. Athena rockets were used to launch small satellites into low Earth orbit between 1995 and 2001.', - status: 'Active Member' - }, -]; - const Missions = () => { const missions = useSelector(state => state.missions); @@ -28,8 +10,6 @@ const Missions = () => { console.log(missions.missions); }, [missions]); - - return (
@@ -46,21 +26,21 @@ const Missions = () => { let hideLeaveMissionBtn = mission.status === false ? 'hide' : ''; return ( -
-
{mission.name}
-
{mission.description}
-
-
- {memberStatusValue} +
+
{mission.name}
+
{mission.description}
+
+
+ {memberStatusValue} +
+
+
+ +
-
- - -
-
) -})} + })}
)