|
| 1 | +import { DocumentArrowDownIcon } from '@heroicons/react/24/outline'; |
| 2 | +import { |
| 3 | + ButtonLink, |
| 4 | + SectionDescription, |
| 5 | + SectionHeading, |
| 6 | +} from '@nx/nx-dev/ui-common'; |
| 7 | +import { NxConsoleIcon } from '@nx/nx-dev/ui-icons'; |
| 8 | + |
| 9 | +export function NxConsoleBrand() { |
| 10 | + return ( |
| 11 | + <article id="nx-console" className="relative"> |
| 12 | + <div className="mx-auto max-w-7xl gap-16 px-4 sm:grid sm:grid-cols-2 sm:px-6 lg:px-8"> |
| 13 | + <div> |
| 14 | + <header> |
| 15 | + <SectionHeading as="h2" variant="title"> |
| 16 | + Nx Console |
| 17 | + </SectionHeading> |
| 18 | + <SectionHeading as="p" variant="subtitle" className="mt-4"> |
| 19 | + The UI for Nx (VSCode ext.) |
| 20 | + </SectionHeading> |
| 21 | + <SectionDescription as="p" className="mt-2"> |
| 22 | + The Nx Console trademark includes the Nx Console name & logo, and |
| 23 | + any word, phrase, image, or other designation that identifies any |
| 24 | + Nx products. Please don’t modify the marks or use them in a |
| 25 | + confusing way, including suggesting sponsorship or endorsement by |
| 26 | + Nx, or in a way that confuses Nx with another brand. |
| 27 | + </SectionDescription> |
| 28 | + </header> |
| 29 | + <h4 className="mt-4 text-lg leading-8 text-slate-700 sm:text-xl dark:text-slate-300"> |
| 30 | + Spelling |
| 31 | + </h4> |
| 32 | + <p className="mt-2 text-base text-slate-700 dark:text-slate-400"> |
| 33 | + The preferred written format is Nx Console. <br /> For social media |
| 34 | + usage, |
| 35 | + <span className="mx-1 inline-flex items-center rounded-full bg-slate-100 px-3 py-0.5 text-sm font-medium text-slate-800 dark:bg-slate-700 dark:text-slate-300"> |
| 36 | + #NxConsole |
| 37 | + </span>{' '} |
| 38 | + is an accepted format. |
| 39 | + </p> |
| 40 | + <ButtonLink |
| 41 | + variant="secondary" |
| 42 | + size="default" |
| 43 | + href="/assets/brand-kits/nx-console-logos-assets.zip" |
| 44 | + target="_blank" |
| 45 | + title="Download" |
| 46 | + className="my-12" |
| 47 | + > |
| 48 | + <DocumentArrowDownIcon className="h-5 w-5" /> |
| 49 | + <span> |
| 50 | + Download Nx Console assets{' '} |
| 51 | + <span className="text-sm italic">(zip)</span> |
| 52 | + </span> |
| 53 | + </ButtonLink> |
| 54 | + </div> |
| 55 | + <div aria-hidden="true"> |
| 56 | + <div className="w-full rounded-md border border-slate-100 bg-slate-50/20 p-4 dark:border-slate-800 dark:bg-slate-800/60"> |
| 57 | + <div className="grid grid-cols-1 items-center justify-items-center rounded-sm bg-white p-2 ring-1 ring-slate-50 dark:bg-slate-800/80 dark:ring-slate-800"> |
| 58 | + <NxConsoleIcon className="m-16 h-40 w-40 text-slate-900 dark:text-slate-100" /> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + </article> |
| 64 | + ); |
| 65 | +} |
0 commit comments