Skip to content

Commit

Permalink
Adding article section
Browse files Browse the repository at this point in the history
  • Loading branch information
Min-Thway-Htut committed Sep 6, 2024
1 parent 5218ab8 commit d996568
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 3 deletions.
28 changes: 26 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,31 @@ <h2 id="myProjects">My Projects</h2>
</div>

<button id="project-button"><a href="project.html">View Projects</a></button>


<h2>Articles</h2>
<div class="article-section-description">Apart from coding and developing projects, I am also interested in writing IT-related articles.
</div>
<div class="article-section">
<div class="article">
<img src="images/article-one.jpeg" alt="The Role of Digital Technology" />
<div class="article-title">The Role of Digital Technology in Education</div>
<div class="article-description">The article is about the importance of digital technology in education, including how technology differentiates the way we are learning today from what we did
a few years ago and elaboration on possible solutions to promote digital literacy in undeveloped regions. </div>
<br>
<div class="read-more">Read More</div>
</div>
<div class="article">
<img src="images/nfc.webp" alt="NFC" />
<br>
<div class="article-title">Analyzing NFC Technology with Business Model Canvas</div>
<div class="article-description">NFC technology has a major impact on our daily life, offering seamless
opportunities such as mobile payment, product authentication, and other countless features.
In this case, the Business Model Canvas is used as a strategic management tool to provide
valuable insights as well as a clear picture of current customer base, driving a profit, and
delivering a unique value proposition regarding NFC technology and NFC chips.</div>
<div class="read-more">Read More</div>
</div>
</div>
<section class="contactUs">
<div class="contactMe" id="contact">
<h2 class="clear" id="clear">Contact Me</h2>
Expand Down Expand Up @@ -198,7 +222,7 @@ <h3>Contact Information</h3>

<footer class="footer">
<p>@minthwayhtut 2024 | Developed by Min Thway Htut</p>
<p id="last-update">Last updated on 06.09.2024</p>
<p id="last-update">Last updated on 07.09.2024</p>
</footer>

<script src="script.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion project.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h2>My Projects</h2>

<footer class="footer">
<p>@minthwayhtut 2024 | Developed by Min Thway Htut</p>
<p id="last-update">Last updated on 06.09.2024</p>
<p id="last-update">Last updated on 07.09.2024</p>
</footer>
<script src="script.js"></script>
</body>
Expand Down
59 changes: 59 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,65 @@ nav li:first-child{
margin-right: auto;
}

.article-section-description{
color: #f1e6c5;
margin-left: 25px;
margin-right: 25px;
margin-bottom: 10px;
font-size: 20px;
}

.article-section{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}

.article-title{
font-size: 30px;
color: #1b3b35;
}
.article-description{
font-size: 15px;
color: #1b3b35;
margin-top: 8px;
margin-bottom: 8px;
}
.read-more{
font-size: 13px;
color: #1b3b35;
margin-top: 5px;
text-decoration: underline;
}
.read-more:hover{
color: #f1e6c5;
text-decoration: underline;
}
.article{
border-radius: 5px;
padding: 15px;
background-color: #a89e75;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) ;
transition: tranform 0.3s ease, box-shadow 0.3s ease;
}


.article img {
width: 100%;
height: 350px;
display: block;
margin-bottom: 15px;
border-radius: 5px;
}

.article h2 {
font-size: 1.2em;
margin-bottom: 10px;
color: #333;
}
.sidebar{
position:fixed;
top: 0;
Expand Down

0 comments on commit d996568

Please sign in to comment.