helmo Codex commited on
Commit
644e47e
·
1 Parent(s): ebc2550

[ux] Simplify intake credit to 'Made by @helmo for the … Hackathon'

Browse files

Drop 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>

Files changed (1) hide show
  1. 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
- /* Author credit — shown only on this first screen, never in the interview flow. */
79
- #intake-credit { margin-top:22px; display:flex; flex-direction:column; align-items:center; gap:5px; }
80
- #intake-credit .row { display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
81
- gap:8px; font-size:13px; color:var(--text-muted); }
82
- #intake-credit .sep { color:var(--line-strong); }
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
- # LinkedIn glyph (monochrome, inherits currentColor to stay on-brand).
127
- _LINKEDIN_SVG = (
128
- '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M20.45 20.45h-3.56v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.47-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.07 2.07 0 1 1 0-4.14 2.07 2.07 0 0 1 0 4.14zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.22.79 24 1.77 24h20.45c.98 0 1.78-.78 1.78-1.73V1.73C24 .77 23.2 0 22.22 0z"/></svg>'
 
 
 
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
  # --------------------------------------------------------------------------