Skip to content

πŸ“ˆ Open source, privacy-first web analytics β€” a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

pages/About to ts

kruzhambus4e434ad371d2
diff --git a/src/pages/About/index.jsx b/src/pages/About/index.tsx
similarity index 93%
rename from src/pages/About/index.jsx
rename to src/pages/About/index.tsx
index 9ab7fabeb..eaacd088d 100644
--- a/src/pages/About/index.jsx
+++ b/src/pages/About/index.tsx
@@ -5,7 +5,9 @@ import _map from 'lodash/map'
import { CONTACT_EMAIL, GITHUB_URL } from 'redux/constants'
import Title from 'components/Title'
-const socialIcons = {
+const socialIcons: {
+ [key: string]: JSX.Element
+} = {
LinkedIn: (
<img className='h-6 w-6 opacity-75 hover:opacity-90 bg-white rounded' aria-hidden='true' src='/assets/linkedin.svg' alt='LinkedIn' />
),
@@ -31,7 +33,15 @@ const socialIcons = {
const Teammate = ({
photo, name, role, socials, desc,
-}) => (
+}: {
+ photo: string
+ name: string
+ role: string
+ socials: {
+ [key: string]: string
+ }
+ desc: string
+}): JSX.Element => (
<div className='flex flex-col lg:flex-row mt-6'>
<img alt={name} src={photo} className='rounded-xl shadow-lg w-80' />
<div className='ml-0 lg:ml-2'>
@@ -56,7 +66,15 @@ const Teammate = ({
</div>
)
-const team = [
+const team: {
+ name: string
+ role: string
+ photo: string
+ desc: string
+ socials: {
+ [key: string]: string
+ }
+}[] = [
{
name: 'πŸ‡ΊπŸ‡¦ Andrii Romasiun',
role: 'Founder; Product Developer.',
@@ -82,7 +100,7 @@ const team = [
name: 'πŸ‡ΊπŸ‡¦ Maxim Mrug',
role: 'Co-Founder; Frontend Engineer.',
photo: '/assets/maxim.jpg',
- desc: 'A great frontend developer.\nKnows JavaScript like his native language.',
+ desc: 'A great frontend developer.\nKnows JavaScript and TypeScript like his native language.',
socials: {
LinkedIn: 'https://www.linkedin.com/in/maksim-mrug-047b52235/',
Github: 'https://github.com/kruzhambus',
@@ -108,7 +126,7 @@ const team = [
},
]
-const About = () => (
+const About = (): JSX.Element => (
<Title title='About us'>
<div className='bg-gray-50 dark:bg-gray-800 min-h-min-footer'>
<div className='max-w-prose md:max-w-none md:w-8/12 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8 whitespace-pre-line'>