kwakseongjae/oh-my-design / .claude/skills/omd-aphrodite
omd:aphrodite
VerifiedMaximum-craft one-page landing — the wow bar. omd:landing 의 구조 위에 마감(서체 조달·그레인·깊이·색보정·스크롤 타임라인)과 최고급 에셋을 얹고, 랜딩 검사 전 항목 통과를 합격선으로 삼는다. Trigger: '와우', '압도적인', '최고급', '쇼케이스용', 'aphrodite', '데모용 랜딩', '이거 자랑할 거야'.
docs/design-excellence/fx-library/hover-cross-open/snippet.js
View on GitHub// fx: hover-cross-open — 호버 칸 기준 좌/우를 나누고 프리뷰 한 장만 교체한다. 구현: oh-my-design (MIT).
;(function (global) {
function mountCrossOpen(root = document) {
if (!matchMedia('(hover:hover)').matches) return () => {};
const offs = [];
for (const el of root.querySelectorAll('.fx-cross')) {
const cells = [...el.querySelectorAll('.fx-cross__cell')];
const inner = el.querySelector('.fx-cross__previewInner');
const label = el.querySelector('.fx-cross__label');
let cur = -1;
const open = (i) => {
if (i === cur) return; cur = i;
const r = cells[i].getBoundingClientRect();
const mid = r.left + r.width / 2;
for (const c of cells) { // 좌/우/자기자신 3분류
const cr = c.getBoundingClientRect();
c.dataset.side = c === cells[i] ? 'c' : (cr.left + cr.width / 2 < mid ? 'l' : 'r');
}
if (inner) { // 프리뷰는 DOM 을 만들지 않고 스타일만 바꾼다
const src = cells[i].querySelector('img');
const ph = cells[i].querySelector('.fx-cross__ph');
inner.innerHTML = '';
const node = src ? src.cloneNode() : Object.assign(document.createElement('div'),
{ className: 'fx-cross__ph', style: ph ? ph.getAttribute('style') || '' : '' });
node.style.position = 'static'; node.style.width = '100%'; node.style.height = '100%';
inner.appendChild(node);
}
if (label) label.textContent = cells[i].dataset.fxLabel || '';
el.classList.add('is-open');
};
const close = () => { cur = -1; el.classList.remove('is-open');
for (const c of cells) c.removeAttribute('data-side'); };
const over = (e) => { const c = e.target.closest('.fx-cross__cell'); if (c) open(cells.indexOf(c)); };
el.addEventListener('pointerover', over, { passive: true });
el.addEventListener('pointerleave', close, { passive: true });
el.addEventListener('focusin', over);
el.addEventListener('focusout', (e) => { if (!el.contains(e.relatedTarget)) close(); });
for (const c of cells) c.tabIndex = 0;
offs.push(() => { el.removeEventListener('pointerover', over); el.removeEventListener('pointerleave', close); });
}
return () => offs.forEach(f => f());
}
global.fxLib = Object.assign(global.fxLib || {}, { mountCrossOpen });
})(window);
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |