<template>
  <div class="space-y-6">
    <div class="flex items-center gap-4">
      <GlassButton @click="$router.back()" class="!px-3 !py-2">
        <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18" />
        </svg>
      </GlassButton>
      <h1 class="text-3xl font-bold text-white">Peer Management</h1>
    </div>
    <p class="text-white/70">Server ID: {{ $route.params.id }}</p>
    
    <PeerTable :server-id="$route.params.id" />
  </div>
</template>

<script setup lang="ts">
import GlassButton from '../components/glass/GlassButton.vue'
import PeerTable from '../components/PeerTable.vue'
</script>
