Skip to content

Commit

Permalink
Merge pull request #9 from maskeynihal/remove-token-issued
Browse files Browse the repository at this point in the history
Remove token issued
  • Loading branch information
kritish-dhaubanjar authored May 19, 2021
2 parents c55f149 + 9036aee commit 0d06592
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 18 deletions.
29 changes: 19 additions & 10 deletions public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ html {
height: max-content !important;
}

body{
body {
min-width: 332px !important;
}

Expand All @@ -26,7 +26,7 @@ main {
display: flex;
}

.align-items-center{
.align-items-center {
align-items: center;
}

Expand All @@ -38,30 +38,39 @@ main {
padding-bottom: 8px !important;
}

.mb-12{
.mb-12 {
margin-bottom: 12px !important;
}

.m-0{
.m-0 {
margin: 0 !important;
}

.pt-4{
.pt-4 {
padding-top: 4px;
}

.me-4{
.me-4 {
margin-right: 4px !important;
}

.mt-0{
margin-top: 0 !important
.mt-0 {
margin-top: 0 !important;
}

.ui.label > img{
.ui.label > img {
width: 13px !important;
height: 13px !important;
position: relative;
top: -1px;
margin-right: 4px;
}
}

.flex-space-between {
display: flex;
justify-content: space-between;
}

.ui.labels > .label {
margin: 0;
}
19 changes: 11 additions & 8 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import { auth, getCurrentToken } from "./services/auth";
import { INITIAL_USER_STATE } from "./constants/common";
import { getTotalTokenIssued } from "./services/firebase";
import { currentToken, savedTokens, tokenIssued } from "./store";
import CopyClipBoard from "./components/common/Clipboard.svelte";
import {
Expand Down Expand Up @@ -71,8 +70,6 @@
getTokens();
getCurrentToken();
getTotalTokenIssued();
});
const handleAuth = ({ accessToken, refreshToken, id }: Token) => {
Expand Down Expand Up @@ -268,7 +265,7 @@
</div>
{/if}

<div class="ui labels">
<div class="ui labels flex-space-between">
<a
class="ui label black"
href="https://github.com/kritish-dhaubanjar/dev-auth-chrome-extension"
Expand All @@ -278,10 +275,16 @@
Github
</a>

<div class="ui blue label">
Token Issued
<div class="detail" id="count">{totalTokenIssued || "N/A"}</div>
</div>
<a
class="ui blue label"
href="https://kritish-dhaubanjar.github.io/dev-auth-chrome-extension/"
target="_blank"
>
<img
src="https://img.icons8.com/android/24/ffffff/link.png"
alt="link"
/>Visit Website
</a>

<button
class="ui label red button mini"
Expand Down

0 comments on commit 0d06592

Please sign in to comment.