2024-04-16 20:20:30 +02:00
|
|
|
<template>
|
2024-05-08 03:18:15 +02:00
|
|
|
<div class="h-screen bg-[#11111189] flex flex-col p-5 text-white font-dm" style="-webkit-app-region: drag">
|
2024-05-01 01:45:45 +02:00
|
|
|
<div class="flex flex-row items-center justify-center">
|
|
|
|
<div class="text-2xl">Settings</div>
|
|
|
|
</div>
|
|
|
|
<div class="flex flex-row mt-2" style="-webkit-app-region: no-drag">
|
|
|
|
<button
|
|
|
|
v-for="(option, index) in options"
|
|
|
|
@click="activeIndex = index"
|
2024-05-08 03:18:15 +02:00
|
|
|
class="w-full flex items-center text-sm justify-center py-2 border-b-2 transition-all"
|
2024-05-01 01:45:45 +02:00
|
|
|
:class="activeIndex === index ? 'border-[#ce6104]' : 'border-[#ce620428]'"
|
|
|
|
>
|
|
|
|
{{ option }}
|
|
|
|
</button>
|
|
|
|
</div>
|
2024-05-08 03:18:15 +02:00
|
|
|
<SettingsMain v-if="activeIndex === 0" />
|
2024-05-23 02:22:58 +02:00
|
|
|
<SettingsNaming v-if="activeIndex === 1" />
|
|
|
|
<SettingsCrunchyroll v-if="activeIndex === 2" />
|
|
|
|
<SettingsWidevine v-if="activeIndex === 3" />
|
|
|
|
<SettingsProxy v-if="activeIndex === 4" />
|
|
|
|
<SettingsSystem v-if="activeIndex === 5" />
|
|
|
|
<SettingsAbout v-if="activeIndex === 6" />
|
2024-04-16 20:20:30 +02:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2024-05-23 02:22:58 +02:00
|
|
|
const options = ref<Array<string>>(['Main', 'Naming', 'Crunchy', 'Widevine', 'Proxy', 'System', 'About'])
|
2024-04-30 15:28:36 +02:00
|
|
|
const activeIndex = ref(0)
|
2024-04-16 20:20:30 +02:00
|
|
|
</script>
|
|
|
|
|
2024-04-30 03:20:47 +02:00
|
|
|
<style>
|
|
|
|
@keyframes fadein {
|
2024-05-01 01:45:45 +02:00
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2024-04-30 03:20:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2024-05-01 01:45:45 +02:00
|
|
|
animation: fadein 0.5s;
|
2024-04-30 03:20:47 +02:00
|
|
|
}
|
2024-05-08 03:18:15 +02:00
|
|
|
|
|
|
|
.font-dm {
|
|
|
|
font-family: 'DM Sans', sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.font-protest {
|
|
|
|
font-family: 'Protest Riot', sans-serif;
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.font-dm-big {
|
|
|
|
font-family: 'DM Sans', sans-serif;
|
|
|
|
font-weight: 1000;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
2024-04-30 03:20:47 +02:00
|
|
|
</style>
|