Logo
Explore Help
Register Sign In
valknar/sexy
1
0
Fork 0
You've already forked sexy
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
1b660dde9e9ea47030c59d44b28133f73eb07dac
sexy/packages/frontend/src/routes/play/+layout.server.ts

9 lines
211 B
TypeScript
Raw Normal View History

feat: refactor play area into sidebar layout with buttplug, recordings, and leaderboard sub-pages - Add /play sidebar layout (mobile nav + desktop sidebar) with SexyBackground - Move buttplug device control to /play/buttplug with Empty component and scan button - Move recordings from /me/recordings to /play/recordings - Move leaderboard to /play/leaderboard; redirect /leaderboard → /play/leaderboard - Redirect /me/recordings → /play/recordings and /play → /play/buttplug - Remove recordings entry from /me sidebar nav - Rename "SexyPlay" → "Play", swap bluetooth icon for rocket, remove subtitle - Add play.nav i18n keys (play, recordings, leaderboard, back_to_site, back_mobile) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 19:33:28 +01:00
import { redirect } from "@sveltejs/kit";
export async function load({ locals }) {
if (!locals.authStatus.authenticated) {
throw redirect(302, "/login");
}
return { authStatus: locals.authStatus };
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 28ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API