diff --git a/docs/.vuepress/components/TestimonyRiver.vue b/docs/.vuepress/components/TestimonyRiver.vue index d8b35ee..aea73a0 100644 --- a/docs/.vuepress/components/TestimonyRiver.vue +++ b/docs/.vuepress/components/TestimonyRiver.vue @@ -90,6 +90,18 @@ const initials = (n: string) => .join('') .toUpperCase(); +/* The role, split so the linked organization becomes a link. */ +function roleParts(t: Testimony): { text: string; url?: string }[] { + const role = t.role ?? ''; + const i = t.link ? role.indexOf(t.link.text) : -1; + if (!t.link || i < 0) return [{ text: role }]; + return [ + { text: role.slice(0, i) }, + { text: t.link.text, url: t.link.url }, + { text: role.slice(i + t.link.text.length) }, + ].filter((p) => p.text); +} + const moreLabel = computed(() => open.value ? r.value.showLess @@ -178,7 +190,24 @@ function openFromRiver(e: MouseEvent) {

“{{ e.t.quote }}”

{{ e.t.name }} - {{ e.t.role }} + + {{ r.supporter }} @@ -303,8 +332,20 @@ function openFromRiver(e: MouseEvent) { .rv-who small { font-size: inherit; } +.rv-who small a { + color: inherit; + text-decoration: underline; + text-decoration-color: var(--line-strong); + text-underline-offset: 3px; +} +@media (hover: hover) { + .rv-who small a:hover { + color: var(--text); + text-decoration-color: currentColor; + } +} .rv-who small::before { - content: '\00b7\00a0'; + content: '\00a0\00b7\00a0'; } .rv-face { flex: none; diff --git a/docs/.vuepress/public/people/samson-usmael.jpg b/docs/.vuepress/public/people/samson-usmael.jpg new file mode 100644 index 0000000..a8f98f6 Binary files /dev/null and b/docs/.vuepress/public/people/samson-usmael.jpg differ diff --git a/docs/.vuepress/testimonies.ts b/docs/.vuepress/testimonies.ts index 8755c0b..98b345c 100644 --- a/docs/.vuepress/testimonies.ts +++ b/docs/.vuepress/testimonies.ts @@ -29,6 +29,11 @@ export interface Testimony { quote: string; /** True if they also support AO Lab. */ gave?: boolean; + /** + * Optional link to their organization or project, as thanks for the + * testimony. `text` is the part of `role` that becomes the link. + */ + link?: { text: string; url: string }; } /* From the case for support. */ @@ -43,8 +48,16 @@ export const TESTIMONIES: Testimony[] = [ name: 'Ryder Wishart, PhD', role: 'CEO, Frontier R&D, makers of Aquilla', photo: '/people/ryder-wishart.jpg', + link: { text: 'Aquilla', url: 'https://aquilla.app/' }, quote: 'It’s the best Bible API ever. It’s on seedbible.org (the best Bible reading environment) and we use it in aquilla.app.', }, + { + name: 'Samson Usmael', + role: 'Agelgel, makers of Turumba', + photo: '/people/samson-usmael.jpg', + link: { text: 'Turumba', url: 'https://turumba.net/' }, + quote: 'As someone in Ethiopia, I can tell you access to the Bible has been difficult. This opens a new door for creators to create, for innovators to innovate, and to take the word of God to where people are.', + }, { name: 'Maxwell Warren', role: 'Building an open source Bible app',