aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/About.svelte
blob: 46b823b2b4f32f894f96c282a149f82672b1aa7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<script>
	import { Image, Icon, LocationsMap } from '$comp';
	import { t } from '$lib/translations';

	let team = [
		{
			name: 'adam',
			socials: [
				{ type: 'twitter', url: 'https://twitter.com/adamsoltys', color: 'bg-[#1D9BF0]' },
				{ type: 'github', url: 'https://github.com/asoltys', color: 'bg-gray-800' }
			]
		},
		{ name: 'cole', socials: [] },
		{
			name: 'gene',
			socials: [{ type: 'twitter', url: 'https://twitter.com/cogentgene', color: 'bg-[#1D9BF0]' }]
		},
		{
			name: 'john',
			socials: []
		},
		{
			name: 'secondl1ght',
			socials: [
				{ type: 'twitter', url: 'https://www.twitter.com/secondl1ght', color: 'bg-[#1D9BF0]' },
				{ type: 'github', url: 'https://github.com/secondl1ght', color: 'bg-gray-800' }
			]
		},
		{
			name: 'shauna',
			socials: [
				{ type: 'twitter', url: 'https://twitter.com/ShaunaCollister', color: 'bg-[#1D9BF0]' },
				{
					type: 'linkedin',
					url: 'https://www.linkedin.com/in/shauna-collister-32905214',
					color: 'bg-[#0a66c2]'
				}
			]
		}
	];
</script>

<h3 class="text-5xl font-medium mb-10 text-center">{$t('about.header')}</h3>
<div
	class="md:px-10 lg:px-0 block lg:flex justify-center text-secondary text-xl lg:space-x-20 mx-auto max-w-7xl relative"
>
	<p class="w-full lg:w-5/12">
		{@html $t('about.p1')}
		<br /><br />
		{@html $t('about.p2')}
		<br /><br />
	</p>
	<p class="w-full lg:w-5/12">
		{@html $t('about.p3')}
		<br /><br />
		{@html $t('about.p4')}
	</p>
	<Image image="swoosh" style="w-32 absolute -bottom-20 lg:bottom-0 right-0 md:right-10" />
</div>

<div class="flex justify-center">
	<div class="container mt-40 lg:mt-20">
		<h3 class="text-5xl font-medium mb-10 text-center">
			{$t('about.team.header')}
		</h3>
		<div class="space-y-10 2xl:space-y-0 2xl:grid gap-y-10 grid-cols-2">
			{#each team as member}
				<div class="md:flex justify-center items-center 2xl:items-start md:space-x-10">
					<div>
						<Image image={member.name} style="rounded-full mx-auto w-40 h-40 mb-5 object-cover" />

						<div class="space-y-2">
							<span class="text-2xl text-center font-semibold block"
								>{$t(`about.team.${member.name}.name`)}</span
							>
							<span class="text-xl text-center text-secondary block"
								>{$t(`about.team.${member.name}.position`)}</span
							>
						</div>

						<div class="mt-2 flex justify-center items-center space-x-5">
							{#each member.socials as social}
								<a
									href={social.url}
									target="_blank"
									rel="noreferrer"
									class={`rounded-full p-2 ${social.color}`}
									><Icon icon={social.type} style="w-6" /></a
								>
							{/each}
						</div>
					</div>
					<div class="mt-5 md:mt-0 text-secondary text-xl w-full md:w-[450px]">
						{$t(`about.team.${member.name}.bio`)}
					</div>
				</div>
			{/each}
		</div>
	</div>
</div>

<div class="mt-20">
	<h3 class="text-5xl font-medium mb-5 text-center">{$t('about.locations.header')}</h3>
	<p class="text-secondary text-xl w-full md:w-10/12 lg:w-2/3 2xl:w-[800px] mx-auto mb-10">
		{@html $t('about.locations.description')}
	</p>
	<LocationsMap />
</div>