Skip to content

Commit

Permalink
Commit the QR code
Browse files Browse the repository at this point in the history
  • Loading branch information
codejedi-ai committed Feb 10, 2025
1 parent 6b6e956 commit b13dee7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
15 changes: 14 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,13 @@ <h3>Majoring in Honours Bachelor of Computer Science with AI Specialization
<!-- Portfolio -->
<section id="Portfolio" class="content"></section>
<script type="module" src="/src/components/portfolio.js"></script>

<!-- Add this in the head section -->
<script src="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js"></script>

<!-- Replace the existing QR code div with: -->
<div id="qrcode"></div>


<!--Footer-->
<footer class="footer_wrapper" id="contact">
<div class="container">
Expand All @@ -228,6 +234,13 @@ <h2>Get In Touch</h2>
<h6>
<h3><a href="https://www.linkedin.com/in/codejediatuw/">Let's Linked in</a></h3>
<h3><a href="https://github.com/codejedi-ai">GitHub</a></h3>
<!-- Add QR code here with white text-->
<h2 class="section-title">QR Code</h2>
<div class="qr-code" style="display: flex; justify-content: center; align-items: center; margin: 20px auto;">
<img src="https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=https://codejedi-ai.github.io/"
alt="QR Code for CodeJedi Portfolio"
style="max-width: 200px; height: auto;" />
</div>
</h6>
</div>
</section>
Expand Down
13 changes: 13 additions & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2341,4 +2341,17 @@ img.img.img-circle.lt-box {
justify-content: center;
gap: 30px;
padding: 20px;
}

.qr-code {
display: flex;
justify-content: center;
align-items: center;
margin: 20px auto;
width: 100%;
}

.qr-code img {
max-width: 200px;
height: auto;
}

0 comments on commit b13dee7

Please sign in to comment.