Skip to content

Commit

Permalink
💄Contact
Browse files Browse the repository at this point in the history
  • Loading branch information
noeypatt committed Mar 31, 2020
1 parent 531346b commit e31d858
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pages/index/Contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { useMediaQuery } from 'react-responsive';

const Contact = () => {
const isSmallScreen = useMediaQuery({ maxDeviceWidth: 575.98 })
const [header, setHeader] = useState("การติดต่อหน่วยงาน")
const [subHead, setSubHead] = useState("อำเภอกะทู้ จังหวัดภูเก็ต")

const [data, setData] = useState([
{
title: "ระดับเริ่มต้น (Aging society)",
Expand Down Expand Up @@ -80,22 +83,21 @@ const Contact = () => {
:
<div className="container-fluid">
<div className="head-content">
<h3>สังคมผู้สูงอายุ และระดับของการเข้าสู่สังคมผู้สูงอายุ</h3>
<h3> ถูกแบ่งออกเป็น 3 ระดับ</h3>
<h3>{header}</h3>
<h3>{subHead}</h3>
</div>

<div className="detail-content">
<img src="/static/trstcover2.gif" />
<div className="data-detail-content">
{
{/* {
data.map((item, index) => (
<div className="title-content" key={index}>
<h6 className="header-title-content">{item.title}</h6>
<h6>{item.text}</h6>
<h6>{item.subtext}</h6>
</div>
))
}
} */}
</div>
</div>
</div>
Expand Down

1 comment on commit e31d858

@vercel
Copy link

@vercel vercel bot commented on e31d858 Mar 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.