nielsr HF Staff commited on
Commit
c005bc4
Β·
verified Β·
1 Parent(s): 39d122d

Add Papers with Code logo to its links

Browse files
Files changed (1) hide show
  1. index.html +8 -3
index.html CHANGED
@@ -91,6 +91,9 @@
91
  }
92
  .btn-pwc:hover { background: #fff; transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; }
93
  .pwc-mobile { display: none; }
 
 
 
94
  .btn-pwc:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
95
  .btn-claim { background: var(--blue); border-color: var(--blue); color: #fff; font-size: 15px; padding: 12px 22px; }
96
  .btn-claim:hover { background: #2f47e0; }
@@ -226,7 +229,7 @@
226
  </a>
227
  <div class="nav-actions">
228
  <a class="nav-link" href="https://huggingface.co/Neurips-2026-MLIntern-Repro" target="_blank" rel="noopener">Hackathon β†—</a>
229
- <a class="btn btn-pwc" href="https://paperswithcode.co/conferences/neurips-2026" target="_blank" rel="noopener">All NeurIPS 2026 papers on Papers with Code β†—</a>
230
  <button class="btn btn-random" id="random">🎲 Random<span class="long"> paper</span></button>
231
  </div>
232
  </div>
@@ -234,7 +237,7 @@
234
 
235
  <section class="intro">
236
  <div class="wrap">
237
- <a class="btn btn-pwc pwc-mobile" href="https://paperswithcode.co/conferences/neurips-2026" target="_blank" rel="noopener">All NeurIPS 2026 papers on Papers with Code β†—</a>
238
  <p>Each paper comes with one key claim to reproduce or falsify. Find one you like and claim it.</p>
239
  <div class="facts">
240
  <div class="fact"><span>Dates</span><b>Nov 20 – Dec 5, 2026</b></div>
@@ -303,6 +306,8 @@
303
  return a;
304
  }
305
 
 
 
306
  function sheet(p) {
307
  const pres = (p.presentation || "poster").toLowerCase();
308
  return `
@@ -314,7 +319,7 @@
314
  <div class="meta">
315
  <span class="kind ${esc(pres)}">${esc(kindText(pres, p.track))}</span>
316
  ${p.pwc
317
- ? `<a href="https://paperswithcode.co/paper/${esc(p.id)}" target="_blank" rel="noopener">Papers with Code</a>`
318
  : `<a href="https://arxiv.org/abs/${esc(p.id)}" target="_blank" rel="noopener">arXiv</a>`}
319
  ${p.openreview_id ? `<a href="https://openreview.net/forum?id=${esc(p.openreview_id)}" target="_blank" rel="noopener">OpenReview</a>` : ""}
320
  ${p.verdict === "borderline" ? `<span class="heads-up">Harder than most to reproduce</span>` : ""}
 
91
  }
92
  .btn-pwc:hover { background: #fff; transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; }
93
  .pwc-mobile { display: none; }
94
+ .pwc-logo { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.17em; margin-right: .45em; border-radius: 2px; }
95
+ .pwc-link { white-space: nowrap; }
96
+ .pwc-link .pwc-logo { width: 1em; height: 1em; margin-right: .3em; }
97
  .btn-pwc:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
98
  .btn-claim { background: var(--blue); border-color: var(--blue); color: #fff; font-size: 15px; padding: 12px 22px; }
99
  .btn-claim:hover { background: #2f47e0; }
 
229
  </a>
230
  <div class="nav-actions">
231
  <a class="nav-link" href="https://huggingface.co/Neurips-2026-MLIntern-Repro" target="_blank" rel="noopener">Hackathon β†—</a>
232
+ <a class="btn btn-pwc" href="https://paperswithcode.co/conferences/neurips-2026" target="_blank" rel="noopener"><svg class="pwc-logo" viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" fill="#1A1814"/><rect x="6" y="6" width="20" height="20" fill="#FAF8F4"/><rect x="12" y="12" width="8" height="8" fill="#1A1814"/></svg>All NeurIPS 2026 papers on Papers with Code β†—</a>
233
  <button class="btn btn-random" id="random">🎲 Random<span class="long"> paper</span></button>
234
  </div>
235
  </div>
 
237
 
238
  <section class="intro">
239
  <div class="wrap">
240
+ <a class="btn btn-pwc pwc-mobile" href="https://paperswithcode.co/conferences/neurips-2026" target="_blank" rel="noopener"><svg class="pwc-logo" viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" fill="#1A1814"/><rect x="6" y="6" width="20" height="20" fill="#FAF8F4"/><rect x="12" y="12" width="8" height="8" fill="#1A1814"/></svg>All NeurIPS 2026 papers on Papers with Code β†—</a>
241
  <p>Each paper comes with one key claim to reproduce or falsify. Find one you like and claim it.</p>
242
  <div class="facts">
243
  <div class="fact"><span>Dates</span><b>Nov 20 – Dec 5, 2026</b></div>
 
306
  return a;
307
  }
308
 
309
+ const PWC_LOGO = '<svg class="pwc-logo" viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" fill="#1A1814"/><rect x="6" y="6" width="20" height="20" fill="#FAF8F4"/><rect x="12" y="12" width="8" height="8" fill="#1A1814"/></svg>';
310
+
311
  function sheet(p) {
312
  const pres = (p.presentation || "poster").toLowerCase();
313
  return `
 
319
  <div class="meta">
320
  <span class="kind ${esc(pres)}">${esc(kindText(pres, p.track))}</span>
321
  ${p.pwc
322
+ ? `<a href="https://paperswithcode.co/paper/${esc(p.id)}" target="_blank" rel="noopener" class="pwc-link">${PWC_LOGO}Papers with Code</a>`
323
  : `<a href="https://arxiv.org/abs/${esc(p.id)}" target="_blank" rel="noopener">arXiv</a>`}
324
  ${p.openreview_id ? `<a href="https://openreview.net/forum?id=${esc(p.openreview_id)}" target="_blank" rel="noopener">OpenReview</a>` : ""}
325
  ${p.verdict === "borderline" ? `<span class="heads-up">Harder than most to reproduce</span>` : ""}