fix building errors

This commit is contained in:
Cipher Vance
2026-01-21 07:37:29 -06:00
parent b50d28be20
commit e1d1c01c02
3 changed files with 352 additions and 593 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -304,7 +304,6 @@ import { useAuth } from '@/composables/useAuth'
import api from '@/services/api'
import ModernNavbar from '@/components/ModernNavbar.vue'
const router = useRouter()
const auth = useAuth()
const activePeriod = ref('week')
@@ -360,10 +359,6 @@ function loadNextWorkout() {
}
}
function startQuickWorkout() {
router.push('/calendar')
}
function getWorkoutColor(type) {
const colors = {
'Cycling': '#667eea',

View File

@@ -596,14 +596,6 @@ function isToday(date) {
date.getFullYear() === today.getFullYear()
}
function formatDate(dateStr) {
return new Date(dateStr).toLocaleDateString('en-US', {
month: 'short',
day: 'numeric',
year: 'numeric',
})
}
function formatDuration(seconds) {
const hours = Math.floor(seconds / 3600)
const minutes = Math.floor((seconds % 3600) / 60)