feat: WGRplane Hybrid - Go-native with nftables + Multi-Webhook

This commit is contained in:
datadunia
2026-05-03 18:03:38 +07:00
parent 477f7830bb
commit 3eae539a56
33 changed files with 3091 additions and 4 deletions
@@ -0,0 +1,8 @@
<template>
<button
class="px-6 py-2 bg-gradient-to-r from-blue-500 to-purple-600 text-white rounded-lg hover:opacity-90 transition-opacity"
v-bind="$attrs"
>
<slot></slot>
</button>
</template>
@@ -0,0 +1,5 @@
<template>
<div class="bg-white/10 backdrop-blur-md border border-white/20 rounded-xl shadow-glass p-6">
<slot></slot>
</div>
</template>
@@ -0,0 +1,6 @@
<template>
<input
class="w-full bg-white/5 border border-white/20 rounded-lg px-4 py-2 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-blue-500"
v-bind="$attrs"
/>
</template>
@@ -0,0 +1,22 @@
<template>
<button
class="relative w-12 h-6 rounded-full transition-colors"
:class="modelValue ? 'bg-blue-500' : 'bg-gray-600'"
@click="$emit('update:modelValue', !modelValue)"
>
<span
class="absolute top-1 left-1 w-4 h-4 bg-white rounded-full transition-transform"
:class="modelValue ? 'translate-x-6' : ''"
></span>
</button>
</template>
<script setup lang="ts">
defineProps<{
modelValue: boolean
}>()
defineEmits<{
(e: 'update:modelValue', value: boolean): void
}>()
</script>