all repos — stealth-developers @ 9c88eb5426cd3c1798852ca45544c4486883809c

apps/web/src/views/GuildView.vue (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
<template>
	<div class="stats-row">
		<div class="stat">
			<span class="stat-label">Closed Tickets</span>
			<span class="stat-value">2,000</span>
		</div>
		<div class="stat">
			<span class="stat-label">Mean TTC</span>
			<span class="stat-value">30m</span>
		</div>
		<div class="stat">
			<span class="stat-label">Median TTC</span>
			<span class="stat-value">30m</span>
		</div>
	</div>
</template>

<style scoped>
.stats-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;

	.stat {
		flex: 1 1 250px;
		display: flex;
		flex-direction: column;
		align-items: center;
		background-color: hsl(var(--crust));

		padding: 2.5rem 1.5rem;
		border-radius: 1.5rem;

		.stat-label {
			font-size: 0.75rem;
			font-weight: 900;
			text-transform: uppercase;
			color: hsl(var(--subtext0));
			margin-bottom: 0.25rem;
		}

		.stat-value {
			font-size: 3.5rem;
			font-weight: 800;
			line-height: 1;
			color: hsl(var(--text));
		}
	}
}
</style>