-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made progress with homepage in WebApp.
- Loading branch information
Showing
3 changed files
with
172 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,52 @@ | ||
import { HomePageContainer } from "./styles/HomePage.styled" | ||
import { NewGameIcon, PlayIcon } from "./Icons" | ||
import { GalleryContainer, GameIcon, GameInfoContainer, HomePageContainer, GameMetaData, GameActionButtonsContainer, GameActionButton, GameActionButtonBackground, GameActionButtonForeground ,MetaDataText, MetaDataTitle} from "./styles/HomePage.styled" | ||
|
||
export default function HomePage() { | ||
|
||
let gameNames = ["Mario Kart", "Legend of Zelda", "PacMan", "Tetris", "Pokemon"]; | ||
|
||
return ( | ||
<HomePageContainer> | ||
Home Page | ||
|
||
<GalleryContainer> | ||
|
||
<GameIcon tabIndex={2}> | ||
<NewGameIcon /> | ||
</GameIcon> | ||
|
||
{gameNames.map((game, index)=>{ | ||
return( | ||
<GameIcon tabIndex={2}>{game}</GameIcon> | ||
) | ||
|
||
})} | ||
|
||
|
||
|
||
</GalleryContainer> | ||
|
||
<GameInfoContainer> | ||
<GameMetaData> | ||
<MetaDataTitle><span>Super Mario</span></MetaDataTitle> | ||
<MetaDataText> Author: </MetaDataText> | ||
<MetaDataText> Last Updated: </MetaDataText> | ||
|
||
</GameMetaData> | ||
|
||
<GameActionButtonsContainer> | ||
<GameActionButton> | ||
<GameActionButtonForeground> | ||
<PlayIcon/> | ||
</GameActionButtonForeground> | ||
|
||
<GameActionButtonBackground></GameActionButtonBackground> | ||
|
||
</GameActionButton> | ||
|
||
</GameActionButtonsContainer> | ||
|
||
</GameInfoContainer> | ||
|
||
</HomePageContainer> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters