Skip to content

Commit 3c09e9c

Browse files
committed
nicer design for companies using logstruct page. include logo
1 parent 6446b58 commit 3c09e9c

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

site/app/docs/companies/page.tsx

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,27 @@ import { EditPageLink } from '@/components/edit-page-link';
33
interface ProductionCompany {
44
name: string;
55
url: string;
6+
logo: string;
67
summary: string;
78
}
89

910
const productionCompanies: ProductionCompany[] = [
1011
{
1112
name: 'DocSpring',
1213
url: 'https://www.docspring.com',
14+
logo: 'https://docspring.com/logo.png',
1315
summary:
1416
'DocSpring is a PDF filling API that makes it easy to fill out PDF forms, ' +
15-
'convert HTML to PDFs, or collect legally-binding e-signatures. ' +
17+
'convert HTML to PDFs, and collect legally-binding e-signatures. ' +
1618
'We built LogStruct to keep our production logs structured and secure.',
1719
},
1820

19-
{
20-
name: 'Your Company',
21-
url: 'https://www.example.com',
22-
summary: 'Add your company to the list!',
23-
},
21+
// {
22+
// name: 'Your Company',
23+
// url: 'https://www.example.com',
24+
// logo: 'https://www.example.com/logo.svg',
25+
// summary: '1-2 sentences about your company',
26+
// },
2427
];
2528

2629
export default function CompaniesUsingLogStructPage() {
@@ -44,11 +47,18 @@ export default function CompaniesUsingLogStructPage() {
4447
href={`${company.url}?utm_source=logstruct&utm_medium=referral`}
4548
target="_blank"
4649
rel="noopener noreferrer"
47-
className="font-semibold text-xl hover:underline"
50+
className="font-semibold text-2xl hover:underline flex items-center space-x-2"
4851
>
52+
{/* eslint-disable-next-line @next/next/no-img-element */}
53+
<img
54+
src={company.logo}
55+
alt={company.name}
56+
className="w-8 h-8 mr-4"
57+
/>
4958
{company.name}
5059
</a>
51-
<div className="text-neutral-600 dark:text-neutral-400 pt-3">
60+
61+
<div className="text-neutral-600 dark:text-neutral-400 pt-4">
5262
{company.summary}
5363
</div>
5464
</li>

0 commit comments

Comments
 (0)