Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Nov 26, 2023
1 parent e822f57 commit b6b9f47
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
<script src="https://accounts.google.com/gsi/client" async defer></script>
<script src="https://unpkg.com/jwt-decode@3.1.2/build/jwt-decode.js"></script>
<script src="login.js"></script>
<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-login="AwakariBot" data-size="large" data-onauth="onTelegramAuth(user)" data-request-access="write"></script>
<script type="text/javascript">
function onTelegramAuth(user) {
alert('Logged in as ' + user.first_name + ' ' + user.last_name + ' (' + user.id + (user.username ? ', @' + user.username : '') + ')');
}
</script>
</head>
<body class="bg-gray-100">

Expand All @@ -34,6 +28,7 @@

<img src="logo-color.svg" width="320px" height="320px"/>

<!-- Google -->
<div id="g_id_onload"
data-client_id="131943559095-6uojftc7uoscij6b4j2jm0ifo4cd6obc"
data-context="signin"
Expand All @@ -51,6 +46,14 @@
data-width="200">
</div>

<!-- Telegram -->
<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-login="AwakariBot" data-size="large" data-onauth="onTelegramAuth(user)" data-request-access="write"></script>
<script type="text/javascript">
function onTelegramAuth(user) {
alert('Logged in as ' + user.first_name + ' ' + user.last_name + ' (' + user.id + (user.username ? ', @' + user.username : '') + ')');
}
</script>

<p class="text-center mt-3 text-[14px]">By clicking continue, you agree to our
<a href="tos.html" class="text-gray-600">Terms of Service</a> and <a href="privacy.html" class="text-gray-600">Privacy Policy</a>.
</p>
Expand Down

0 comments on commit b6b9f47

Please sign in to comment.