Spaces:
Sleeping
Sleeping
[ux] Simplify intake credit to 'Made by @helmo for the … Hackathon'
Browse filesDrop the built-by name + LinkedIn/HF icons; the HF profile (@helmo ) already
carries the follow links and the Space lists the author. One quiet line on the
first screen only, with @helmo linking to the HF profile.
Co-authored-by: Codex <noreply@openai.com>
- app/phases/intake.py +11 -28
app/phases/intake.py
CHANGED
|
@@ -75,15 +75,11 @@ INTAKE_CSS = """
|
|
| 75 |
padding:9px 16px; border-radius:var(--r-full); }
|
| 76 |
.intake-trust svg { flex:0 0 auto; color:var(--primary); }
|
| 77 |
|
| 78 |
-
/*
|
| 79 |
-
|
| 80 |
-
#intake-credit
|
| 81 |
-
|
| 82 |
-
#intake-credit
|
| 83 |
-
#intake-credit a.icon { display:inline-flex; align-items:center; color:var(--text-muted); line-height:0; }
|
| 84 |
-
#intake-credit a.icon svg { width:15px; height:15px; fill:currentColor; }
|
| 85 |
-
#intake-credit a.icon:hover { color:var(--primary-deep); }
|
| 86 |
-
#intake-credit .made { font-size:12px; color:var(--text-muted); }
|
| 87 |
"""
|
| 88 |
|
| 89 |
_TOPO_SVG = """
|
|
@@ -123,26 +119,13 @@ _TRUST_HTML = """
|
|
| 123 |
</span></div>
|
| 124 |
"""
|
| 125 |
|
| 126 |
-
#
|
| 127 |
-
|
| 128 |
-
|
|
|
|
|
|
|
|
|
|
| 129 |
)
|
| 130 |
-
# Author credit — first screen only. LinkedIn/Hugging Face as logo-icons; the
|
| 131 |
-
# hackathon line sits on its own row below.
|
| 132 |
-
_CREDIT_HTML = f"""
|
| 133 |
-
<div id="intake-credit">
|
| 134 |
-
<div class="row">
|
| 135 |
-
<span class="sep">·</span>
|
| 136 |
-
<span>Built by Hélder Monteiro</span>
|
| 137 |
-
<span class="sep">·</span>
|
| 138 |
-
<a class="icon" href="https://www.linkedin.com/in/helmo" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn" title="LinkedIn">{_LINKEDIN_SVG}</a>
|
| 139 |
-
<span class="sep">·</span>
|
| 140 |
-
<a class="icon" href="https://huggingface.co/helmo" target="_blank" rel="noopener noreferrer" aria-label="Hugging Face" title="Hugging Face">🤗</a>
|
| 141 |
-
<span class="sep">·</span>
|
| 142 |
-
</div>
|
| 143 |
-
<div class="made">Made for the Hugging Face Build Small Hackathon</div>
|
| 144 |
-
</div>
|
| 145 |
-
"""
|
| 146 |
|
| 147 |
|
| 148 |
# --------------------------------------------------------------------------
|
|
|
|
| 75 |
padding:9px 16px; border-radius:var(--r-full); }
|
| 76 |
.intake-trust svg { flex:0 0 auto; color:var(--primary); }
|
| 77 |
|
| 78 |
+
/* Hackathon credit — first screen only. @helmo links to the HF profile, which
|
| 79 |
+
carries the other follow links (LinkedIn, etc.). */
|
| 80 |
+
#intake-credit { margin-top:22px; text-align:center; font-size:12px; color:var(--text-muted); }
|
| 81 |
+
#intake-credit a { color:var(--primary-deep); text-decoration:none; font-weight:600; }
|
| 82 |
+
#intake-credit a:hover { color:var(--primary); text-decoration:underline; }
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
"""
|
| 84 |
|
| 85 |
_TOPO_SVG = """
|
|
|
|
| 119 |
</span></div>
|
| 120 |
"""
|
| 121 |
|
| 122 |
+
# Hackathon credit — first screen only. @helmo points to the HF profile, which
|
| 123 |
+
# carries the rest of the follow links.
|
| 124 |
+
_CREDIT_HTML = (
|
| 125 |
+
'<div id="intake-credit">Made by '
|
| 126 |
+
'<a href="https://huggingface.co/helmo" target="_blank" rel="noopener noreferrer">@helmo</a> '
|
| 127 |
+
'for the Hugging Face Build Small Hackathon</div>'
|
| 128 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
|
| 130 |
|
| 131 |
# --------------------------------------------------------------------------
|