Skip to content

Commit

Permalink
💄About
Browse files Browse the repository at this point in the history
  • Loading branch information
noeypatt committed Apr 1, 2020
1 parent 98abedc commit 06f6cc5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
34 changes: 17 additions & 17 deletions pages/index/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ const About = () => {

const [home, setHome] = useState(
[
{ name: "สังคมผู้สูงอายุ", href: "/index/society" },
{ name: "เบี้ยยังชีพ", href: "/index/allowance" },
{ name: "เข้าสู่หน้าหลัก", href: "/main" }
{ name: "สังคมผู้สูงอายุ", href: "/index/society" },
{ name: "เบี้ยยังชีพ", href: "/index/allowance" },
{ name: "เข้าสู่หน้าหลัก", href: "/main" }
]
)
const [homeMin, setHomeMin] = useState(
)

const [homeMin, setHomeMin] = useState(
[
{ name: "สังคมผู้สูงอายุ", href: "/index/society" },
{ name: "เบี้ยยังชีพ", href: "/index/allowance" },
{ name: "เข้าสู่หน้าหลัก", href: "/main" },
{ name: "สังคมผู้สูงอายุ", href: "/index/society" },
{ name: "เบี้ยยังชีพ", href: "/index/allowance" },
{ name: "เข้าสู่หน้าหลัก", href: "/main" },
]
)
)

const onConfirm = (order) => {
setStatus(order)
Expand All @@ -78,17 +78,17 @@ const About = () => {
</div>

<div className="detail-content">
<img src="/static/gifcover2.gif" />
<img className="" src="/static/testcoverAbout.jpg" />
<div className="data-detail-content">
{/* {
{
data.map((item, index) => (
<div className="title-content" key={index}>
<div className="title-content " key={index}>
<h6 className="header-title-content">{item.title}</h6>
<h6>{item.text}</h6>
<h6>{item.subtext}</h6>
<h6 className="sub-title-content">{item.text}</h6>
<h6 className="sub-title-content">{item.subtext}</h6>
</div>
))
} */}
}
</div>
</div>
</div>
Expand All @@ -98,7 +98,7 @@ const About = () => {
<h1 className="name-header">{header}</h1>
<h4 className="">{subHead}</h4>
<div className="title-about">
<h6 className="">{summary}</h6>
<h6 className="">{summary}</h6>
</div>
</div>

Expand Down
1 change: 1 addition & 0 deletions styles/about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ $font-text-sub: #978bab !important;

@media (max-width: 575.98px) {
margin-top: 1rem;
margin-left: 0;
}

.title-content {
Expand Down

1 comment on commit 06f6cc5

@vercel
Copy link

@vercel vercel bot commented on 06f6cc5 Apr 1, 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.