|
| 1 | +import { HRSquare } from "flowbite-react"; |
| 2 | +import type { CodeData } from "~/components/code-demo"; |
| 3 | + |
| 4 | +const code = ` |
| 5 | +import { HR } from "flowbite-react"; |
| 6 | +
|
| 7 | +function Component() { |
| 8 | + return ( |
| 9 | + <> |
| 10 | + <p className="text-gray-500 dark:text-gray-400"> |
| 11 | + Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest |
| 12 | + data from other software development tools, so your IT support and operations teams have richer contextual |
| 13 | + information to rapidly respond to requests, incidents, and changes. |
| 14 | + </p> |
| 15 | + <HR.Square /> |
| 16 | + <p className="text-gray-500 dark:text-gray-400"> |
| 17 | + Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate |
| 18 | + critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every |
| 19 | + change. |
| 20 | + </p> |
| 21 | + </> |
| 22 | + ); |
| 23 | +} |
| 24 | +`; |
| 25 | + |
| 26 | +const codeRSC = ` |
| 27 | +import { HRSquare } from "flowbite-react"; |
| 28 | +
|
| 29 | +function Component() { |
| 30 | + return ( |
| 31 | + <> |
| 32 | + <p className="text-gray-500 dark:text-gray-400"> |
| 33 | + Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest |
| 34 | + data from other software development tools, so your IT support and operations teams have richer contextual |
| 35 | + information to rapidly respond to requests, incidents, and changes. |
| 36 | + </p> |
| 37 | + <HRSquare /> |
| 38 | + <p className="text-gray-500 dark:text-gray-400"> |
| 39 | + Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate |
| 40 | + critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every |
| 41 | + change. |
| 42 | + </p> |
| 43 | + </> |
| 44 | + ); |
| 45 | +} |
| 46 | +`; |
| 47 | + |
| 48 | +function Component() { |
| 49 | + return ( |
| 50 | + <> |
| 51 | + <p className="text-gray-500 dark:text-gray-400"> |
| 52 | + Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest |
| 53 | + data from other software development tools, so your IT support and operations teams have richer contextual |
| 54 | + information to rapidly respond to requests, incidents, and changes. |
| 55 | + </p> |
| 56 | + <HRSquare /> |
| 57 | + <p className="text-gray-500 dark:text-gray-400"> |
| 58 | + Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate |
| 59 | + critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every |
| 60 | + change. |
| 61 | + </p> |
| 62 | + </> |
| 63 | + ); |
| 64 | +} |
| 65 | + |
| 66 | +export const square: CodeData = { |
| 67 | + type: "single", |
| 68 | + code: [ |
| 69 | + { |
| 70 | + fileName: "client", |
| 71 | + language: "tsx", |
| 72 | + code, |
| 73 | + }, |
| 74 | + { |
| 75 | + fileName: "server", |
| 76 | + language: "tsx", |
| 77 | + code: codeRSC, |
| 78 | + }, |
| 79 | + ], |
| 80 | + githubSlug: "/hr/hr.square.tsx", |
| 81 | + component: <Component />, |
| 82 | +}; |
0 commit comments