Descargar esta hoja de atajos: Guías de atajos - Angular
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
<!-- Meta tags --> | |
<meta name="title" content={title} /> | |
<meta name="description" content={description} /> | |
<!-- Open Graph / Facebook --> | |
<meta property="og:title" content={title} /> | |
<meta property="og:url" content={Astro.url} /> | |
<meta property="og:description" content={description} /> | |
<meta property="og:type" content="website" /> | |
<meta property="og:image" content={image} /> |
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
--- | |
import MainLayout from '@/layouts/MainLayout.astro'; | |
--- | |
<MainLayout title="Mantenimiento de producto"> | |
<h1>{product.title}</h1> | |
<a href="javascript:history.back()" class="text-blue-500">← Volver</a> | |
<form class="grid grid-cols-1 sm:grid-cols-2 gap-4"> |
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
html { | |
@apply bg-gray-900 px-10; | |
} | |
body { | |
@apply mt-10; | |
} | |
h1 { | |
@apply text-3xl text-white my-5; |
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
/* | |
The CSS in this style tag is based off of Bear Blog's default CSS. | |
https://github.com/HermanMartinus/bearblog/blob/297026a877bc2ab2b3bdfbd6b9f7961c350917dd/templates/styles/blog/default.css | |
License MIT: https://github.com/HermanMartinus/bearblog/blob/master/LICENSE.md | |
*/ | |
:root { | |
--accent: #2337ff; | |
--accent-dark: #000d8a; | |
--black: 15, 18, 25; |
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
import axios from 'axios'; | |
import colorLib from '@kurkle/color'; | |
interface ChartOptions { | |
height?: number; | |
width?: number; | |
} | |
export const chartJsToImage = async ( | |
chartConfig: unknown, |
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
services: | |
db: | |
container_name: postgres_database | |
image: postgres:16.3 | |
volumes: | |
- ./postgres:/var/lib/postgresql/data | |
environment: | |
- POSTGRES_PASSWORD=123456 | |
restart: always | |
ports: |
NewerOlder