feat: rebrand application from Padel Pro to SmashPoint
Complete rename across all layers: UI branding, package names (@smashpoint/web, @smashpoint/shared), infrastructure (Docker, DB config), seed data, documentation, and logo/favicon. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Padel Pro - Plan de Implementación
|
||||
# SmashPoint - Plan de Implementación
|
||||
|
||||
> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.
|
||||
|
||||
@@ -71,7 +71,7 @@ Create `turbo.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "padel-pro",
|
||||
"name": "smashpoint",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "turbo dev",
|
||||
@@ -165,7 +165,7 @@ git commit -m "chore: initialize monorepo with Turborepo and pnpm"
|
||||
Create `apps/web/package.json`:
|
||||
```json
|
||||
{
|
||||
"name": "@padel-pro/web",
|
||||
"name": "@smashpoint/web",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
@@ -179,7 +179,7 @@ Create `apps/web/package.json`:
|
||||
"next": "14.2.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"@padel-pro/shared": "workspace:*"
|
||||
"@smashpoint/shared": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.11.0",
|
||||
@@ -199,7 +199,7 @@ Create `apps/web/next.config.js`:
|
||||
```javascript
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
transpilePackages: ["@padel-pro/shared"],
|
||||
transpilePackages: ["@smashpoint/shared"],
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
@@ -363,7 +363,7 @@ import "./globals.css";
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Padel Pro - Sistema de Gestión",
|
||||
title: "SmashPoint - Sistema de Gestión",
|
||||
description: "Sistema integral de gestión para clubes de pádel",
|
||||
};
|
||||
|
||||
@@ -389,7 +389,7 @@ export default function Home() {
|
||||
<main className="flex min-h-screen flex-col items-center justify-center p-24">
|
||||
<div className="text-center">
|
||||
<h1 className="text-4xl font-bold text-primary mb-4">
|
||||
Padel Pro
|
||||
SmashPoint
|
||||
</h1>
|
||||
<p className="text-xl text-slate-600">
|
||||
Sistema de Gestión para Clubes de Pádel
|
||||
@@ -431,7 +431,7 @@ git commit -m "feat(web): add Next.js 14 app with Tailwind CSS"
|
||||
Create `packages/shared/package.json`:
|
||||
```json
|
||||
{
|
||||
"name": "@padel-pro/shared",
|
||||
"name": "@smashpoint/shared",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"main": "./src/index.ts",
|
||||
@@ -1154,7 +1154,7 @@ enum MatchStatus {
|
||||
Create `apps/web/.env.example`:
|
||||
```env
|
||||
# Database
|
||||
DATABASE_URL="postgresql://user:password@localhost:5432/padel_pro?schema=public"
|
||||
DATABASE_URL="postgresql://user:password@localhost:5432/smashpoint_db?schema=public"
|
||||
|
||||
# Auth
|
||||
NEXTAUTH_SECRET="your-secret-key-here"
|
||||
@@ -1737,7 +1737,7 @@ export function Sidebar() {
|
||||
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-primary text-white font-bold">
|
||||
P
|
||||
</div>
|
||||
<span className="text-xl font-bold text-primary">Padel Pro</span>
|
||||
<span className="text-xl font-bold text-primary">SmashPoint</span>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
@@ -2116,7 +2116,7 @@ import { NextRequest, NextResponse } from "next/server";
|
||||
import { getServerSession } from "next-auth";
|
||||
import { authOptions } from "@/lib/auth";
|
||||
import { db } from "@/lib/db";
|
||||
import { createBookingSchema } from "@padel-pro/shared";
|
||||
import { createBookingSchema } from "@smashpoint/shared";
|
||||
|
||||
export async function GET(req: NextRequest) {
|
||||
const session = await getServerSession(authOptions);
|
||||
|
||||
Reference in New Issue
Block a user