Skip to content

Commit

Permalink
alert: install PWA
Browse files Browse the repository at this point in the history
  • Loading branch information
ircfspace committed Mar 3, 2024
1 parent 6f82594 commit cf8f39b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,18 @@ label {
margin-left: 10px;
}

.pwa {
display: flex;
align-items: center;
justify-content: center;
margin: 0 0 10px 0;
}
.pwa .pwa_icon {
padding: 7px 15px;
border: 1px solid #ccc;
border-radius: 30px;
}

footer {
margin: 50px 0 20px 0;
padding: 10px 0;
Expand Down
6 changes: 6 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,12 @@ const Home: NextPage = () => {
</section>
<div className="clearfix"></div>
<footer className="text-center">
<div className="pwa">
<div className="pwa_icon">
🔒 Install <b>PWA</b> <em className="text-muted">or</em> Download <a href="https://github.com/kiomarzsss/kscanner/releases/latest" target="_blank">APK</a>
</div>
</div>
<div className="clearfix"></div>
© <a href="https://github.com/kiomarzsss/kscanner" target="_blank">kiomarzsss</a>, IRCF, VahidFarid, goldsrc
<br />
</footer>
Expand Down

0 comments on commit cf8f39b

Please sign in to comment.