0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 13:22:58 -05:00

Remove preferences (for now)

This commit is contained in:
dragongoose 2023-04-08 20:56:08 -04:00
parent 8ecb77e430
commit 9104e62779
No known key found for this signature in database
GPG key ID: 50DB99B921579009
3 changed files with 2 additions and 77 deletions

View file

@ -26,9 +26,8 @@ export default {}
</div>
<ul class="inline-flex space-x-6 font-medium">
<router-link to="">Github</router-link>
<router-link to="/preferences">Preferences</router-link>
<router-link to="/about">About</router-link>
<a href="https://codeberg.org/dragongoose/safetwitch">Code</a>
<router-link to="/privacy">Privacy</router-link>
</ul>
</div>
</template>

View file

@ -4,7 +4,6 @@ import PageNotFound from '../views/PageNotFound.vue'
import PrivacyPageView from '../views/PrivacyPageView.vue'
import HomepageView from '../views/HomepageView.vue'
import CategoryView from '../views/CategoryView.vue'
import PreferencesView from '../views/PreferencesView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@ -22,10 +21,6 @@ const router = createRouter({
name: 'about',
component: PrivacyPageView
},
{
path: '/preferences',
component: PreferencesView
},
{
path: '/:username',
component: UserView

View file

@ -1,69 +0,0 @@
<script lang="ts">
export default {}
</script>
<template>
<div class="flex justify-center w-full">
<div class="flex flex-col w-[30rem] bg-ctp-mantle rounded-lg text-white p-5">
<ul class="overflow-y-auto inherit p-2 space-y-1">
<li>
<p class="font-bold text-2xl">Appearance</p>
</li>
<hr class="bg-gray-500 border-0 h-px" />
<li class="rounded-lg my-1">
<div class="flex items-center justify-between">
<label for="checkbox" class="text-lg">Compact View</label>
<input
type="checkbox"
class="w-5 h-5 mt-0.5 rounded focus:ring-ctp-pink bg-ctp-surface0 border-gray-700 checked:bg-ctp-pink checked:border-blue-500 focus:ring-offset-gray-800"
id="hs-default-checkbox"
/>
</div>
</li>
<li class="rounded-lg my-1">
<div class="flex items-center justify-between">
<label for="checkbox" class="text-lg">Compact View</label>
<input
type="checkbox"
class="w-5 h-5 mt-0.5 rounded focus:ring-ctp-pink bg-ctp-surface0 border-gray-700 checked:bg-ctp-pink checked:border-blue-500 focus:ring-offset-gray-800"
id="hs-default-checkbox"
/>
</div>
</li>
<li>
<p class="font-bold text-2xl mt-5">Content</p>
</li>
<hr class="bg-gray-500 border-0 h-px" />
<li class="rounded-lg my-1">
<div class="flex items-center justify-between">
<label for="checkbox" class="text-lg">Show mature streams</label>
<input
type="checkbox"
class="w-5 h-5 mt-0.5 rounded focus:ring-ctp-pink bg-ctp-surface0 border-gray-700 checked:bg-ctp-pink checked:border-blue-500 focus:ring-offset-gray-800"
id="hs-default-checkbox"
/>
</div>
</li>
<li class="rounded-lg my-1">
<div class="flex items-center justify-between">
<label for="checkbox" class="text-lg">Show chat</label>
<input
type="checkbox"
class="w-5 h-5 mt-0.5 rounded focus:ring-ctp-pink bg-ctp-surface0 border-gray-700 checked:bg-ctp-pink checked:border-blue-500 focus:ring-offset-gray-800"
id="hs-default-checkbox"
/>
</div>
</li>
</ul>
<div class="p-2 mt-5 space-y-1">
<p class="text-gray-400">
<strong class="text-white">Note:</strong> Settings, follows, and any other persistent data
is stored with cookies.
</p>
<button class="w-full bg-ctp-surface0 p-2 rounded-lg">Save</button>
</div>
</div>
</div>
</template>