|
| 1 | +import React from 'react'; |
| 2 | +import styles from './SolutionArchitectCTA.module.css'; |
| 3 | + |
| 4 | +const userData = { |
| 5 | + name: 'Martin Zlámal', |
| 6 | + title: 'Solution Architect', |
| 7 | + imageUrl: 'https://github.com/mrtnzlml.png', |
| 8 | + description: |
| 9 | + "My role as your Solution Architect is centered on one thing: your success. For some, it's about unlocking new ARR. For others, it's about getting rid of the old pesky system that is holding you back. Either way, I'm here to help. I thrive on diving into complex challenges and translating your vision into a robust, scalable reality. Partner with me to design a strategic blueprint that not only solves your immediate problems but also unlocks new opportunities and maximizes the value of your technology investment.", |
| 10 | + linkedinUrl: 'https://www.linkedin.com/in/mrtnzlml', |
| 11 | +}; |
| 12 | + |
| 13 | +/** |
| 14 | + * ## Usage |
| 15 | + * |
| 16 | + * Import it at the top of your MDX file: |
| 17 | + * |
| 18 | + * import SolutionArchitectCTA from '@site/src/components/SolutionArchitectCTA'; |
| 19 | + * |
| 20 | + * Then, you can use it in your content like this: |
| 21 | + * |
| 22 | + * <SolutionArchitectCTA /> |
| 23 | + */ |
| 24 | +export default function SolutionArchitectCTA() { |
| 25 | + return ( |
| 26 | + <div className={styles.ctaContainer}> |
| 27 | + <div className={styles.imageContainer}> |
| 28 | + {/* Profile Picture */} |
| 29 | + <img |
| 30 | + src={userData.imageUrl} |
| 31 | + alt={`Profile picture of ${userData.name}`} |
| 32 | + className={styles.profileImage} |
| 33 | + onError={(e) => { |
| 34 | + e.target.onerror = null; |
| 35 | + e.target.src = 'https://placehold.co/400x400/cccccc/ffffff?text=Profile'; |
| 36 | + }} |
| 37 | + /> |
| 38 | + |
| 39 | + {/* Call to Action Button */} |
| 40 | + <div className={styles.buttonContainer}> |
| 41 | + <a |
| 42 | + href={userData.linkedinUrl} |
| 43 | + target="_blank" |
| 44 | + rel="noopener noreferrer" |
| 45 | + className={styles.ctaButton} |
| 46 | + > |
| 47 | + <svg |
| 48 | + className={styles.linkedinIcon} |
| 49 | + xmlns="http://www.w3.org/2000/svg" |
| 50 | + viewBox="0 0 448 512" |
| 51 | + fill="currentColor" |
| 52 | + > |
| 53 | + <path d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 53.79-54.3c29.7 0 53.79 24.2 53.79 54.3.01 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z" /> |
| 54 | + </svg> |
| 55 | + <span>Connect on LinkedIn</span> |
| 56 | + </a> |
| 57 | + </div> |
| 58 | + </div> |
| 59 | + |
| 60 | + {/* Content Section */} |
| 61 | + <div className={styles.textContainer}> |
| 62 | + <h2 className={styles.title}>Need a Solution Architect?</h2> |
| 63 | + <p className={styles.description}>{userData.description}</p> |
| 64 | + </div> |
| 65 | + </div> |
| 66 | + ); |
| 67 | +} |
0 commit comments