index.tsx 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. import BasicPage from "../../components/BasicPage"
  2. import Head from "next/head"
  3. import Hero from "../../components/Hero"
  4. import { withDefaultStaticProps } from "../../utils/defaultStaticProps"
  5. import Layout from "../../components/Layout"
  6. import heroImage from "../../public/illustrations/apps_hero_desktop.png"
  7. import Image from "next/legacy/image"
  8. import { FormattedDate, FormattedMessage } from "react-intl"
  9. import Link from "next/link"
  10. import { useQuery } from "@tanstack/react-query"
  11. import Statistic from "../../components/Statistic"
  12. import { Day } from "../../types/api"
  13. import team from "../../data/team"
  14. import board from "../../data/board"
  15. import interviews from "../../data/interviews"
  16. import press from "../../data/press"
  17. import LinkWithArrow from "../../components/LinkWithArrow"
  18. import PressArticle from "../../components/PressArticle"
  19. import { mapBoardPositionToLabel } from "../../utils/map"
  20. import PersonIcon from "../../public/ui/person.svg?inline"
  21. import FiltersIcon from "../../public/ui/filters.svg?inline"
  22. import LogoWhite from "../../public/logos/logo-white.svg?inline"
  23. const About = () => (
  24. <Layout>
  25. <div dir="ltr" className="[unicode-bidi:plaintext]">
  26. <Hero desktopImage={heroImage} mobileImage={heroImage}>
  27. <h1 className="h1 mb-8 pt-16">We develop Mastodon</h1>
  28. <p className="sh1">Free, open-source decentralized social media</p>
  29. </Hero>
  30. <div className="full-width-bg">
  31. <div className="full-width-bg__inner">
  32. <div className="grid grid-cols-12 gap-y-24 py-20 md:gap-x-12">
  33. <div className="col-span-12 md:col-span-6">
  34. <h2 className="h3 mb-6">Our story</h2>
  35. <p className="b1 mb-4">
  36. <strong>
  37. Mastodon gGmbH is a non-profit from Germany that develops the
  38. Mastodon software.
  39. </strong>{" "}
  40. Mastodon started in 2016 as an open-source project by Eugen
  41. Rochko, who, as an avid user since 2008, was dissatisfied with
  42. the state and direction of Twitter.
  43. </p>
  44. <p className="b1 mb-4">
  45. Believing that instant global communications were too crucial
  46. for modern society to belong to a single commercial company, he
  47. sought to build a user-friendly microblogging product that would
  48. not belong to any central authority, but remain practical for
  49. everyday use.
  50. </p>
  51. <p className="b1 mb-4">
  52. The first public launch occurred in October 2016. The initial
  53. support the project received through Patreon ensured that Eugen
  54. could begin working on the project full-time post-graduation. In
  55. April 2017 it received its first big break and garnered
  56. world-wide attention and press coverage.
  57. </p>
  58. <p className="b1 mb-6">
  59. The project was officially incorporated as a gGmbH (a German
  60. form of non-profit LLC) in 2021.
  61. </p>
  62. <ul className="b1 space-y-4">
  63. <li>
  64. <LinkWithArrow href="/branding">Branding</LinkWithArrow>
  65. </li>
  66. <li>
  67. <LinkWithArrow href="/trademark">
  68. Trademark Policy
  69. </LinkWithArrow>
  70. </li>
  71. </ul>
  72. </div>
  73. <div className="col-span-12 md:col-span-6">
  74. <h2 className="h3 mb-6" id="team">
  75. Meet the team
  76. </h2>
  77. <p className="b1 mb-6">
  78. <LinkWithArrow href="/careers">Join the team</LinkWithArrow>
  79. </p>
  80. <div className="grid grid-cols-12 gap-gutter">
  81. {team.map((member) => (
  82. <div
  83. key={member.name}
  84. className="col-span-6 lg:col-span-4 mb-6"
  85. >
  86. {/* <div className="relative mb-4 aspect-video w-full overflow-hidden rounded-lg bg-blurple-gradient shadow">
  87. {member.image && (
  88. <Image
  89. src={member.image}
  90. layout="fill"
  91. objectFit="cover"
  92. objectPosition="50% 50%"
  93. alt=""
  94. className="grayscale"
  95. />
  96. )}
  97. </div> */}
  98. <div className="flex items-center">
  99. <span className="b2 block flex-grow !font-bold">
  100. {member.name}
  101. </span>
  102. {member.socials && (
  103. <a
  104. href={member.socials.mastodon}
  105. rel="me"
  106. className="b2 ml-2 block flex-shrink-0 text-blurple-600 hover:text-blurple-500"
  107. >
  108. <LogoWhite
  109. className="h-[1em] w-[1em]"
  110. fill="currentColor"
  111. />
  112. </a>
  113. )}
  114. </div>
  115. <div className="flex items-center">
  116. <span className="b2 block flex-grow !font-semibold text-gray-1">
  117. {member.position}
  118. </span>
  119. </div>
  120. </div>
  121. ))}
  122. </div>
  123. </div>
  124. <div className="col-span-12 md:col-span-6">
  125. <h2 className="h3 mb-6">Mastodon, Inc.</h2>
  126. <p className="b1 mb-4">
  127. Mastodon, Inc. (EIN 92-3333630) is a 501(c)(3) non-profit entity in the United States
  128. that supports the growth and operational capabilities of Mastodon, including being able
  129. to receive tax-deductible U.S. donations and in-kind support.
  130. </p>
  131. <dl className="b1">
  132. <dt className="font-bold">Address:</dt>
  133. <dd>
  134. <address className="not-italic">
  135. Mastodon Inc,
  136. <br/>
  137. 228 East 45th Street Suite 9E
  138. <br/>
  139. New York, New York 10017
  140. </address>
  141. </dd>
  142. </dl>
  143. </div>
  144. <div className="col-span-12 md:col-span-6">
  145. <a id="us-board" className="invisible block relative -top-32"/>
  146. <h2 className="h3 mb-6" id="board_of_directors">
  147. Meet the Board
  148. </h2>
  149. <div className="grid grid-cols-12 gap-gutter">
  150. {board.map((member) => (
  151. <div
  152. key={member.name}
  153. className="col-span-6 lg:col-span-4 mb-6"
  154. >
  155. <div className="flex items-center">
  156. <span className="b2 block flex-grow !font-bold">
  157. {member.slug ? (
  158. <Link
  159. key={`about/${member.slug}`}
  160. href={`/about/${member.slug}`}
  161. className="text-blurple-600 hocus:underline"
  162. >
  163. {member.name}
  164. </Link>
  165. ) : member.name}
  166. </span>
  167. {member.socials && (
  168. <a
  169. href={member.socials.mastodon}
  170. rel="me"
  171. className="b2 ml-2 block flex-shrink-0 text-blurple-600 hover:text-blurple-500"
  172. >
  173. <LogoWhite
  174. className="h-[1em] w-[1em]"
  175. fill="currentColor"
  176. />
  177. </a>
  178. )}
  179. </div>
  180. <div className="flex items-center">
  181. <span className="b2 block flex-grow !font-semibold text-gray-1">
  182. {mapBoardPositionToLabel(member.position)}
  183. </span>
  184. </div>
  185. {member.title && (
  186. <div className="flex items-center">
  187. <span className="b2 block flex-grow !font-bold">
  188. {member.title}
  189. </span>
  190. </div>
  191. )}
  192. </div>
  193. ))}
  194. </div>
  195. </div>
  196. <div className="col-span-12 md:col-span-3">
  197. <h2 className="h3 mb-4">Our metrics</h2>
  198. <Metrics />
  199. </div>
  200. <div className="col-span-12 md:col-span-3">
  201. <a id="reports" className="invisible relative -top-32" />
  202. <h2 className="h3 mb-4">Reports</h2>
  203. <ul className="list-disc pl-3">
  204. <li>
  205. <a
  206. href="/reports/Mastodon Annual Report 2022.pdf"
  207. className="b2 block hover:text-blurple-500"
  208. >
  209. <span className="h5 block">2022</span>
  210. <span className="text-gray-2">PDF, 6 MB</span>
  211. </a>
  212. </li>
  213. <li>
  214. <a
  215. href="/reports/Mastodon Annual Report 2021.pdf"
  216. className="b2 block hover:text-blurple-500"
  217. >
  218. <span className="h5 block">2021</span>
  219. <span className="text-gray-2">PDF, 316 KB</span>
  220. </a>
  221. </li>
  222. </ul>
  223. </div>
  224. <div className="col-span-12 md:col-span-6">
  225. <h2 className="h3 mb-4">Podcast interviews</h2>
  226. <div className="space-y-4">
  227. {interviews
  228. .sort((a, b) => a.date.localeCompare(b.date) * -1)
  229. .map((interview) => (
  230. <a
  231. key={interview.url}
  232. href={interview.url}
  233. rel="nofollow noopener"
  234. className="group flex max-w-full items-center hover:text-blurple-500"
  235. >
  236. <div className="relative h-20 w-20 shrink-0 overflow-hidden rounded-md ring-blurple-500 group-hover:ring-2">
  237. <Image
  238. src={interview.icon}
  239. alt=""
  240. layout="fill"
  241. objectFit="contain"
  242. />
  243. </div>
  244. <div className="truncate px-4">
  245. <span className="b1 block truncate !font-bold">
  246. {interview.title}
  247. </span>
  248. <span className="b2 text-gray-1">
  249. <FormattedDate
  250. value={interview.date}
  251. year="numeric"
  252. month="short"
  253. day="2-digit"
  254. />{" "}
  255. <strong>{interview.show}</strong>
  256. </span>
  257. </div>
  258. </a>
  259. ))}
  260. </div>
  261. </div>
  262. <div className="col-span-12">
  263. <h2 className="h3 mb-4">In the press</h2>
  264. <p className="sh1 mb-8 text-gray-2">
  265. What others write about us.
  266. </p>
  267. <div className="grid grid-cols-12 gap-gutter">
  268. {press
  269. .sort((a, b) => a.date.localeCompare(b.date) * -1)
  270. .map((story) => (
  271. <PressArticle key={story.url} story={story} />
  272. ))}
  273. </div>
  274. </div>
  275. <div className="col-span-12 md:col-span-6">
  276. <h2 className="h3 mb-4">Contact us</h2>
  277. <div className="b1 mb-4">
  278. <dt className="font-bold">Press inquiries:</dt>
  279. <dd>
  280. <a
  281. href="mailto:press@joinmastodon.org"
  282. className="text-blurple-500 hover:underline"
  283. >
  284. press@joinmastodon.org
  285. </a>
  286. </dd>
  287. </div>
  288. <div className="b1 mb-4">
  289. <dt className="font-bold">Legal inquiries:</dt>
  290. <dd>
  291. <a
  292. href="mailto:legal@joinmastodon.org"
  293. className="text-blurple-500 hover:underline"
  294. >
  295. legal@joinmastodon.org
  296. </a>
  297. </dd>
  298. </div>
  299. <div className="b1 mb-4">
  300. <dt className="font-bold">Trademark inquiries:</dt>
  301. <dd>
  302. <a
  303. href="mailto:trademark@joinmastodon.org"
  304. className="text-blurple-500 hover:underline"
  305. >
  306. trademark@joinmastodon.org
  307. </a>
  308. </dd>
  309. </div>
  310. <div className="b1 mb-4">
  311. <dt className="font-bold">Security inquiries:</dt>
  312. <dd>
  313. <a
  314. href="mailto:security@joinmastodon.org"
  315. className="text-blurple-500 hover:underline"
  316. >
  317. security@joinmastodon.org
  318. </a>
  319. </dd>
  320. </div>
  321. <div className="b1 mb-4">
  322. <dt className="font-bold">Other inquiries:</dt>
  323. <dd>
  324. <a
  325. href="mailto:hello@joinmastodon.org"
  326. className="text-blurple-500 hover:underline"
  327. >
  328. hello@joinmastodon.org
  329. </a>
  330. </dd>
  331. </div>
  332. </div>
  333. <div className="col-span-12 md:col-span-6" id="impressum">
  334. <h2 className="h3 mb-4">Impressum</h2>
  335. <dl className="b1 grid grid-cols-12 gap-gutter">
  336. <div className="col-span-6">
  337. <div className="mb-4">
  338. <dt className="font-bold">Firmenname:</dt>
  339. <dd>Mastodon gGmbH</dd>
  340. </div>
  341. <div className="mb-4">
  342. <dt className="font-bold">Anschrift:</dt>
  343. <dd>
  344. <address className="not-italic">
  345. Mühlenstraße 8a
  346. <br />
  347. 14167 Berlin
  348. <br />
  349. Germany
  350. </address>
  351. </dd>
  352. </div>
  353. <div className="mb-4">
  354. <dt className="font-bold">Kontakt:</dt>
  355. <dd>
  356. <a
  357. href="mailto:hello@joinmastodon.org"
  358. className="text-blurple-500 hover:underline"
  359. >
  360. hello@joinmastodon.org
  361. </a>
  362. </dd>
  363. </div>
  364. </div>
  365. <div className="col-span-6">
  366. <div className="mb-4">
  367. <dt className="font-bold">Handelsregister:</dt>
  368. <dd>HRB 230086 B (Amtsgericht Charlottenburg)</dd>
  369. </div>
  370. <div className="mb-4">
  371. <dt className="font-bold">USt-ID:</dt>
  372. <dd>DE344258260</dd>
  373. </div>
  374. </div>
  375. <div className="col-span-12 mb-4">
  376. <dt className="font-bold">Vertretungsberechtigt:</dt>
  377. <dd>Eugen Rochko (Geschäftsführer)</dd>
  378. </div>
  379. </dl>
  380. </div>
  381. </div>
  382. </div>
  383. </div>
  384. <Head>
  385. <title>About - Mastodon</title>
  386. <meta property="og:title" content="The company behind Mastodon" />
  387. <meta
  388. property="og:description"
  389. content="Our story, mission, annual reports, interviews, press releases and more."
  390. />
  391. <meta
  392. property="description"
  393. content="Our story, mission, annual reports, interviews, press releases and more."
  394. />
  395. </Head>
  396. </div>
  397. </Layout>
  398. )
  399. const Metrics = () => {
  400. const days = useQuery({
  401. queryKey: ["statistics"],
  402. queryFn: () =>
  403. fetch("https://api.joinmastodon.org/statistics").then((res) =>
  404. res.json()
  405. ),
  406. gcTime: 30 * 60 * 1000,
  407. })
  408. if (days.isError || days.isLoading) {
  409. return null
  410. }
  411. const currentDay = days.data[days.data.length - 2]
  412. const compareDay = days.data[0]
  413. return (
  414. <>
  415. <div className="space-y-4">
  416. <Statistic
  417. key="mau"
  418. Icon={PersonIcon}
  419. label={
  420. <FormattedMessage
  421. id="stats.monthly_active_users"
  422. defaultMessage="Monthly Active Users"
  423. />
  424. }
  425. currentValue={parseInt(currentDay.active_user_count)}
  426. prevValue={parseInt(compareDay.active_user_count)}
  427. />
  428. <Statistic
  429. key="servers"
  430. Icon={FiltersIcon}
  431. label={
  432. <FormattedMessage id="stats.servers" defaultMessage="Servers Up" />
  433. }
  434. currentValue={parseInt(currentDay.server_count)}
  435. prevValue={parseInt(compareDay.server_count)}
  436. />
  437. </div>
  438. <p className="b3 mt-4 text-gray-2">
  439. <FormattedMessage
  440. id="stats.disclaimer"
  441. defaultMessage="Data collected by crawling all accessible Mastodon servers on {date}."
  442. values={{
  443. date: (
  444. <FormattedDate
  445. value={currentDay.period}
  446. year="numeric"
  447. month="short"
  448. day="2-digit"
  449. />
  450. ),
  451. }}
  452. />
  453. </p>
  454. </>
  455. )
  456. }
  457. export const getStaticProps = withDefaultStaticProps()
  458. export default About