-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from eurunuela/mobile
Add main page for mobile phones
- Loading branch information
Showing
6 changed files
with
252 additions
and
222 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,4 +1,4 @@ | ||
INLINE_RUNTIME_CHUNK=false | ||
GENERATE_SOURCEMAP=false | ||
SKIP_PREFLIGHT_CHECK=true | ||
REACT_APP_VERSION=1.0.13 | ||
REACT_APP_VERSION=1.0.14 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React, { Component } from "react"; | ||
|
||
class MobileMain extends Component { | ||
render() { | ||
return ( | ||
<div className="h-screen bg-gradient-to-tr from-indigo-200 via-red-200 to-yellow-100"> | ||
<div className="fixed z-10 flex items-center justify-center w-full h-full"> | ||
<div className="px-6 m-auto"> | ||
<h1 className="mb-8 text-3xl font-extrabold"> | ||
Hi, this is Rica{" "} | ||
<span role="img" aria-label="wave"> | ||
👋 | ||
</span> | ||
</h1> | ||
<div className="my-8"> | ||
<p className="text-base"> | ||
It looks like you're visiting from a small screen. Bookmark me | ||
and visit me again from your computer. | ||
</p> | ||
</div> | ||
<div className="my-8"> | ||
<a href="https://www.github.com/ME-ICA/rica" target="_blank"> | ||
<div className="inline-block w-auto px-4 py-2 font-bold text-white bg-indigo-400 rounded hover:bg-indigo-700"> | ||
Learn more | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default MobileMain; |
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
Oops, something went wrong.