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 Markdown from 'astro/components/Markdown.astro'; | |
| import Layout from '../layouts/main.astro'; | |
| import ReactComponent from '../components/ReactComponent.jsx'; | |
| import PreactComponent from '../components/PreactComponent.tsx'; | |
| import VueComponent from '../components/VueComponent.vue'; | |
| import SvelteComponent from '../components/SvelteComponent.svelte'; | |
| const title = 'Astro Markdown'; | |
| const variable = 'content'; |
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
| { | |
| "$id": "https://tokencss.com/schema.json", | |
| "$schema": "http://json-schema.org/draft-04/schema#", | |
| "title": "Token Config", | |
| "type": "object", | |
| "properties": { | |
| "color": {} | |
| }, | |
| "$defs": { | |
| "values": { |
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
| --- | |
| interface Props { | |
| pose?: | |
| | "default" | |
| | "happy" | |
| | "disappointed" | |
| | "shocked" | |
| | "love" | |
| | "grumpy" | |
| | "sad" |
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
| <!-- | |
| // v0 by Vercel. | |
| // https://v0.dev/t/sE11fA14YKy | |
| --> | |
| <div class="bg-white p-4 max-w-[400px]"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold">Items</h2> | |
| <button | |
| class="inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-primary/90 h-10 px-4 py-2 bg-[#FF3008] text-white" | |
| > |
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
| sha() { | |
| value=$(git rev-parse --short HEAD 2>/dev/null) | |
| if [ $? -ne 0 ]; then | |
| echo "\e[31m▲ Unable to detect latest commit!\e[0m\n\e[2m Is\e[0m \e[36m$(basename "$PWD")\e[0m \e[2ma git repository?\e[0m" >&2 | |
| return | |
| fi | |
| # or `xclip -selection clipboard` on unix | |
| echo $value | pbcopy | |
| echo "\e[32m●\e[0m Copied \e[36m$value\e[0m to clipboard!" |
OlderNewer