|
| 1 | +import { Link } from 'react-router-dom'; |
| 2 | +import { Github, Linkedin } from 'lucide-react'; |
| 3 | +import Seo from '../components/Seo'; |
| 4 | +import profileData from '../content/profile.json'; |
| 5 | +import { GITHUB_URL, SITE_NAME, SITE_URL, SOURCE_REPO_URL } from '../lib/site'; |
| 6 | + |
| 7 | +const profile = profileData as { |
| 8 | + name: string; |
| 9 | + headline: string; |
| 10 | + location: string; |
| 11 | + linkedInUrl: string; |
| 12 | + about?: string; |
| 13 | + topSkills?: string[]; |
| 14 | +}; |
| 15 | + |
| 16 | +export default function About() { |
| 17 | + return ( |
| 18 | + <section className="page"> |
| 19 | + <Seo |
| 20 | + title={`About - ${SITE_NAME}`} |
| 21 | + description="About the site owner, what this blog publishes, and how the site is maintained." |
| 22 | + path="about" |
| 23 | + jsonLd={[ |
| 24 | + { |
| 25 | + '@context': 'https://schema.org', |
| 26 | + '@type': 'AboutPage', |
| 27 | + name: `About - ${SITE_NAME}`, |
| 28 | + url: `${SITE_URL}/about`, |
| 29 | + description: 'Publisher and site information for the blog.', |
| 30 | + }, |
| 31 | + { |
| 32 | + '@context': 'https://schema.org', |
| 33 | + '@type': 'Person', |
| 34 | + name: profile.name, |
| 35 | + jobTitle: profile.headline, |
| 36 | + homeLocation: { |
| 37 | + '@type': 'Place', |
| 38 | + name: profile.location, |
| 39 | + }, |
| 40 | + sameAs: [profile.linkedInUrl, GITHUB_URL], |
| 41 | + url: SITE_URL, |
| 42 | + }, |
| 43 | + ]} |
| 44 | + /> |
| 45 | + |
| 46 | + <header className="page__header"> |
| 47 | + <p className="page__eyebrow">About</p> |
| 48 | + <h1 className="page__title">Publisher and site information</h1> |
| 49 | + <p className="page__intro"> |
| 50 | + This is an independently maintained software engineering site published by {profile.name}. |
| 51 | + It focuses on original notes, project updates, and practical writing about .NET, frontend |
| 52 | + development, and software delivery. |
| 53 | + </p> |
| 54 | + </header> |
| 55 | + |
| 56 | + <section className="page__section"> |
| 57 | + <h2>Who runs the site</h2> |
| 58 | + <p> |
| 59 | + {profile.name} is a {profile.headline} based in {profile.location}. The site is used to publish |
| 60 | + original technical writing, document project work, and keep a clear public record of ownership, |
| 61 | + policies, and contact channels. |
| 62 | + </p> |
| 63 | + {profile.about && <p>{profile.about}</p>} |
| 64 | + {profile.topSkills && profile.topSkills.length > 0 && ( |
| 65 | + <p> |
| 66 | + <strong>Focus areas:</strong> {profile.topSkills.join(' · ')} |
| 67 | + </p> |
| 68 | + )} |
| 69 | + </section> |
| 70 | + |
| 71 | + <section className="page__section"> |
| 72 | + <h2>What readers should expect</h2> |
| 73 | + <p> |
| 74 | + Articles are intended to be original, readable, and specific enough to help working engineers. |
| 75 | + The site is not a guest-post marketplace, a republishing network, or a collection of thin pages |
| 76 | + created only to host ads. |
| 77 | + </p> |
| 78 | + <p> |
| 79 | + When content needs correction or clarification, it should be updated. Site-wide disclosures are |
| 80 | + kept in the <Link to="/privacy">Privacy Policy</Link>,{' '} |
| 81 | + <Link to="/publishing-policy">Publishing Policy</Link>, and{' '} |
| 82 | + <Link to="/advertising">Advertising page</Link>. |
| 83 | + </p> |
| 84 | + </section> |
| 85 | + |
| 86 | + <section className="page__section"> |
| 87 | + <h2>Ownership and transparency</h2> |
| 88 | + <div className="page__link-grid"> |
| 89 | + <a href={profile.linkedInUrl} target="_blank" rel="noopener noreferrer" className="page__card-link"> |
| 90 | + <Linkedin size={18} aria-hidden /> |
| 91 | + <span> |
| 92 | + <strong>LinkedIn</strong> |
| 93 | + <span>Professional profile for the site owner and publisher.</span> |
| 94 | + </span> |
| 95 | + </a> |
| 96 | + <a href={GITHUB_URL} target="_blank" rel="noopener noreferrer" className="page__card-link"> |
| 97 | + <Github size={18} aria-hidden /> |
| 98 | + <span> |
| 99 | + <strong>GitHub</strong> |
| 100 | + <span>Public code, project history, and engineering work.</span> |
| 101 | + </span> |
| 102 | + </a> |
| 103 | + <a href={SOURCE_REPO_URL} target="_blank" rel="noopener noreferrer" className="page__card-link"> |
| 104 | + <Github size={18} aria-hidden /> |
| 105 | + <span> |
| 106 | + <strong>Site source</strong> |
| 107 | + <span>Repository for the blog itself, including routes and policy pages.</span> |
| 108 | + </span> |
| 109 | + </a> |
| 110 | + </div> |
| 111 | + </section> |
| 112 | + </section> |
| 113 | + ); |
| 114 | +} |
0 commit comments