Spaces:
Running

abidlabs HF Staff commited on
Commit
c181faf
·
verified ·
1 Parent(s): c4d3157

Compact agent-friendly hero

Browse files
Files changed (2) hide show
  1. gallery.css +66 -18
  2. index.html +20 -8
gallery.css CHANGED
@@ -44,39 +44,87 @@ body {
44
  .hero-inner {
45
  max-width: 1120px;
46
  margin: 0 auto;
47
- padding: 46px 32px 40px;
48
- text-align: center;
 
 
 
 
49
  }
50
- #logo {
51
- width: 54px;
52
- height: 54px;
53
- object-fit: contain;
54
- margin-bottom: 12px;
55
  }
56
  #hero h1 {
57
  font-family: var(--serif);
58
- font-size: 40px;
59
- letter-spacing: -0.02em;
60
- margin: 0 0 10px;
61
  }
62
  .tagline {
63
  color: #c3c4cb;
64
- max-width: 620px;
65
- margin: 0 auto;
66
- font-size: 16px;
67
- line-height: 1.6;
68
  }
69
- .tagline a {
70
- color: #fdba74;
 
 
71
  }
72
  .count {
73
- margin-top: 18px;
74
  font-family: var(--mono);
75
- font-size: 12.5px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  letter-spacing: 0.06em;
77
  text-transform: uppercase;
78
  color: #fdba74;
79
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
 
81
  main {
82
  max-width: 1120px;
 
44
  .hero-inner {
45
  max-width: 1120px;
46
  margin: 0 auto;
47
+ padding: 24px 32px;
48
+ display: flex;
49
+ align-items: center;
50
+ justify-content: space-between;
51
+ gap: 34px;
52
+ flex-wrap: wrap;
53
  }
54
+ .hero-text {
55
+ max-width: 500px;
 
 
 
56
  }
57
  #hero h1 {
58
  font-family: var(--serif);
59
+ font-size: 26px;
60
+ letter-spacing: -0.01em;
61
+ margin: 0 0 6px;
62
  }
63
  .tagline {
64
  color: #c3c4cb;
65
+ margin: 0;
66
+ font-size: 14px;
67
+ line-height: 1.55;
 
68
  }
69
+ .tagline em {
70
+ color: #fff;
71
+ font-style: normal;
72
+ font-weight: 600;
73
  }
74
  .count {
 
75
  font-family: var(--mono);
76
+ font-size: 12px;
77
+ letter-spacing: 0.04em;
78
+ color: #fdba74;
79
+ font-weight: 400;
80
+ }
81
+ .term {
82
+ flex: 1;
83
+ min-width: 330px;
84
+ max-width: 540px;
85
+ background: #0f1013;
86
+ border: 1px solid rgba(255, 255, 255, 0.1);
87
+ border-radius: 10px;
88
+ overflow: hidden;
89
+ }
90
+ .term-bar {
91
+ display: flex;
92
+ align-items: center;
93
+ gap: 6px;
94
+ padding: 8px 12px;
95
+ background: #1e2027;
96
+ border-bottom: 1px solid rgba(255, 255, 255, 0.08);
97
+ }
98
+ .term-bar span {
99
+ width: 10px;
100
+ height: 10px;
101
+ border-radius: 50%;
102
+ background: #3a3b45;
103
+ }
104
+ .term-bar em {
105
+ margin-left: auto;
106
+ font-style: normal;
107
+ font-family: var(--mono);
108
+ font-size: 11px;
109
  letter-spacing: 0.06em;
110
  text-transform: uppercase;
111
  color: #fdba74;
112
  }
113
+ .term pre {
114
+ margin: 0;
115
+ padding: 14px 16px;
116
+ font-family: var(--mono);
117
+ font-size: 12.5px;
118
+ line-height: 1.7;
119
+ color: #e7e7ea;
120
+ overflow-x: auto;
121
+ }
122
+ .term .c {
123
+ color: #7a7d87;
124
+ }
125
+ .term .p {
126
+ color: #fdba74;
127
+ }
128
 
129
  main {
130
  max-width: 1120px;
index.html CHANGED
@@ -9,14 +9,26 @@
9
  <body>
10
  <header id="hero">
11
  <div class="hero-inner">
12
- <img id="logo" src="./trackio-logo.png" alt="" />
13
- <h1>Open Experiments</h1>
14
- <p class="tagline">
15
- A public gallery of ML experiment logbooks — the complete traces of
16
- real experiments, published with
17
- <a href="https://github.com/gradio-app/trackio" target="_blank" rel="noopener">Trackio</a>.
18
- </p>
19
- <div id="count" class="count"></div>
 
 
 
 
 
 
 
 
 
 
 
 
20
  </div>
21
  </header>
22
  <main>
 
9
  <body>
10
  <header id="hero">
11
  <div class="hero-inner">
12
+ <div class="hero-text">
13
+ <h1>Open Experiments <span id="count" class="count"></span></h1>
14
+ <p class="tagline">
15
+ A public gallery of experiment logbooks — the full trace of real ML
16
+ runs, readable by humans <em>and</em> coding agents, so agents can
17
+ browse and learn from each other's work.
18
+ </p>
19
+ </div>
20
+ <div class="term" aria-hidden="true">
21
+ <div class="term-bar">
22
+ <span></span><span></span><span></span><em>agent-friendly</em>
23
+ </div>
24
+ <pre><code><span class="c"># discover every open experiment</span>
25
+ <span class="p">$</span> trackio logbook list --all
26
+
27
+ <span class="c"># read one as compact, token-efficient markdown</span>
28
+ <span class="p">$</span> trackio logbook read abidlabs/text2sql-logbook
29
+
30
+ <span class="c"># → your agent learns from others' runs</span></code></pre>
31
+ </div>
32
  </div>
33
  </header>
34
  <main>