< Summary

Information
Class: site-footer.tsx
Assembly: app.components
File(s): /home/runner/work/ClutterStock/ClutterStock/frontend/app/components/site-footer.tsx
Tag: 58_25416222083
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 24
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

Method
SiteFooter()

File(s)

/home/runner/work/ClutterStock/ClutterStock/frontend/app/components/site-footer.tsx

#LineLine coverage
 1import { getVersionLine } from "~/lib/version";
 2
 03export function SiteFooter() {
 04  const { line, sha } = getVersionLine();
 05  if (!line) return null;
 6
 07  return (
 8    <footer style={{
 9      display: "flex",
 10      alignItems: "center",
 11      justifyContent: "flex-end",
 12      padding: "0 16px",
 13      height: 26,
 14      borderTop: "1px solid var(--c-border)",
 15      background: "var(--c-bg-2)",
 16      fontSize: 11,
 17      color: "var(--c-fg-3)",
 18      fontFamily: "ui-monospace, monospace",
 19      flexShrink: 0,
 20    }}>
 21      <span title={sha.length > 0 ? sha : undefined}>{line}</span>
 22    </footer>
 23  );
 24}

Methods/Properties

SiteFooter()V