Comparing version 0.0.2 to 0.1.0
{ | ||
"name": "buschtoens", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "@buschtoens in your terminal!", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
53
ui.js
@@ -12,28 +12,31 @@ import { Box, Text, Spacer, Newline } from 'ink'; | ||
const [columns, rows] = useStdoutDimensions(); | ||
return (React.createElement(Box, { width: columns - 4, height: rows - 2, paddingX: 2, paddingY: 1, justifyContent: "space-between" }, | ||
React.createElement(Box, { marginRight: 2, flexShrink: 0, flexGrow: 0 }, | ||
React.createElement(Gradient, { name: "rainbow" }, | ||
React.createElement(Text, null, astronaut))), | ||
React.createElement(Box, { flexDirection: "column", alignItems: "stretch", flexGrow: 0, flexShrink: 0 }, | ||
React.createElement(Box, { flexDirection: "column" }, | ||
React.createElement(Box, { paddingX: 2, paddingY: 1, borderStyle: "round", borderColor: "magenta" }, | ||
React.createElement(Text, null, | ||
"\uD83D\uDC4B Hey there!\u200B", | ||
React.createElement(Newline, { count: 2 }), | ||
' ', | ||
"My name is", | ||
' ', | ||
React.createElement(Text, { bold: true }, | ||
React.createElement(Gradient, { name: "instagram" }, "Jan Buscht\u00F6ns")), | ||
' ', | ||
React.createElement(Link, { url: "https://twitter.com/buschtoens", fallback: false }, | ||
React.createElement(Text, { bold: true, dimColor: true }, "(@buschtoens)")), | ||
".", | ||
React.createElement(Newline, { count: 2 }), | ||
"\uD83D\uDCCD I live in: \u200B", | ||
React.createElement(Link, { url: "https://goo.gl/maps/kHawmTqhVR5HhMs26", fallback: false }, "Frankfurt am Main, Germany")))), | ||
return (React.createElement(Box, { width: columns - 4, height: rows - 2, paddingX: 2, paddingY: 1, justifyContent: "center" }, | ||
React.createElement(Box, { flexShrink: 1, flexGrow: 0, flexBasis: 100, minWidth: 80 }, | ||
React.createElement(Box, { marginRight: 2, flexShrink: 0, flexGrow: 0, display: columns < 84 ? 'none' : 'flex' }, | ||
React.createElement(Gradient, { name: "rainbow" }, | ||
React.createElement(Text, null, astronaut))), | ||
React.createElement(Spacer, null), | ||
React.createElement(Box, { flexDirection: "column" }, | ||
React.createElement(Divider, { title: "Find me online" }), | ||
React.createElement(Links, null))))); | ||
React.createElement(Box, { flexDirection: "column", alignItems: "stretch", flexGrow: 0, flexShrink: 0 }, | ||
React.createElement(Box, { flexDirection: "column" }, | ||
React.createElement(Box, { paddingX: 2, paddingY: 1, borderStyle: "round", borderColor: "magenta" }, | ||
React.createElement(Text, null, | ||
"\uD83D\uDC4B Hey there!\u200B", | ||
React.createElement(Newline, { count: 2 }), | ||
' ', | ||
"My name is", | ||
' ', | ||
React.createElement(Text, { bold: true }, | ||
React.createElement(Gradient, { name: "instagram" }, "Jan Buscht\u00F6ns")), | ||
' ', | ||
React.createElement(Link, { url: "https://twitter.com/buschtoens", fallback: false }, | ||
React.createElement(Text, { bold: true, dimColor: true }, "(@buschtoens)")), | ||
".", | ||
React.createElement(Newline, { count: 2 }), | ||
"\uD83D\uDCCD I live in: \u200B", | ||
React.createElement(Link, { url: "https://goo.gl/maps/kHawmTqhVR5HhMs26", fallback: false }, "Frankfurt am Main, Germany")))), | ||
React.createElement(Spacer, null), | ||
React.createElement(Box, { flexDirection: "column" }, | ||
React.createElement(Divider, { title: "Find me online" }), | ||
React.createElement(Links, null))), | ||
React.createElement(Spacer, null)))); | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
211972
162