Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Add blog permalink
Browse files- static/style.css +45 -4
- templates/index.html +15 -0
static/style.css
CHANGED
|
@@ -104,15 +104,16 @@ body {
|
|
| 104 |
}
|
| 105 |
|
| 106 |
.citation-note {
|
| 107 |
-
font-size:
|
| 108 |
-
color: var(--google-grey-
|
| 109 |
-
background: #
|
| 110 |
border: 1px solid var(--google-grey-200);
|
| 111 |
border-radius: 8px;
|
| 112 |
-
padding:
|
| 113 |
margin: 12px 0 0 0;
|
| 114 |
line-height: 1.5;
|
| 115 |
text-align: center;
|
|
|
|
| 116 |
}
|
| 117 |
|
| 118 |
.how-to-use {
|
|
@@ -158,6 +159,46 @@ body {
|
|
| 158 |
opacity: 1;
|
| 159 |
}
|
| 160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
/* Disclaimer */
|
| 162 |
.disclaimer-container {
|
| 163 |
margin-top: 8px;
|
|
|
|
| 104 |
}
|
| 105 |
|
| 106 |
.citation-note {
|
| 107 |
+
font-size: 14px;
|
| 108 |
+
color: var(--google-grey-700);
|
| 109 |
+
background: #fafbfc;
|
| 110 |
border: 1px solid var(--google-grey-200);
|
| 111 |
border-radius: 8px;
|
| 112 |
+
padding: 12px 16px;
|
| 113 |
margin: 12px 0 0 0;
|
| 114 |
line-height: 1.5;
|
| 115 |
text-align: center;
|
| 116 |
+
box-shadow: 0 1px 2px rgba(60, 64, 67, 0.05);
|
| 117 |
}
|
| 118 |
|
| 119 |
.how-to-use {
|
|
|
|
| 159 |
opacity: 1;
|
| 160 |
}
|
| 161 |
|
| 162 |
+
/* Blog link in attribution section */
|
| 163 |
+
.blog-link-container {
|
| 164 |
+
margin-top: 16px;
|
| 165 |
+
margin-bottom: 8px;
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
.blog-link {
|
| 169 |
+
display: inline-flex;
|
| 170 |
+
align-items: center;
|
| 171 |
+
gap: 6px;
|
| 172 |
+
padding: 10px 18px;
|
| 173 |
+
background: #e8f0fe;
|
| 174 |
+
color: var(--google-blue-dark);
|
| 175 |
+
text-decoration: none;
|
| 176 |
+
border-radius: 20px;
|
| 177 |
+
border: 1px solid #d2e3fc;
|
| 178 |
+
font-family: 'Google Sans Text', sans-serif;
|
| 179 |
+
font-size: 14px;
|
| 180 |
+
font-weight: 500;
|
| 181 |
+
transition: all 0.2s ease;
|
| 182 |
+
box-shadow: 0 1px 3px rgba(26, 115, 232, 0.15);
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.blog-link:hover {
|
| 186 |
+
background: #d2e3fc;
|
| 187 |
+
color: var(--google-blue-dark);
|
| 188 |
+
transform: translateY(-1px);
|
| 189 |
+
box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);
|
| 190 |
+
text-decoration: none;
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
.blog-link .blog-icon {
|
| 194 |
+
font-size: 16px;
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
.blog-link .external-icon {
|
| 198 |
+
font-size: 14px;
|
| 199 |
+
opacity: 0.8;
|
| 200 |
+
}
|
| 201 |
+
|
| 202 |
/* Disclaimer */
|
| 203 |
.disclaimer-container {
|
| 204 |
margin-top: 8px;
|
templates/index.html
CHANGED
|
@@ -122,6 +122,21 @@
|
|
| 122 |
tabindex="-1"
|
| 123 |
/>
|
| 124 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
</div>
|
| 126 |
|
| 127 |
<div class="disclaimer-container">
|
|
|
|
| 122 |
tabindex="-1"
|
| 123 |
/>
|
| 124 |
</div>
|
| 125 |
+
|
| 126 |
+
<!-- Blog link -->
|
| 127 |
+
<div class="blog-link-container">
|
| 128 |
+
<a
|
| 129 |
+
class="blog-link"
|
| 130 |
+
href="https://developers.googleblog.com/en/introducing-langextract-a-gemini-powered-information-extraction-library"
|
| 131 |
+
target="_blank"
|
| 132 |
+
rel="noopener noreferrer"
|
| 133 |
+
aria-label="Read about LangExtract on Google for Developers"
|
| 134 |
+
>
|
| 135 |
+
<span class="material-symbols-outlined blog-icon">article</span>
|
| 136 |
+
See the LangExtract Blog Post in Google for Developers
|
| 137 |
+
<span class="material-symbols-outlined external-icon">open_in_new</span>
|
| 138 |
+
</a>
|
| 139 |
+
</div>
|
| 140 |
</div>
|
| 141 |
|
| 142 |
<div class="disclaimer-container">
|