Remove unused code & Move files to correct folder

This commit is contained in:
2026-04-18 18:42:09 +02:00
parent 2480c5b309
commit a78b1c41ac
18 changed files with 15 additions and 40 deletions

View File

@@ -4,7 +4,7 @@
<body class="font-sans antialiased">
<div class="flex flex-col min-h-screen bg-gray-100 dark:bg-neutral-900">
@include('layouts.navigation')
@include('user.partials.background')
@include('partials.background')
<div class="mt-[65px]">
@include('admin.partials.sidenav')
<div class="pl-64">

View File

@@ -1,4 +1,3 @@
<!-- BG -->
@php
$array = \cache()->remember('background', 300, function () {
$bg = new \App\Models\SiteBackground();

View File

@@ -6,7 +6,7 @@
</x-slot>
<div class="max-w-6xl mx-auto sm:px-6 lg:px-8">
@include('user.partials.background')
@include('partials.background')
@livewire('playlists')
</div>
</x-app-layout>

View File

@@ -1,6 +1,6 @@
<x-app-layout>
<div class="max-w-6xl mx-auto sm:px-6 lg:px-8">
@include('user.partials.background')
@include('partials.background')
@livewire('playlist-overview', ['playlist_id' => $playlist->id])
</div>
</x-app-layout>

View File

@@ -6,7 +6,7 @@
@include('layouts.navigation')
<!-- Page Content -->
<main>
@include('user.partials.background')
@include('partials.background')
<div
class="relative max-w-[120rem] mx-auto sm:px-6 lg:px-8 space-y-6 pt-20 mt-[65px] flex flex-row justify-center md:justify-normal">
<div class="grid md:grid-flow-col gap-4 xl:w-5/6 flex-row">

View File

@@ -7,11 +7,11 @@
@include('layouts.navigation')
<!-- Page Content -->
<main>
@include('user.partials.background')
@include('partials.background')
<div class="relative max-w-[120rem] mx-auto sm:px-6 lg:px-8 space-y-6 pt-20 mt-[65px] flex flex-row justify-center md:justify-normal">
<div class="grid md:grid-flow-col gap-4 w-5/6 flex-row">
@include('profile.partials.sidebar')
@include('user.partials.info')
@include('profile.partials.info')
</div>
</div>
</main>

View File

@@ -6,7 +6,7 @@
@include('layouts.navigation')
<!-- Page Content -->
<main>
@include('user.partials.background')
@include('partials.background')
<div class="relative max-w-[120rem] mx-auto sm:px-6 lg:px-8 space-y-6 pt-20 mt-[65px] flex flex-row justify-center md:justify-normal">
<div class="flex flex-col md:flex-row">
@include('profile.partials.sidebar')

View File

@@ -6,7 +6,7 @@
@include('layouts.navigation')
<!-- Page Content -->
<main>
@include('user.partials.background')
@include('partials.background')
<div
class="relative max-w-[120rem] mx-auto sm:px-6 lg:px-8 space-y-6 pt-20 mt-[65px] flex flex-row justify-center md:justify-normal">
<div class="grid md:grid-flow-col gap-4 xl:w-5/6 flex-row">

View File

@@ -1,5 +1,5 @@
<div class="flex flex-col">
@include('user.partials.profile')
@include('profile.partials.profile')
<div
class="overflow-hidden mt-5 relative max-w-sm min-w-80 mx-auto bg-white/40 shadow-lg ring-1 ring-black/5 rounded-xl items-center gap-6 dark:bg-neutral-950/40 backdrop-blur dark:highlight-white/5">
@@ -33,5 +33,5 @@
</div>
</div>
@include('user.partials.actions')
@include('profile.partials.actions')
</div>

View File

@@ -6,7 +6,7 @@
@include('layouts.navigation')
<!-- Page Content -->
<main>
@include('user.partials.background')
@include('partials.background')
<div class="relative max-w-[120rem] mx-auto sm:px-6 lg:px-8 space-y-6 pt-20 mt-[65px] flex flex-row">
<div class="flex flex-col md:flex-row">
@include('profile.partials.sidebar')

View File

@@ -7,7 +7,7 @@
@include('layouts.navigation')
<!-- Page Content -->
<main>
@include('user.partials.background')
@include('partials.background')
<div class="relative max-w-[120rem] mx-auto sm:px-6 lg:px-8 space-y-6 pt-20 mt-[65px] mb-14 flex flex-row">
<div class="flex flex-col md:flex-row">
@include('profile.partials.sidebar')

View File

@@ -6,7 +6,7 @@
@include('layouts.navigation')
<!-- Page Content -->
<main>
@include('user.partials.background')
@include('partials.background')
<div class="relative max-w-[120rem] mx-auto sm:px-6 lg:px-8 space-y-6 pt-20 mt-[65px] flex flex-row">
<div class="flex flex-col md:flex-row">
@include('profile.partials.sidebar')

View File

@@ -1,4 +1,4 @@
<x-app-layout>
@include('user.partials.background')
@include('partials.background')
@livewire('downloads-search')
</x-app-layout>

View File

@@ -7,7 +7,7 @@
@include('layouts.navigation')
<!-- Page Content -->
<main>
@include('user.partials.background')
@include('partials.background')
@livewire('live-search')
</main>
@include('layouts.footer')

View File

@@ -1,24 +0,0 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="scroll-smooth">
@include('partials.head')
<body class="font-sans antialiased">
<div class="flex flex-col min-h-screen bg-gray-100 dark:bg-neutral-900">
@include('layouts.navigation')
<!-- Page Content -->
<main>
@include('user.partials.background')
<div class="relative max-w-[120rem] mx-auto sm:px-6 lg:px-8 space-y-6 pt-20 mt-[65px] flex flex-row justify-center">
<div class="flex flex-col">
@include('user.partials.profile')
<div class="pt-8">
@include('user.partials.info')
</div>
</div>
</div>
</main>
@include('layouts.footer')
</div>
</body>
</html>