diff --git a/.agents/skills/git-commit/SKILL.md b/.agents/skills/git-commit/SKILL.md new file mode 100644 index 0000000..d671808 --- /dev/null +++ b/.agents/skills/git-commit/SKILL.md @@ -0,0 +1,30 @@ +--- +name: git-commit +description: Simple commit message format using type(target) : message. +--- + +# Git Commit + +Use this exact format for commit messages: + +type(target) : message + +Examples: +- feat(auth) : add login flow +- fix(api) : handle missing user id +- docs(readme) : update setup steps +- chore(ui) : polish button spacing + +## Rules + +- Use a short type such as feat, fix, docs, chore, refactor, test, perf, build, ci, or revert. +- Use a compact target in parentheses if the change is scoped to a part of the app. +- Keep the message clear and action-oriented. +- Prefer present tense and a concise summary. +- If no clear target exists, keep it simple: fix : handle null state + +## Output + +When creating a commit message, return only: + +type(target) : message diff --git a/components/public/team-search.tsx b/components/public/team-search.tsx index a3aed08..09aab1a 100644 --- a/components/public/team-search.tsx +++ b/components/public/team-search.tsx @@ -100,9 +100,13 @@ export function TeamSearch({ teams }: { teams: PublicGuide["teams"] }) {
{member.weapon ? ( -
@@ -115,14 +119,18 @@ export function TeamSearch({ teams }: { teams: PublicGuide["teams"] }) { R{member.refinement} -
+ ) : (
)} {member.artifact ? ( -
@@ -132,7 +140,7 @@ export function TeamSearch({ teams }: { teams: PublicGuide["teams"] }) { fill className="object-contain p-1" /> -
+ ) : (
)} diff --git a/lib/og-image.tsx b/lib/og-image.tsx index 7424a90..3297b27 100644 --- a/lib/og-image.tsx +++ b/lib/og-image.tsx @@ -172,7 +172,11 @@ export async function generateOgImage({
{weaponArtSrc ? ( ) : null}
@@ -249,14 +253,14 @@ export async function generateOgImage({ > {recommendedWeapon.overallPercent ? (
-
{metric(recommendedWeapon.overallPercent)}
-
ทั้งทีม
+
{metric(recommendedWeapon.overallPercent)}
+
ทั้งทีม
) : null} {recommendedWeapon.personalPercent ? (
-
{metric(recommendedWeapon.personalPercent)}
-
ส่วนตัว
+
{metric(recommendedWeapon.personalPercent)}
+
ส่วนตัว
) : null}
@@ -271,23 +275,23 @@ export async function generateOgImage({ height: "72px", marginTop: recommendedWeapon ? "10px" : "14px", alignItems: "center", - gap: "12px", + gap: "10px", overflow: "hidden", border: "1px solid #ffffff1f", borderRadius: "12px", background: "#34343d", - padding: "6px 12px", + padding: "2px 8px", }} > -
+
{firstArtifactArtSrc ? ( -
- +
+
) : null} {recommendedArtifact.second && secondArtifactArtSrc ? ( -
- +
+
) : null}
diff --git a/public/profile.png b/public/profile.png deleted file mode 100644 index cb3dce2..0000000 Binary files a/public/profile.png and /dev/null differ