Skip to content

Commit

Permalink
✏️
Browse files Browse the repository at this point in the history
  • Loading branch information
noeypatt committed Apr 2, 2020
1 parent d64f332 commit e64bdf0
Show file tree
Hide file tree
Showing 11 changed files with 743 additions and 686 deletions.
1 change: 0 additions & 1 deletion components/layout/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const NavBar = props => {
return (
<React.Fragment>
{

typeof document === 'undefined' ?
null :
isBigScreen && name == "index" ?
Expand Down
112 changes: 59 additions & 53 deletions pages/index/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,64 +62,70 @@ const About = () => {

return (
<React.Fragment>
<Head>
<title>Eldery DB</title>
<link rel='icon' href='/static/logomain.svg' />
</Head>
<NavBar name="main" tab={isSmallScreen ? homeMin : home} confirm={onConfirm} />
<div className="warp-about-page">
<div className="page-content">
{
isSmallScreen ?
<div className="container-fluid">
<div className="head-content">
<h4>{header}</h4>
<h5>{subHead}</h5>
</div>
{
typeof document === 'undefined' ?
null :
<React.Fragment>
<Head>
<title>Eldery DB</title>
<link rel='icon' href='/static/logomain.svg' />
</Head>
<NavBar name="main" tab={isSmallScreen ? homeMin : home} confirm={onConfirm} />
<div className="warp-about-page">
<div className="page-content">
{
isSmallScreen ?
<div className="container-fluid">
<div className="head-content">
<h4>{header}</h4>
<h5>{subHead}</h5>
</div>

<div className="detail-content">
<img className="" src="/static/testcoverAbout.jpg" />
<div className="data-detail-content">
{
data.map((item, index) => (
<div className="title-content " key={index}>
<h6 className="header-title-content">{item.title}</h6>
<h6 className="sub-title-content">{item.text}</h6>
<h6 className="sub-title-content">{item.subtext}</h6>
<div className="detail-content">
<img className="" src="/static/testcoverAbout.jpg" />
<div className="data-detail-content">
{
data.map((item, index) => (
<div className="title-content " key={index}>
<h6 className="header-title-content">{item.title}</h6>
<h6 className="sub-title-content">{item.text}</h6>
<h6 className="sub-title-content">{item.subtext}</h6>
</div>
))
}
</div>
))
}
</div>
</div>
</div>
:
<div className="container-fluid">
<div className="head-content">
<h1 className="name-header">{header}</h1>
<h4 className="">{subHead}</h4>
<div className="title-about">
<h6 className="">{summary}</h6>
</div>
</div>
</div>
</div>
:
<div className="container-fluid">
<div className="head-content">
<h1 className="name-header">{header}</h1>
<h4 className="">{subHead}</h4>
<div className="title-about">
<h6 className="">{summary}</h6>
</div>
</div>

<div className="detail-content">
<img className="" src="/static/testcoverAbout.jpg" />
<div className="data-detail-content">
{
data.map((item, index) => (
<div className="title-content " key={index}>
<h6 className="header-title-content">{item.title}</h6>
<h6 className="sub-title-content">{item.text}</h6>
<h6 className="sub-title-content">{item.subtext}</h6>
<div className="detail-content">
<img className="" src="/static/testcoverAbout.jpg" />
<div className="data-detail-content">
{
data.map((item, index) => (
<div className="title-content " key={index}>
<h6 className="header-title-content">{item.title}</h6>
<h6 className="sub-title-content">{item.text}</h6>
<h6 className="sub-title-content">{item.subtext}</h6>
</div>
))
}
</div>
))
}
</div>
</div>
</div>
</div>
}
</div>
}
</div>
</div>
</div>
</React.Fragment>
}
</React.Fragment>
)
}
Expand Down
Loading

1 comment on commit e64bdf0

@vercel
Copy link

@vercel vercel bot commented on e64bdf0 Apr 2, 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.