Skip to content

Commit

Permalink
feat(analytics): redesign with tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleydon committed Sep 15, 2023
1 parent 32d2768 commit b9fc863
Show file tree
Hide file tree
Showing 23 changed files with 557 additions and 507 deletions.
40 changes: 31 additions & 9 deletions apps/analytics/src/app.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,47 @@
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Montserrat:wght@400;500;700;900&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
html {
min-height: 100vh;
background-color: #171923;
background: linear-gradient(180deg, #171923 0%, #1a202c 100%);
}

body {
overflow: hidden;
}
}

@layer components {
.card {
@apply bg-gray-700 rounded-3xl px-6 py-5 shadow-xl;
.numeric {
@apply font-mono font-bold;
}
}

.data-value {
@apply font-montserrat font-bold text-3xl;
}
.card {
@apply bg-gray-700 rounded-3xl px-6 py-5 shadow-xl;
}

.data-label {
@apply font-montserrat text-sm text-gray-400;
}
.data-value {
@apply numeric font-bold text-3xl;
}

.data-label {
@apply font-montserrat text-gray-300;
}

.help {
@apply cursor-help underline decoration-dotted decoration-gray-500 hover:decoration-inherit;
}

.tooltip {
@apply absolute top-0 left-0 md:ml-4 bg-gray-600 rounded-xl p-3 text-sm font-montserrat w-80;
}

sub {
bottom: 0;
position: unset;
}
65 changes: 0 additions & 65 deletions apps/analytics/src/components/AverageAprChart.svelte

This file was deleted.

52 changes: 0 additions & 52 deletions apps/analytics/src/components/BudgetPerShareChart.svelte

This file was deleted.

24 changes: 0 additions & 24 deletions apps/analytics/src/components/DailyRewards.svelte

This file was deleted.

53 changes: 0 additions & 53 deletions apps/analytics/src/components/DelegationValueChart.svelte

This file was deleted.

53 changes: 0 additions & 53 deletions apps/analytics/src/components/DelegatorChart.svelte

This file was deleted.

53 changes: 0 additions & 53 deletions apps/analytics/src/components/OnlineWorkerChart.svelte

This file was deleted.

Loading

0 comments on commit b9fc863

Please sign in to comment.