Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions frontend/src/app/api/templates/route.ts

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/src/components/create-event/theme-preview.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';

import { ChevronRight } from 'lucide-react';

interface ThemePreviewProps {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/event/event-about.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';


interface EventAboutProps {
description: string;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/event/event-date-time.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';


interface EventDateTimeProps {
startDate: string;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/event/event-host.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";


interface EventHostProps {
hostName?: string;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/event/event-location.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';

import { MapPin } from 'lucide-react';

interface EventLocationProps {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/manage-event/GuestStatistics.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';


interface GuestStatisticsProps {
totalRegistered: number;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/manage-event/QuickActions.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';

import { Mail, QrCode, Users } from 'lucide-react';

export function QuickActions() {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/ui/back-button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';

import { ArrowLeft } from 'lucide-react';
import { useRouter } from 'next/navigation';

Expand All @@ -19,7 +19,7 @@ export function BackButton({ label = 'Back to Home', href = '/dashboard' }: Back
};

return (
<button
<button
onClick={handleClick}
className="flex items-center gap-2 text-white/70 hover:text-white transition-colors mb-6"
>
Expand Down
10 changes: 5 additions & 5 deletions frontend/src/components/ui/error-state.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';

import { Button } from './button';

interface ErrorStateProps {
Expand All @@ -8,11 +8,11 @@ interface ErrorStateProps {
onAction?: () => void;
}

export function ErrorState({
title,
message,
export function ErrorState({
title,
message,
actionLabel = 'Go to Home',
onAction
onAction
}: ErrorStateProps) {
return (
<div className="h-screen w-full bg-[#0a0a0a] text-white flex flex-col items-center justify-center gap-4 px-4">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ui/loading-spinner.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';


interface LoadingSpinnerProps {
message?: string;
Expand Down