|
| 1 | +import type { Metadata } from "next"; |
| 2 | +import Link from "next/link"; |
| 3 | + |
| 4 | +type SocialAsset = { |
| 5 | + title: string; |
| 6 | + description: string; |
| 7 | + dimensions: string; |
| 8 | + bestFor: string; |
| 9 | + imageSrc: string; |
| 10 | + imageAlt: string; |
| 11 | + downloadHref: string; |
| 12 | + previewHref: string; |
| 13 | +}; |
| 14 | + |
| 15 | +const socialAssets: SocialAsset[] = [ |
| 16 | + { |
| 17 | + title: "Link Preview Card", |
| 18 | + description: |
| 19 | + "Wide social card for WhatsApp shares, Open Graph previews, Slack, Telegram, and any post that points back to the website.", |
| 20 | + dimensions: "1200 x 630 PNG", |
| 21 | + bestFor: |
| 22 | + "Best when you want the image to look strong in link unfurls and still work well for manual posting in landscape format.", |
| 23 | + imageSrc: "/social/securemcp-lite-og.png", |
| 24 | + imageAlt: "SecureMCP-Lite Open Graph preview card", |
| 25 | + downloadHref: "/social/securemcp-lite-og.png", |
| 26 | + previewHref: "/opengraph-image", |
| 27 | + }, |
| 28 | + { |
| 29 | + title: "Manual Post Portrait", |
| 30 | + description: |
| 31 | + "Portrait launch card sized for manual posting to Instagram feeds, WhatsApp Status, and other mobile-first channels.", |
| 32 | + dimensions: "1080 x 1350 PNG", |
| 33 | + bestFor: |
| 34 | + "Best for manual uploads where you want a taller asset that fills more screen space and feels like a polished promo card.", |
| 35 | + imageSrc: "/social/securemcp-lite-instagram.png", |
| 36 | + imageAlt: "SecureMCP-Lite portrait post card", |
| 37 | + downloadHref: "/social/securemcp-lite-instagram.png", |
| 38 | + previewHref: "/social-post-image", |
| 39 | + }, |
| 40 | + { |
| 41 | + title: "Twitter/X Variant", |
| 42 | + description: |
| 43 | + "Dedicated wide card for manual uploads to X, launch threads, social schedulers, and any tool that expects a landscape social image.", |
| 44 | + dimensions: "1200 x 630 PNG", |
| 45 | + bestFor: |
| 46 | + "Best when you want a separate export ready for manual social posting while still keeping the same visual language as the site preview card.", |
| 47 | + imageSrc: "/social/securemcp-lite-twitter.png", |
| 48 | + imageAlt: "SecureMCP-Lite Twitter card", |
| 49 | + downloadHref: "/social/securemcp-lite-twitter.png", |
| 50 | + previewHref: "/twitter-image", |
| 51 | + }, |
| 52 | +]; |
| 53 | + |
| 54 | +export const metadata: Metadata = { |
| 55 | + title: "Media Kit", |
| 56 | + description: "Download SecureMCP-Lite social images for WhatsApp, Instagram, and manual launch posts.", |
| 57 | +}; |
| 58 | + |
| 59 | +export default function MediaKitPage() { |
| 60 | + return ( |
| 61 | + <section className="section media-kit-page"> |
| 62 | + <div className="container media-kit-shell"> |
| 63 | + <div className="section-heading media-kit-heading"> |
| 64 | + <div className="eyebrow">Media Kit</div> |
| 65 | + <h1>Click, preview, and download launch-ready post images.</h1> |
| 66 | + <p> |
| 67 | + This page gives you the final formats for manual sharing. Use the portrait image for Instagram and |
| 68 | + WhatsApp Status, and use the wide cards for link previews, X, or launch posts. |
| 69 | + </p> |
| 70 | + </div> |
| 71 | + |
| 72 | + <div className="media-kit-intro"> |
| 73 | + <div className="media-kit-note"> |
| 74 | + <strong>Recommended:</strong> for a manual promo post, download the portrait card first. For link |
| 75 | + sharing, use the Open Graph card. |
| 76 | + </div> |
| 77 | + <div className="media-kit-actions"> |
| 78 | + <Link className="button button-secondary" href="/docs"> |
| 79 | + Back to docs |
| 80 | + </Link> |
| 81 | + <a className="button button-primary" href="/social/securemcp-lite-instagram.png" download> |
| 82 | + Download best manual post |
| 83 | + </a> |
| 84 | + </div> |
| 85 | + </div> |
| 86 | + |
| 87 | + <div className="media-kit-grid"> |
| 88 | + {socialAssets.map((asset) => ( |
| 89 | + <article key={asset.title} className="media-card"> |
| 90 | + <div className="media-card-preview"> |
| 91 | + <img src={asset.imageSrc} alt={asset.imageAlt} /> |
| 92 | + </div> |
| 93 | + |
| 94 | + <div className="media-card-body"> |
| 95 | + <div className="media-card-meta"> |
| 96 | + <span className="media-pill">{asset.dimensions}</span> |
| 97 | + <span className="media-pill media-pill-soft">Ready to post</span> |
| 98 | + </div> |
| 99 | + <h2>{asset.title}</h2> |
| 100 | + <p>{asset.description}</p> |
| 101 | + <div className="media-usage"> |
| 102 | + <strong>Best for</strong> |
| 103 | + <span>{asset.bestFor}</span> |
| 104 | + </div> |
| 105 | + |
| 106 | + <div className="media-card-actions"> |
| 107 | + <a className="button button-primary" href={asset.downloadHref} download> |
| 108 | + Download PNG |
| 109 | + </a> |
| 110 | + <a className="button button-tertiary" href={asset.previewHref} target="_blank" rel="noreferrer"> |
| 111 | + Open live route |
| 112 | + </a> |
| 113 | + </div> |
| 114 | + </div> |
| 115 | + </article> |
| 116 | + ))} |
| 117 | + </div> |
| 118 | + |
| 119 | + <div className="media-kit-footer"> |
| 120 | + <div className="media-kit-footer-card"> |
| 121 | + <h2>Which one should you use?</h2> |
| 122 | + <ul className="media-checklist"> |
| 123 | + <li> |
| 124 | + <strong>Instagram or manual image post:</strong> use <code>securemcp-lite-instagram.png</code>. |
| 125 | + </li> |
| 126 | + <li> |
| 127 | + <strong>WhatsApp link share or website preview:</strong> use <code>securemcp-lite-og.png</code>. |
| 128 | + </li> |
| 129 | + <li> |
| 130 | + <strong>X or social scheduler upload:</strong> use <code>securemcp-lite-twitter.png</code>. |
| 131 | + </li> |
| 132 | + </ul> |
| 133 | + </div> |
| 134 | + |
| 135 | + <div className="media-kit-footer-card"> |
| 136 | + <h2>Files available in the project</h2> |
| 137 | + <ul className="media-checklist"> |
| 138 | + <li><code>apps/frontend/public/social/securemcp-lite-og.png</code></li> |
| 139 | + <li><code>apps/frontend/public/social/securemcp-lite-twitter.png</code></li> |
| 140 | + <li><code>apps/frontend/public/social/securemcp-lite-instagram.png</code></li> |
| 141 | + </ul> |
| 142 | + </div> |
| 143 | + </div> |
| 144 | + </div> |
| 145 | + </section> |
| 146 | + ); |
| 147 | +} |
0 commit comments