Skip to content

Commit

Permalink
feat: fix font
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Dec 6, 2023
1 parent 1aeb96e commit 095a5bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h1 class="font-esthetic my-4" style="font-size: 2.5rem;">Undangan Pernikahan</h
</div>

<h1 class="font-esthetic my-4" style="font-size: 3rem;">Wahyu & Riski</h1>
<p style="font-size: 1.5rem;">Rabu, 15 Maret 2023</p>
<p class="mb-0" style="font-size: 1.5rem;">Rabu, 15 Maret 2023</p>

<a class="btn btn-outline-light btn-sm shadow rounded-pill px-3 my-2" target="_blank" href="https://calendar.google.com/calendar/render?action=TEMPLATE&text=The%20Wedding%20of%20Wahyu%20and%20Riski&details=The%20Wedding%20of%20Wahyu%20and%20Riski%20%7C%2015%20Maret%202023%20%7C%20RT%2010%20RW%2002,%20Desa%20Pajerukan,%20Kec.%20Kalibagor,%20Kab.%20Banyumas,%20Jawa%20Tengah%2053191%20%7C%2010.00%20-%2011.00%20WIB&dates=20230315T100000/20230315T110000&location=https://goo.gl/maps/ALZR6FJZU3kxVwN86">
<i class="fa-solid fa-calendar-check me-2"></i>Save The Date
Expand Down
4 changes: 2 additions & 2 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ const session = (() => {
if (token) {
const jwt = JSON.parse(atob(token.split('.')[1]));

if (jwt.exp < ((new Date()).getTime() / 1000)) {
if (jwt.exp < ((new Date()).getTime() / 1000) || jwt.iss !== (new URL(window.location.href)).origin) {
await login();
} else {
await comment.ucapan();
Expand Down Expand Up @@ -506,7 +506,7 @@ const comment = (() => {
.replace(/\*([^*]+)\*/g, '<strong class="text-dark">$1</strong>')
.replace(/_([^_]+)_/g, '<em class="text-dark">$1</em>')
.replace(/~([^~]+)~/g, '<del class="text-dark">$1</del>')
.replace(/```([^```]+)```/g, '<pre class="text-dark">$1</pre>');
.replace(/```([^```]+)```/g, '<code class="font-monospace text-dark">$1</code>');
};

const resetForm = () => {
Expand Down

0 comments on commit 095a5bb

Please sign in to comment.