This file contains 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> | |
<div class="flex flex-col h-screen"> | |
<!-- Header --> | |
<header class="flex items-center h-14 px-4 border-b border-gray-300 sm:h-16 md:px-6 lg:px-8"> | |
<div> | |
<a class="flex items-center gap-2 font-semibold" href="#"> | |
<img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="40" height="40" /> | |
</a> | |
</div> |
This file contains 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
.fade-in { | |
animation: fadeIn 0.3s; | |
-webkit-animation: fadeIn 0.3s; | |
-moz-animation: fadeIn 0.3s; | |
-o-animation: fadeIn 0.3s; | |
-ms-animation: fadeIn 0.3s; | |
} | |
@keyframes fadeIn { | |
0% {opacity:0;} | |
100% {opacity:1;} |
This file contains 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": "./tsconfig.app.json", | |
"exclude": [], | |
"compilerOptions": { | |
"composite": true, | |
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo", | |
"lib": [], | |
"types": ["node", "jsdom", "vitest/globals"] | |
} | |
} |
This file contains 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
<!-- Fuente: https://tailwindcomponents.com/component/chat-layout --> | |
<template> | |
<div class="bg-gray-100 h-screen flex flex-col max-w-lg mx-auto"> | |
<div class="bg-blue-500 p-4 text-white flex justify-between items-center"> | |
<span>Mi esposa</span> | |
</div> | |
<div class="flex-1 overflow-y-auto p-4"> | |
<div class="flex flex-col space-y-2"> | |
<!-- Messages go here --> |
This file contains 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 heroes = [ | |
{ | |
id: 1, | |
name: 'Batman', | |
owner: 'DC' | |
}, | |
{ | |
id: 2, | |
name: 'Spiderman', | |
owner: 'Marvel' |
This file contains 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
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: tienda-ingress | |
spec: | |
rules: | |
- http: | |
paths: | |
- path: /* | |
pathType: ImplementationSpecific |
This file contains 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
steps: | |
- name: 'gcr.io/cloud-builders/docker' | |
entrypoint: 'bash' | |
args: | |
- -c | |
- | | |
docker build -t XXXXXX-docker.pkg.dev/project/image-registry/image-name -f dockerfile.prod --platform=linux/amd64 --build-arg ORDERS_DATABASE_URL=$$DATABASE_URL . | |
secretEnv: ['DATABASE_URL'] | |
- name: 'gcr.io/cloud-builders/docker' |
This file contains 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
steps: | |
- name: "gcr.io/cloud-builders/docker" | |
args: | |
[ | |
"build", | |
"-t", | |
"XXXXX-docker.pkg.dev/project-name/registry/image-name", | |
"-f", | |
"dockerfile.prod", | |
"--platform=linux/amd64", |
NewerOlder