portfolio/app/services/page.tsx

124 lines
4.8 KiB
TypeScript
Raw Permalink Normal View History

2024-10-09 20:37:00 +00:00
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
import {Card} from '@/components/ui/Card'
import React, {ElementType} from 'react'
import {CloudIcon} from '@/components/icons/CloudIcon'
import {DatabaseIcon} from '@/components/icons/DatabaseIcon'
import {AppIcon} from '@/components/icons/AppIcon'
import {CodeIcon} from '@/components/icons/CodeIcon'
import {ShieldIcon} from '@/components/icons/ShieldIcon'
import {EmailIcon} from '@/components/icons/EmailIcon'
import {RocketIcon} from '@/components/icons/RocketIcon'
2024-10-10 11:52:27 +00:00
import {ShoppingBagIcon} from '@/components/icons/ShoppingBagIcon'
2024-10-11 21:01:19 +00:00
import {metadata as _metadata} from '@/lib/generateMetadata'
2024-10-09 20:37:00 +00:00
2024-10-10 15:09:12 +00:00
const meta = {
2024-10-11 21:01:19 +00:00
title: 'Services',
2024-10-10 15:09:12 +00:00
heading: 'I offer a wide range of digital services to elevate and transform your business',
2024-10-10 11:52:27 +00:00
description: 'Whether you need a WordPress website, React app, AWS support or odd coding jobs, I\'m here to help. ' +
2024-10-10 15:09:12 +00:00
'As an experienced software engineer, I produce high-quality software that will deliver immediate value for you and your customers.',
2024-10-17 19:58:15 +00:00
type: 'website',
alternates: {
canonical: '/services'
}
2024-10-10 15:09:12 +00:00
}
2024-10-21 21:16:43 +00:00
export let metadata: {
[p: string]: string | Object
heading: string
description: string
title: string
type: string
openGraph: {
images: string | Object
description: string
title: string
type: string
}
}
metadata = _metadata({...meta, heading: meta.heading})
2024-10-09 20:37:00 +00:00
type Services = {
title: string
description: string
icon: ElementType
}
const iconStyles = `
w-6
h-6
mr-2
z-10
transition
stroke-zinc-500
dark:stroke-zinc-400
group-hover:dark:stroke-indigo-500
group-hover:stroke-indigo-500
`
2024-10-10 11:52:27 +00:00
export default function Services() {
2024-10-09 20:37:00 +00:00
const services: Services[] = [
{
title: 'AWS',
description: 'As an AWS Certified Cloud Practitioner I can advise on and implement reliable, cost-effective cloud solutions for your business.',
2024-11-03 15:18:04 +00:00
icon: (props) => <CloudIcon {...props}/>
2024-10-09 20:37:00 +00:00
},
{
title: 'Databases',
description: 'Not all database technologies are the same, I\'ll help you choose the right database for your use case.',
2024-11-03 15:18:04 +00:00
icon: (props) => <DatabaseIcon {...props}/>
2024-10-09 20:37:00 +00:00
},
2024-10-10 11:52:27 +00:00
{
title: 'Ecommerce',
description: 'From WooCommerce to Shopify, I can assist with setting up and managing your online store, allowing you to focus on growing your sales.',
2024-11-03 15:18:04 +00:00
icon: (props) => <ShoppingBagIcon {...props}/>
2024-10-10 11:52:27 +00:00
},
2024-10-09 20:37:00 +00:00
{
title: 'WordPress',
description: 'WordPress is the de-facto software for building SEO-friendly websites, together we can achieve top rankings in Google search results.',
2024-11-03 15:18:04 +00:00
icon: (props) => <AppIcon {...props}/>
2024-10-09 20:37:00 +00:00
},
{
title: 'Frontend',
description: 'Using React, I can deliver modern, responsive websites and applications that seamlessly adapt to any screen size.',
2024-11-03 15:18:04 +00:00
icon: (props) => <CodeIcon {...props}/>
2024-10-09 20:37:00 +00:00
},
{
title: 'Backend',
description: 'From building APIs to authentication and integrating third-party services, I develop robust backend systems for your business needs.',
2024-11-03 15:18:04 +00:00
icon: (props) => <RocketIcon {...props}/>
2024-10-09 20:37:00 +00:00
},
{
title: 'Domain and hosting',
description: 'Whether youre launching a new website or migrating an existing one, I\'ll ensure your website is fast, secure and always online.',
2024-11-03 15:18:04 +00:00
icon: (props) => <ShieldIcon {...props}/>
2024-10-09 20:37:00 +00:00
},
{
title: 'Email',
description: 'I\'ll help you establish trust with your clients by using a custom domain for your email that reflects your brand.',
2024-11-03 15:18:04 +00:00
icon: (props) => <EmailIcon {...props}/>
2024-10-09 20:37:00 +00:00
}
]
return (
<SimpleLayout
2024-10-11 21:01:19 +00:00
heading={meta.heading}
description={meta.description}
2024-10-09 20:37:00 +00:00
gradient="bg-gradient-to-r from-pink-300 via-purple-300 to-indigo-400">
<ul
role="list"
className="grid grid-cols-1 gap-x-12 gap-y-16 sm:grid-cols-2 lg:grid-cols-3"
>
{services.map(({title, description, icon: Icon}) => (
<Card as="li" key={title}>
<h2 className="flex items-center text-base font-semibold group-hover:text-indigo-500 text-zinc-800 dark:text-zinc-100">
2024-11-03 15:18:04 +00:00
<Icon className={iconStyles}/>
2024-10-09 20:37:00 +00:00
<Card.Link href="mailto:hello@ryanfreeman.dev" ariaLabel={title}>{title}</Card.Link>
</h2>
<Card.Description>{description}</Card.Description>
</Card>
))}
</ul>
</SimpleLayout>
)
2024-10-10 21:32:49 +00:00
}