mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-23 13:56:43 +08:00
feat(website): add social proof line to hero with star count and build date
Display the awesome-python repo's star count (formatted as '230k+') and the last data refresh date below the hero CTA. Fetches the self-repo star count by always including vinta/awesome-python in the stars fetch. Also removes the footer date stamp, which is now surfaced in the hero. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
--footer-text: oklch(72% 0.02 75);
|
||||
--footer-link: oklch(82% 0.02 75);
|
||||
--footer-link-hover: oklch(95% 0.01 80);
|
||||
--footer-muted: oklch(50% 0.02 55);
|
||||
|
||||
--footer-sep: oklch(55% 0.02 55);
|
||||
}
|
||||
|
||||
@@ -304,6 +304,13 @@ kbd {
|
||||
margin-top: 1.75rem;
|
||||
}
|
||||
|
||||
.hero-proof {
|
||||
margin-top: 1.5rem;
|
||||
color: oklch(68% 0.02 72);
|
||||
font-size: var(--text-sm);
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
.hero-action {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -896,11 +903,6 @@ th[data-sort].sort-asc::after {
|
||||
color: var(--footer-link);
|
||||
}
|
||||
|
||||
.footer-date {
|
||||
font-size: var(--text-xs);
|
||||
color: var(--footer-muted);
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: block;
|
||||
text-align: right;
|
||||
|
||||
Reference in New Issue
Block a user