-
Notifications
You must be signed in to change notification settings - Fork 1
Develop/frontend #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Develop/frontend #70
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
import React from "react"; | ||
import { compose } from "react-recompose"; | ||
import RatingCommentCache from "../../components/content/Rating/RatingCommentCache"; | ||
import withPageWrapper from "../../hoc/withPageWrapper"; | ||
import DeleteCachePopup from "./../../components/content/CachePopup/DeleteCachePopup/DeleteCachePopup"; | ||
import * as Style from "./style.js"; | ||
|
||
const Home = () => { | ||
return ( | ||
<> | ||
<p>Home Page Construction</p> | ||
</> | ||
<Style.HomeContainer> | ||
<Style.Header>Welcome on Gocache App!</Style.Header> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "Gocache" seems wrong There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please also change it to "Welcome to (...)" |
||
<Style.HomeContent> | ||
<Style.CacheImage src="/images/HomeImage.jpg" /> | ||
<Style.WelcomeText> | ||
Geocaching is a real-world, outdoor adventure that is happening all | ||
the time, all around the world. To play, participants use the | ||
Geocaching app and/or a GPS device to navigate to cleverly hidden | ||
containers called geocaches. | ||
</Style.WelcomeText> | ||
</Style.HomeContent> | ||
</Style.HomeContainer> | ||
); | ||
}; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import styled from "styled-components"; | ||
|
||
export const HomeContainer = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
flex-wrap: nowrap; | ||
row-gap: 45px; | ||
background-color: #15171c; | ||
margin: 0 30px; | ||
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.32); | ||
padding: 60px; | ||
min-width: 500px; | ||
max-width: 1300px; | ||
color: #e1e9fc; | ||
`; | ||
|
||
export const Header = styled.h2` | ||
font-size: 70px; | ||
`; | ||
|
||
export const HomeContent = styled.div` | ||
display: flex; | ||
column-gap: 45px; | ||
align-items: center; | ||
justify-content: center; | ||
`; | ||
|
||
export const CacheImage = styled.img` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
border-radius: 100%; | ||
`; | ||
|
||
export const WelcomeText = styled.p` | ||
font-size: 40px; | ||
text-align: justify; | ||
line-height: 1.4; | ||
`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is removed yet the "Settings" option stays?