Skip to content

Commit

Permalink
feat: react examples
Browse files Browse the repository at this point in the history
  • Loading branch information
a7v8x committed Feb 4, 2024
1 parent fe29407 commit 47742e0
Show file tree
Hide file tree
Showing 12 changed files with 391 additions and 0 deletions.
Binary file removed payment-card/6725.png
Binary file not shown.
Binary file removed payment-card/6726.png
Binary file not shown.
Binary file removed payment-card/6727.png
Binary file not shown.
Binary file removed payment-card/6728.png
Binary file not shown.
Binary file removed payment-card/6729.png
Binary file not shown.
Binary file removed payment-card/6730.png
Binary file not shown.
Binary file added payment-card/assets/bg-card.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions payment-card/assets/laplace.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions payment-card/assets/wave.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions payment-card/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>Cards</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Mulish&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Allura&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>

<body>
<div class="card">
<div class="card__inner">
<div class="card__front">
<img src="assets/laplace.svg" alt="Laplace" class="logo">
<div class="chip">
<div class="chip-line"></div>
<div class="chip-line"></div>
<div class="chip-line"></div>
<div class="chip-line"></div>
<div class="chip-main"></div>
</div>
<svg class="wave" viewBox="0 3.71 26.959 38.787" width="26.959" height="38.787" fill="white">
<path
d="M19.709 3.719c.266.043.5.187.656.406 4.125 5.207 6.594 11.781 6.594 18.938 0 7.156-2.469 13.73-6.594 18.937-.195.336-.57.531-.957.492a.9946.9946 0 0 1-.851-.66c-.129-.367-.035-.777.246-1.051 3.855-4.867 6.156-11.023 6.156-17.718 0-6.696-2.301-12.852-6.156-17.719-.262-.317-.301-.762-.102-1.121.204-.36.602-.559 1.008-.504z">
</path>
<path
d="M13.74 7.563c.231.039.442.164.594.343 3.508 4.059 5.625 9.371 5.625 15.157 0 5.785-2.113 11.097-5.625 15.156-.363.422-1 .472-1.422.109-.422-.363-.472-1-.109-1.422 3.211-3.711 5.156-8.551 5.156-13.843 0-5.293-1.949-10.133-5.156-13.844-.27-.309-.324-.75-.141-1.114.188-.367.578-.582.985-.542h.093z">
</path>
<path
d="M7.584 11.438c.227.031.438.144.594.312 2.953 2.863 4.781 6.875 4.781 11.313 0 4.433-1.828 8.449-4.781 11.312-.398.387-1.035.383-1.422-.016-.387-.398-.383-1.035.016-1.421 2.582-2.504 4.187-5.993 4.187-9.875 0-3.883-1.605-7.372-4.187-9.875-.321-.282-.426-.739-.266-1.133.164-.395.559-.641.984-.617h.094zM1.178 15.531c.121.02.238.063.344.125 2.633 1.414 4.437 4.215 4.437 7.407 0 3.195-1.797 5.996-4.437 7.406-.492.258-1.102.07-1.36-.422-.257-.492-.07-1.102.422-1.359 2.012-1.075 3.375-3.176 3.375-5.625 0-2.446-1.371-4.551-3.375-5.625-.441-.204-.676-.692-.551-1.165.122-.468.567-.785 1.051-.742h.094z">
</path>
</svg>

<div class="card-number">
<div class="section">4687</div>
<div class="section">1234</div>
<div class="section">6788</div>
<div class="section">3899</div>
</div>

<div class="card-info__bottom">
<div class="card-holder">David Mraz</div>
<div class="card-info__right">
<div class="exp-date">05/27</div>
<div class="mastercard">
<div class="circle circle--red"></div>
<div class="circle circle--yellow"></div>
</div>
</div>
</div>
</div>

<div class="card__back">
<div class="card-strip"></div>
<div class="card-signature-wrapper">
<div class="card-signature-field">
<div class="card-signature-headline">Authorized Signature</div>
<div class="card-signature">David Mraz</div>
</div>
<div class="card-ccv">123</div>
</div>
</div>
</div>
</div>

</body>

</html>
53 changes: 53 additions & 0 deletions payment-card/index_socials.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>Cards</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Mulish&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Allura&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>

<body>
<div class="card">
<div class="card__inner">
<div class="card__front">
<img src="assets/laplace.svg" alt="Laplace" class="logo">
<div class="chip">
<div class="chip-line"></div>
<!-- more chip lines -->
</div>
<!-- svg wave -->
<div class="card-number">
<div>4687</div>
<!-- more card numbers -->
</div>
<div class="card-info">
<div class="card-holder">David Mraz</div>
<div class="card-info__right">
<div class="exp-date">05/27</div>
<div class="mastercard">
<div class="circle circle--red"></div>
<div class="circle circle--yellow"></div>
</div>
</div>
</div>
</div>
<div class="card__back">
<div class="card-strip"></div>
<div class="card-signature-wrapper">
<div class="card-signature-field">
<div class="card-signature-headline">Authorized Signature</div>
<div class="card-signature">David Mraz</div>
</div>
<div class="card-ccv">123</div>
</div>
</div>
</div>
</div>
</body>

</html>
Loading

0 comments on commit 47742e0

Please sign in to comment.