mirror of
https://github.com/rohitg00/agentmemory.git
synced 2026-09-14 20:16:33 +08:00
f1e7b2c577
Earlier PH badge URL pointed at post_id 773058 which returned 404 — the WebFetch I pulled the ID from grabbed a wrong number. Correct post_id is 1144164 per the official embed snippet from the PH "Embed" tab. Badge now resolves with HTTP 200 + Content-Type image/svg+xml against api.producthunt.com. Position fix: pulled the badge out of the Testimonials section (wrong place — buried below the fold) and added Product Hunt as a fourth entry in the existing FeaturedIn "AS FEATURED IN" bar at the top of the page where it sits naturally alongside AlphaSignal, Agentic AI Foundation, and Trendshift. - FeaturedIn ITEMS: Product Hunt entry added with the canonical featured.svg embed URL (theme=neutral to match the existing badges, no t= cache-buster since CDN cache is fine for a marketing surface) - FeaturedIn grid: 3-col → 4-col at desktop, 2-col at 980px, 1-col at 540px so the four cells stay balanced - next.config: api.producthunt.com added to remotePatterns so the Next image loader accepts the SVG badge - Testimonials: removed the broken badge row + the now-unused CSS (.badgeRow / .badgeLink / .badge); section keeps the use-cases + endorsements grid as before
153 lines
2.8 KiB
CSS
153 lines
2.8 KiB
CSS
.wrap {
|
|
padding: 48px 0 56px;
|
|
background: var(--ink);
|
|
border-top: 1px solid var(--charcoal);
|
|
border-bottom: 1px solid var(--charcoal);
|
|
}
|
|
.wrapCompact {
|
|
padding: 36px 0 0;
|
|
background: transparent;
|
|
border: 0;
|
|
margin-top: 40px;
|
|
}
|
|
.wrapCompact .eyebrow {
|
|
margin-bottom: 4px;
|
|
}
|
|
.inner {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding: 0 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 22px;
|
|
align-items: center;
|
|
}
|
|
.eyebrow {
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
letter-spacing: 2.4px;
|
|
color: var(--ash);
|
|
text-transform: uppercase;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
.eyebrow::before,
|
|
.eyebrow::after {
|
|
content: "";
|
|
flex: 0 0 80px;
|
|
height: 1px;
|
|
background: var(--charcoal);
|
|
}
|
|
.row {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 20px;
|
|
width: 100%;
|
|
max-width: 1100px;
|
|
align-items: stretch;
|
|
}
|
|
.cell {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: 56px 1fr auto;
|
|
gap: 14px;
|
|
align-items: center;
|
|
padding: 18px 22px;
|
|
border: 1px solid var(--charcoal);
|
|
background: var(--iron);
|
|
text-decoration: none;
|
|
color: var(--white);
|
|
transition: border-color 0.12s ease, transform 0.12s ease, background 0.12s ease;
|
|
min-height: 96px;
|
|
}
|
|
.cell:hover,
|
|
.cell:focus-visible {
|
|
border-color: var(--gold);
|
|
transform: translateY(-1px);
|
|
background: #16161a;
|
|
}
|
|
.cell:focus-visible {
|
|
outline: 2px solid var(--gold);
|
|
outline-offset: 2px;
|
|
}
|
|
.cellBadge {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
padding: 16px 16px;
|
|
}
|
|
.logo {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 8px;
|
|
object-fit: cover;
|
|
background: var(--ink);
|
|
}
|
|
.badgeImg {
|
|
width: 100%;
|
|
height: auto;
|
|
max-width: 260px;
|
|
max-height: 60px;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
.invertLogo {
|
|
filter: invert(1) brightness(1.05);
|
|
max-height: 64px;
|
|
max-width: 280px;
|
|
}
|
|
.meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
.name {
|
|
font-family: var(--font-mono);
|
|
font-size: 14px;
|
|
letter-spacing: 0.6px;
|
|
color: var(--white);
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.sub {
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
letter-spacing: 0.8px;
|
|
color: var(--steel);
|
|
text-transform: uppercase;
|
|
}
|
|
.arrow {
|
|
font-family: var(--font-mono);
|
|
color: var(--ash);
|
|
font-size: 14px;
|
|
transition: color 0.12s ease, transform 0.12s ease;
|
|
}
|
|
.cell:hover .arrow {
|
|
color: var(--gold);
|
|
transform: translate(2px, -2px);
|
|
}
|
|
@media (max-width: 980px) {
|
|
.row {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
max-width: 720px;
|
|
}
|
|
}
|
|
@media (max-width: 540px) {
|
|
.row {
|
|
grid-template-columns: 1fr;
|
|
max-width: 380px;
|
|
}
|
|
.wrap {
|
|
padding: 32px 0 40px;
|
|
}
|
|
}
|