Cloudflare Git

Repos/herdr-appPublic

main
51 lines · 4.1 KBRaw
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>file tab</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet><style>body{margin:0}</style></helmet>
<div style="width: 960px; height: 600px; box-sizing: border-box; display: flex; flex-direction: column; background: #141916; color: #d8ded6; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif; font-size: 13px; overflow: hidden">
<div style="height: 44px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #171d1a">
<div style="height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 7px; color: #93a096; font-size: 12.5px">Herdr-app AGENTS.md config</div>
<div style="height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 7px; background: #2f3431; border: 1px solid #2a332e; font-size: 12.5px"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"></path><path d="M14 3v5h5"></path></svg>install.sh <span style="color: #93a096">×</span></div>
</div>
<div style="flex: 1; min-height: 0; padding: 0 10px 10px; display: flex">
<div style="flex: 1; min-width: 0; display: flex; flex-direction: column; border: 1px solid #66726a; border-radius: 10px; background: #1a201d; overflow: hidden">
<div style="height: 32px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid #2a332e; font-size: 12.5px"><span style="display: flex; color: #66726a"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"></path><path d="M14 3v5h5"></path></svg></span><span style="font-weight: 600">install.sh</span><span style="color: #66726a">~/Developer/projects/herdr-app</span></div>
<div style="height: 36px; flex: none; display: flex; align-items: center; gap: 4px; padding: 0 10px; border-bottom: 1px solid #2a332e; font-size: 12px">
<div style="padding: 0 10px; height: 24px; display: flex; align-items: center; border-radius: 6px; background: #2f3431">Changes</div>
<div style="padding: 0 10px; height: 24px; display: flex; align-items: center; border-radius: 6px; color: #93a096">File</div>
<div style="flex: 1"></div>
<span style="font-size: 11px; color: #93c47d">+2</span><span style="font-size: 11px; color: #e2735f">−0</span>
<div style="padding: 0 10px; height: 24px; display: flex; align-items: center; border-radius: 6px; color: #93a096">Wrap</div>
</div>
<div style="flex: 1; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 13px">
<div style="height: 22px; padding: 0 12px; display: flex; align-items: center; background: #2c312f; color: #66726a">@@ -8,6 +8,8 @@ claude=${CLAUDE_CONFIG_DIR:-$HOME/.claude}</div>
<sc-for list="{{rows}}" as="r" hint-placeholder-count="8">
<div style="{{r.rowStyle}}"><div style="width: 36px; flex: none; text-align: right; color: #66726a">{{r.n}}</div><div style="{{r.markStyle}}">{{r.mark}}</div><div style="white-space: pre">{{r.text}}</div></div>
</sc-for>
</div>
</div>
</div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":960,"height":600}}'>
class Component extends DCLogic {
renderVals() {
const row = (n, kind, text) => ({ n: String(n), text, mark: kind === ' ' ? '' : kind,
rowStyle: 'height: 22px; display: flex; align-items: center; gap: 12px;' + (kind === '+' ? ' background: #93c47d18;' : kind === '-' ? ' background: #e2735f18;' : ''),
markStyle: 'width: 10px; flex: none; color: ' + (kind === '+' ? '#93c47d' : kind === '-' ? '#e2735f' : '#66726a') });
return { rows: [
row(8, ' ', ''), row(9, ' ', 'cp keys/keys.json "$home/"'), row(10, ' ', 'cp layouts/*.json "$home/layouts/"'),
row(11, '+', 'mkdir -p "$home/themes"'), row(12, '+', 'cp themes/*.json "$home/themes/"'),
row(13, ' ', 'for m in mods/*/; do'), row(14, ' ', '    mkdir -p "$home/$m"'), row(15, ' ', '    cp -R "$m". "$home/$m"'),
] };
}
}
</script>
</body>
</html>