|
| 1 | +import { HeadingWithAnchor } from '@/components/heading-with-anchor'; |
| 2 | +import { EditPageLink } from '@/components/edit-page-link'; |
| 3 | +interface ProductionCompany { |
| 4 | + name: string; |
| 5 | + url: string; |
| 6 | + summary: string; |
| 7 | +} |
| 8 | + |
| 9 | +const productionCompanies: ProductionCompany[] = [ |
| 10 | + { |
| 11 | + name: 'DocSpring', |
| 12 | + url: 'https://www.docspring.com', |
| 13 | + summary: |
| 14 | + '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. ' + |
| 16 | + 'We built LogStruct to keep our production logs structured and secure.', |
| 17 | + }, |
| 18 | + |
| 19 | + { |
| 20 | + name: 'Your Company', |
| 21 | + url: 'https://www.example.com', |
| 22 | + summary: 'Add your company to the list!', |
| 23 | + }, |
| 24 | +]; |
| 25 | + |
| 26 | +export default function CompaniesUsingLogStructPage() { |
| 27 | + return ( |
| 28 | + <div className="space-y-6"> |
| 29 | + <HeadingWithAnchor id="companies-using-logstruct-in-production" level={1}> |
| 30 | + Companies Using LogStruct |
| 31 | + </HeadingWithAnchor> |
| 32 | + |
| 33 | + <p className="text-neutral-600 dark:text-neutral-400"> |
| 34 | + Does your team run LogStruct in production? Click the edit link below to |
| 35 | + add your company to the list. |
| 36 | + </p> |
| 37 | + |
| 38 | + <hr className="my-14" /> |
| 39 | + |
| 40 | + <ul className="space-y-14 list-inside"> |
| 41 | + {productionCompanies.map((company) => ( |
| 42 | + <li key={company.name}> |
| 43 | + <a |
| 44 | + href={`${company.url}?utm_source=logstruct&utm_medium=referral`} |
| 45 | + target="_blank" |
| 46 | + rel="noopener noreferrer" |
| 47 | + className="font-semibold text-xl hover:underline" |
| 48 | + > |
| 49 | + {company.name} |
| 50 | + </a> |
| 51 | + <div className="text-neutral-600 dark:text-neutral-400 pt-3"> |
| 52 | + {company.summary} |
| 53 | + </div> |
| 54 | + </li> |
| 55 | + ))} |
| 56 | + </ul> |
| 57 | + |
| 58 | + <EditPageLink /> |
| 59 | + </div> |
| 60 | + ); |
| 61 | +} |
0 commit comments