Skip to content

Commit

Permalink
💄About
Browse files Browse the repository at this point in the history
  • Loading branch information
noeypatt committed Mar 28, 2020
1 parent d599eef commit 3cd0e21
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
5 changes: 5 additions & 0 deletions components/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ const About = () => {
</div>
))
}
<div className="more-content">
<h6>อ่านต่อ</h6>
<img className="animated-fadeRight" src="/static/arrow.svg" alt="arrow-icon" />
</div>

</div>
</div>
</div>
Expand Down
6 changes: 6 additions & 0 deletions static/arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 20 additions & 1 deletion styles/about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
margin-right: 1rem;
@media (max-width: 575.98px) {
margin-right: 0;
height: 18rem;
}
}

Expand All @@ -38,7 +39,7 @@
.title-content {
padding: 0 3rem;

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

Expand All @@ -53,6 +54,24 @@
font-weight: lighter;
}
}
.more-content {
padding: 0 3rem;
display: flex;

h6 {
margin-top: 1rem;
font-weight: bold;
text-align: center;
}

img {
cursor: pointer;
margin-top: 0.5rem;
margin-left: 1rem;
width: 2rem;
height: auto;
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
@import "./chart.scss";
@import "./hamburgers.scss";


@import "./sidebar.scss";
@import "./map.scss";

Expand All @@ -30,6 +29,7 @@ body {
h6,
p,
text {
user-select: none;
font-family: $font !important;
color: black !important;
}
Expand Down

1 comment on commit 3cd0e21

@vercel
Copy link

@vercel vercel bot commented on 3cd0e21 Mar 28, 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.