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
| it('should be created', () => { | |
| // todo: | |
| }); | |
| it('should be created with default values', () => { | |
| // todo: | |
| }); | |
| it('should set resultText, subResultText to "0" when C is pressed', () => { |
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
| const checkValidations = () => { | |
| fieldErrors.value = {}; | |
| const result = productSchema.safeParse(newProduct.value); | |
| if (!result.success) { | |
| result.error.issues.forEach((issue) => { | |
| const field = issue.path[0]; | |
| if (typeof field === 'string') { |
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
| // auth.d.ts | |
| declare module '#auth-utils' { | |
| // Define the structure of your user object | |
| interface User { | |
| id: string; | |
| email: string; | |
| name?: string; // Optional field | |
| roles: string[]; // Example of a specific role type | |
| } |
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 const products = [ | |
| { | |
| slug: 'cloud-storage-saas', | |
| name: 'Cloud Storage Pro', | |
| description: | |
| 'Servicio de almacenamiento en la nube seguro y escalable para empresas de cualquier tama帽o.', | |
| price: 100, | |
| images: [ | |
| 'https://picsum.photos/600/400?random=1', | |
| 'https://picsum.photos/600/400?random=2', |
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 const siteReviews = [ | |
| { | |
| name: 'Carlos Ram铆rez', | |
| subtitle: 'CEO de TechSolutions', | |
| profileImage: 'https://randomuser.me/api/portraits/men/10.jpg', | |
| description: | |
| 'Excelente consultor铆a, resolvieron mis dudas y mejoraron mis procesos tecnol贸gicos.', | |
| }, | |
| { | |
| name: 'Mariana L贸pez', |
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
| <script setup lang="ts"> | |
| defineProps<{ | |
| buttonLabel: string; | |
| }>(); | |
| const reviewText = ref(''); | |
| const rating = ref(0); | |
| const isOpen = ref(false); | |
| const submitReview = () => { |
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
| <!-- PricingTable --> | |
| <script setup lang="ts"> | |
| const tiers = [ | |
| { | |
| id: 'solo', | |
| title: 'Solo', | |
| price: '$249', | |
| description: 'Para aut贸nomos.', | |
| billingCycle: '/mes', |
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
| <template> | |
| <u-app> | |
| <div class="error-container"> | |
| <div class="error-content"> | |
| <!-- Animaci贸n del n煤mero 404 --> | |
| <div class="error-code-wrapper"> | |
| <h1 class="error-code">{{ error.statusCode || 404 }}</h1> | |
| <div class="error-glow"></div> | |
| </div> |
NewerOlder