This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @extends('layouts.app') | |
| @section('title') | |
| Administrador de Presupuestos impulsado por IA | |
| @endsection | |
| @section('contents') | |
| <section class="relative bg-purple-950 overflow-hidden"> | |
| <div class="max-w-7xl mx-auto px-4 py-16"> | |
| <div class="grid grid-cols-1 lg:grid-cols-5 gap-8 lg:gap-12 items-center"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Expand-Archive -Path "$env:USERPROFILE\Downloads\archivo.zip" -DestinationPath "C:\php" | |
| [Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\php", "User") | |
| Copy-Item C:\php\php.ini-development C:\php\php.ini |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ResetPasswordRequest extends FormRequest | |
| { | |
| public function messages(): array | |
| { | |
| return [ | |
| 'token.required' => 'El token de recuperación es obligatorio.', | |
| 'email.required' => 'El correo electrónico es obligatorio.', | |
| 'email.email' => 'Debes ingresar un correo electrónico válido.', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ForgotPasswordRequest extends FormRequest | |
| { | |
| public function messages(): array | |
| { | |
| return [ | |
| 'email.required' => 'El correo electrónico es obligatorio.', | |
| 'email.email' => 'Ingresa un correo electrónico válido.', | |
| 'email.exists' => 'No encontramos una cuenta con ese correo electrónico.', | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { route } from "ziggy-js"; | |
| export default function UpdatePassword() { | |
| return ( | |
| <> | |
| <div className="sm:flex sm:items-center mt-10"> | |
| <div className="sm:flex-auto"> | |
| <h1 className="font-bold text-4xl">Cambiar Contraseña</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { route } from "ziggy-js"; | |
| export default function UpdateProfile() { | |
| return ( | |
| <> | |
| <div className="sm:flex sm:items-center mt-10"> | |
| <div className="sm:flex-auto"> | |
| <h1 className="font-bold text-4xl">Ajustes</h1> | |
| <p className="mt-2 text-xl text-gray-500">Modifica tu información en esta página</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Route::get('/settings/profile', [UpdateProfileController::class, 'edit'])->name('settings.profile'); | |
| Route::put('/settings/profile', [UpdateProfileController::class, 'update'])->name('settings.profile.update'); | |
| Route::get('/settings/password', [UpdatePasswordController::class, 'edit'])->name('settings.password'); | |
| Route::put('/settings/password', [UpdatePasswordController::class, 'update'])->name('settings.password.update'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from "react"; | |
| export default function SubscriptionResume() { | |
| const [loading, setLoading] = useState(false); | |
| const resumeSubscription = () => { | |
| }; | |
| return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from "react"; | |
| export default function SubscriptionCancellation() { | |
| const [loading, setLoading] = useState(false); | |
| const [confirmCancel, setConfirmCancel] = useState(false); | |
| const cancelSubscription = () => { | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default function SubscriptionDowngrade() { | |
| return ( | |
| <div className="rounded-xl bg-indigo-600 p-6 mb-6"> | |
| <h3 className="text-2xl font-bold mb-1 text-white"> | |
| Estás en el plan Anual | |
| </h3> | |
| <p className="text-white"> | |
| Si deseas cambiar a mensual, puedes cancelar tu suscripción | |
| actual. Mantendrás acceso hasta el | |
| y después podrás suscribirte al plan mensual. |
NewerOlder