-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from PtPrashantTripathi/feature
feature : am removed if null
- Loading branch information
Showing
11 changed files
with
1,200 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,38 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans&display=swap'); | ||
body{ | ||
font-family: 'Balsamiq Sans', cursive; | ||
@import url("https://fonts.googleapis.com/css2?family=Balsamiq+Sans&display=swap"); | ||
|
||
body { | ||
font-family: "Balsamiq Sans", cursive; | ||
} | ||
.card{ | ||
|
||
.card { | ||
width: 350px; | ||
} | ||
.text-box{ | ||
|
||
.text-box { | ||
padding: 10px 20px; | ||
margin: 10px 0; | ||
box-sizing: border-box; | ||
} | ||
.btn{ | ||
background-color: #4CAF50; | ||
|
||
.btn { | ||
background-color: #4caf50; | ||
border: none; | ||
color: white; | ||
padding: 10px 20px; | ||
text-align: center; | ||
cursor: pointer; | ||
font-size: 16px; | ||
} | ||
.btn:hover{ | ||
|
||
.btn:hover { | ||
background-color: #019031; | ||
padding: 12px 22px; | ||
} | ||
.card-content{ | ||
|
||
.card-content { | ||
padding: 10px 20px; | ||
} | ||
a{ | ||
|
||
a { | ||
text-decoration: none; | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,87 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<!-- Primary Meta Tags --> | ||
<title>LinkPe | UPI LINK Generator</title> | ||
<meta name="title" content="LinkPe | UPI LINK Generator"> | ||
<meta name="description" content="LinkPe | UPI LINK Generator - https://github.com/PtPrashantTripathi/linkpe"> | ||
<link rel="fluid-icon" href="https://raw.githubusercontent.com/PtPrashantTripathi/linkpe/main/img/linkpe.png" title="PtPrashantTripathi | LinkPe" /> | ||
<link rel="fluid-icon" href="https://raw.githubusercontent.com/PtPrashantTripathi/linkpe/main/img/linkpe.png" | ||
title="PtPrashantTripathi | LinkPe" /> | ||
<!-- Open Graph / Facebook --> | ||
<meta property="og:type" content="website"> | ||
<meta property="og:url" content="https://ptprashanttripathi.github.io/linkpe"> | ||
<meta property="og:title" content="LinkPe | UPI LINK Generator"> | ||
<meta property="og:description" content="LinkPe | UPI LINK Generator - https://github.com/PtPrashantTripathi/linkpe"> | ||
<meta property="og:description" | ||
content="LinkPe | UPI LINK Generator - https://github.com/PtPrashantTripathi/linkpe"> | ||
<meta property="og:image" content="https://raw.githubusercontent.com/PtPrashantTripathi/linkpe/main/img/linkpe.png"> | ||
<!-- Twitter --> | ||
<meta property="twitter:card" content="summary_large_image"> | ||
<meta property="twitter:url" content="https://ptprashanttripathi.github.io/linkpe"> | ||
<meta property="twitter:title" content="LinkPe | UPI LINK Generator"> | ||
<meta property="twitter:description" content="LinkPe | UPI LINK Generator - https://github.com/PtPrashantTripathi/linkpe"> | ||
<meta property="twitter:image" content="https://raw.githubusercontent.com/PtPrashantTripathi/linkpe/main/img/linkpe.png"> | ||
<meta property="twitter:description" | ||
content="LinkPe | UPI LINK Generator - https://github.com/PtPrashantTripathi/linkpe"> | ||
<meta property="twitter:image" | ||
content="https://raw.githubusercontent.com/PtPrashantTripathi/linkpe/main/img/linkpe.png"> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="css/main.css"> | ||
<!--Coded by Pt. Prashant Tripathi @ptprashanttripathi on 14th Oct 2020 --> | ||
|
||
<body> | ||
<center> | ||
<div class="card"> | ||
<div class="card-content"> | ||
<a href="linkpe.html?new"><img src="img/logo.png" height="50"></a> | ||
<h5 id="name" style="color: #101010;"></h4> | ||
<canvas id="qr"></canvas> | ||
<div style="margin-top: 2px;"> | ||
<a id="linkpe"> | ||
<img src="img/upi.png" height="80"> | ||
<br> | ||
<button class='btn'>Click here to Pay Now</button> | ||
</a> | ||
<center> | ||
<div class="card"> | ||
<div class="card-content"> | ||
<a href="linkpe.html?new"><img src="img/logo.png" height="50"></a> | ||
<h5 id="name" style="color: #101010;"> | ||
</h4> | ||
<canvas id="qr"></canvas> | ||
<div style="margin-top: 2px;"> | ||
<a id="linkpe"> | ||
<img src="img/upi.png" height="80"> | ||
<br> | ||
<button class='btn'>Click here to Pay Now</button> | ||
</a> | ||
</div> | ||
<br> | ||
<a href="linkpe.html?new" style="color: #777;">Click here to create your own payment link</a> | ||
<br> | ||
<p style="color: #555"> | ||
<b>Developed BY : </b> | ||
<a href="https://ptprashanttripathi.github.io" style="color: #999;">Pt. Prashant | ||
Tripathi</a><img src="https://visitor-badge.vercel.app/page/linkpe?color=Blue" /> | ||
|
||
</p> | ||
</div> | ||
<br> | ||
<a href="linkpe.html?new" style="color: #777;">Click here to create your own payment link</a> | ||
<br> | ||
<p style="color: #555"> | ||
<b>Developed BY : </b> | ||
<a href="https://ptprashanttripathi.github.io" style="color: #999;">Pt. Prashant Tripathi</a><img src="https://visitor-badge.vercel.app/page/linkpe?color=Blue"/> | ||
|
||
</p> | ||
</div> | ||
</div> | ||
</center> | ||
<script src="qrious/qrious.min.js"></script> | ||
<script> | ||
if (window.location.search.indexOf('pa') > -1) { | ||
const queryString = window.location.search; | ||
const urlParams = new URLSearchParams(queryString); | ||
const pn = urlParams.get('pn'); | ||
const pa = urlParams.get('pa'); | ||
var user; | ||
if(pn!=="") user=pn; | ||
else user=pa; | ||
const url= 'upi://pay'+queryString; | ||
document.getElementById("name").innerHTML = "Click on PayNow or Scan Qr and Pay using any UPI Apps To Pay "+user; | ||
document.getElementById("linkpe").href = url; | ||
(function() { | ||
var qr = new QRious({ | ||
element: document.getElementById('qr'), | ||
background: '#fff', | ||
foreground: '#000', | ||
size: 200, | ||
level: 'H', | ||
value: url | ||
}); | ||
})(); | ||
} else { | ||
location.replace("linkpe.html?error"); | ||
} | ||
</script> | ||
</center> | ||
<script src="qrious/qrious.min.js"></script> | ||
<script> | ||
if (window.location.search.indexOf('pa') > -1) { | ||
const queryString = window.location.search; | ||
const urlParams = new URLSearchParams(queryString); | ||
const pn = urlParams.get('pn'); | ||
const pa = urlParams.get('pa'); | ||
var user; | ||
if (pn !== "") user = pn; | ||
else user = pa; | ||
const url = 'upi://pay' + queryString; | ||
document.getElementById("name").innerHTML = "Click on PayNow or Scan Qr and Pay using any UPI Apps To Pay <br>" + user; | ||
document.getElementById("linkpe").href = url; | ||
(function () { | ||
var qr = new QRious({ | ||
element: document.getElementById('qr'), | ||
background: '#fff', | ||
foreground: '#000', | ||
size: 200, | ||
level: 'H', | ||
value: url | ||
}); | ||
})(); | ||
} else { | ||
location.replace("linkpe.html?error"); | ||
} | ||
</script> | ||
</body> | ||
</html> | ||
|
||
</html> |
Oops, something went wrong.