-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
66 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import React from 'react' | ||
import Link from 'next/link' | ||
import { useMediaQuery } from 'react-responsive' | ||
|
||
|
||
const Cover = () => { | ||
const isSmallScreen = useMediaQuery({ maxDeviceWidth: 768.99 }) | ||
|
||
return ( | ||
<div className="warp-cover"> | ||
<div className="page-content"> | ||
{ | ||
isSmallScreen ? | ||
<div className="container-fluid"> | ||
<div className="title"> | ||
<h1>ระบบฐานข้อมูลผู้สูงอายุ</h1> | ||
<h1>และอินโฟกราฟิก</h1> | ||
<div className="detail"> | ||
<div className="text-content"> | ||
<h6>ElderlyDB เป็นการนำข้อมูลเกี่ยวกับผู้สูงอายุ</h6> | ||
<h6>มาแสดงผลในรูปเเบบของกราฟในรูปแบบต่าง ๆ</h6> | ||
<h6>ภายในอำเภอกะทู้ จังหวัดภูเก็ต</h6> | ||
</div> | ||
</div> | ||
<Link href="/main"> | ||
<h5>เข้าสู่หน้าหลัก</h5> | ||
</Link> | ||
</div> | ||
</div> | ||
: | ||
<div className="container-fluid"> | ||
<div className="title"> | ||
<h1 className="animated fadeInDown delay-s">ระบบฐานข้อมูลผู้สูงอายุ</h1> | ||
<h1 className="animated fadeInDown delay-s">และอินโฟกราฟิก</h1> | ||
<div className="detail"> | ||
<svg className="animated zoomIn delay-1s" > | ||
<line x1="0" y1="0" x2="0" y2="100" /> | ||
</svg> | ||
<div className="text-content"> | ||
<h6 className="animated fadeInDown delay-1s">ElderlyDB เป็นการนำข้อมูลเกี่ยวกับผู้สูงอายุ</h6> | ||
<h6 className="animated fadeInDown delay-1s">มาแสดงผลในรูปเเบบของกราฟในรูปแบบต่าง ๆ </h6> | ||
<h6 className="animated fadeInDown delay-1s">ภายในอำเภอกะทู้ จังหวัดภูเก็ต </h6> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
<Link href="/main"> | ||
<h5 className="animated zoomIn delay-1s" >เข้าสู่หน้าหลัก</h5> | ||
</Link> | ||
</div> | ||
<div className="cover"> | ||
<img src="../../static/testcoverNew.png" alt="cover" /> | ||
</div> | ||
</div> | ||
} | ||
|
||
</div> | ||
</div> | ||
) | ||
|
||
} | ||
export default Cover |
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
872d1d4
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.
Successfully deployed to following URLs: