diff --git a/src/components/BotCard.vue b/src/components/BotCard.vue
index 8cd2021..f31294d 100644
--- a/src/components/BotCard.vue
+++ b/src/components/BotCard.vue
@@ -1,87 +1,43 @@
-
-
-
![Gractwo bot current avatar]()
-
- {{ status.mainInfo.username + '#' + status.mainInfo.discriminator }}
-
-
-
-
-
-
![Gractwo Canary bot current avatar]()
-
- {{
- status.canaryInfo.username + '#' + status.canaryInfo.discriminator
- }}
-
-
-
-
-
bot card
-
- Bot Name:
- {{ status.mainInfo.username + '#' + status.mainInfo.discriminator }}
-
- Bot ID: {{ status.mainInfo.id }}
- Bot Avatar:
-
-
- Bot Info: {{ status.mainInfo }}
-
-
-
-
sub bot card
-
- Bot Name:
- {{ status.canaryInfo.username + '#' + status.canaryInfo.discriminator }}
-
- Bot ID: {{ status.canaryInfo.id }}
- Bot Avatar:
-
-
- Bot Info: {{ status.canaryInfo }}
-
-
+
+
+//
diff --git a/src/components/Card.vue b/src/components/Card.vue
index 5d06c54..0964627 100644
--- a/src/components/Card.vue
+++ b/src/components/Card.vue
@@ -10,6 +10,12 @@
v-if="photo"
width="128"
/>
+
@@ -51,6 +57,16 @@
{{ discord }}
+
+
@@ -64,6 +80,7 @@ export default {
name: String,
nickname: String,
photo: String,
+ photoDyn: String,
description: String,
external: String,
externalTooltip: String,
@@ -72,6 +89,7 @@ export default {
twitter: String,
facebook: String,
discord: String,
+ onlineIndicator: Number,
},
methods: {
copyDiscord: function() {
@@ -162,6 +180,18 @@ export default {
color: var(--black);
}
}
+ .cardOnlineIndicator {
+ background-color: var(--graytext);
+ width: 0.5rem;
+ height: 0.5rem;
+ // margin: 0.5rem;
+ // background-color: var(--graytext);
+ border-radius: 50%;
+ align-self: center;
+ &.isOnline {
+ background-color: var(--green);
+ }
+ }
}
}
}
diff --git a/src/layouts/Default.vue b/src/layouts/Default.vue
index d2189a3..0dfc851 100644
--- a/src/layouts/Default.vue
+++ b/src/layouts/Default.vue
@@ -23,6 +23,7 @@ query {
--red: #fb636b;
--light-red: rgba(251, 99, 107, 0.25);
--blue: #61f2ea;
+ --green: #3ded97;
--radius: 6px;
--trandur: 0.1s;
}
diff --git a/src/pages/Index.vue b/src/pages/Index.vue
index 2d24420..790c513 100644
--- a/src/pages/Index.vue
+++ b/src/pages/Index.vue
@@ -11,7 +11,7 @@
- Strona w trakcie rewrite-u! Niektóre rzeczy mogą nie działać.
+