Skip to content

Commit

Permalink
:remove:
Browse files Browse the repository at this point in the history
  • Loading branch information
noeypatt committed Mar 30, 2020
1 parent c7e3ec8 commit e4c2942
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 393 deletions.
3 changes: 0 additions & 3 deletions pages/index/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ const About = () => {
<div className="detail-content">
<img className="" src="/static/testcoverAbout.jpg" />
<div className="data-detail-content">
<div className="title-content">
<h6> </h6>
</div>
{
data.map((item, index) => (
<div className="title-content " key={index}>
Expand Down
12 changes: 6 additions & 6 deletions pages/index/Allowance.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const Allowance = () => {

const [data, setData] = useState([
{
title: "ระดับเริ่มต้น (Aging society)",
text: "สังคมที่มีประชากรอายุ 60 ปีขึ้นไปมากกว่าร้อยละ 10 ของประชากรทั้งประเทศ",
subtext: "หรือมีประชากรอายุตั้งแต่ 65 ปีมากกว่าร้อยละ 7 ของประชากรทั้งประเทศ"
title: "เบี้ยยังชีพผู้สูงอายุ คือ",
text: "เป็นสวัสดิการขั้นพื้นฐานที่ภาครัฐจัดสรรไว้ให้กับผู้สูงอายุซึ่งหมายถึง บุคคลที่มีอายุ 60 ปีขึ้นไป ",
subtext: "เพื่อเป็นเงินช่วยเหลือ และแบ่งเบาภาระค่าใช้จ่ายการดำรงชีวิตในแต่ละเดือน"
},
{
title: "ระดับสมบูรณ์ (Aged society)",
Expand Down Expand Up @@ -55,7 +55,7 @@ const Allowance = () => {
<link rel='icon' href='/static/logomain.svg' />
</Head>
<NavBar name="main" tab={isSmallScreen ? homeMin : home} confirm={onConfirm} />
<div className="warp-about">
<div className="warp-allowance-page">
<div className="page-content">
{
isSmallScreen ?
Expand Down Expand Up @@ -94,8 +94,8 @@ const Allowance = () => {
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>
<h6 className="sub-title-content">{item.text}</h6>
<h6 className="sub-title-content">{item.subtext}</h6>
</div>
))
}
Expand Down
1 change: 1 addition & 0 deletions styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

//Index
@import './index/society.scss';
@import './index/allowance.scss';

//Main
@import "./main.scss";
Expand Down
88 changes: 88 additions & 0 deletions styles/index/allowance.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
.warp-allowance-page {
.page-content {
padding-top: 3rem;

.container-fluid {
display: flex;
flex-direction: column;
.head-content {
h1.name-header {
font-family: $font-header;
}

.title-about {
display: flex;
flex-direction: column;
align-items: center;
h6 {
margin-top: 0.5rem;
color: $font-text-sub;
font-style: italic;
}
}
}
.detail-content {
display: flex;
justify-content: center;
align-items: center;
margin: 2rem 3rem;

@media (max-width: 575.98px) {
flex-direction: column;
}
img {
height: 20rem;
margin-right: 1rem;
@media (max-width: 575.98px) {
margin-right: 0;
height: 18rem;
}
}

.data-detail-content {
margin-left: 2rem;
display: flex;
flex-direction: column;

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

.title-content {
padding: 0 3rem;
margin-bottom: 1rem;

@media (max-width: 768px) {
padding: 0;
}

.header-title-content {
font-weight: bold !important;
}

.sub-title-content {
margin-left: 1rem;
}

h6 {
text-align: start;
opacity: 0.8;
margin-bottom: 0.5rem !important;
font-weight: lighter;
}
}
.more-content {
padding: 0 3rem;
display: flex;

h6 {
margin-top: 1rem;
font-weight: bold;
text-align: center;
}
}
}
}
}
}
}
112 changes: 0 additions & 112 deletions styles/index/contact.scss

This file was deleted.

135 changes: 0 additions & 135 deletions styles/index/project.scss

This file was deleted.

Loading

1 comment on commit e4c2942

@vercel
Copy link

@vercel vercel bot commented on e4c2942 Mar 30, 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.