Skip to content

Commit

Permalink
fix(#projects): fix PC Controller Google PLay link
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardRNStudio committed Aug 11, 2024
1 parent 2c92ac7 commit d476d8d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
4 changes: 3 additions & 1 deletion src/app/(home)/_components/Profile/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ const Profile = () => (
<div className="text-sm text-stone-600 dark:text-stone-200 text-opacity-70 md:text-md">
Szeged, Hungary
</div>
<Emoji label="hungarian-flag" className='ml-1'>🇭🇺</Emoji>
<Emoji label="hungarian-flag" className="ml-1">
🇭🇺
</Emoji>
</div>
<h1 className="text-2xl font-black mt-2 md:text-3xl">
{`Hi, I'm Richárd Nagy`}
Expand Down
26 changes: 13 additions & 13 deletions src/app/projects/pccontroller/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
import { Metadata } from 'next';
import Image from 'next/image';
import Template from '../_components/Template/Template';
import GooglePlayIcon from '@/app/_components/Icons/GooglePlayIcon';

export const metadata: Metadata = {
title: PC_CONTROLLER_PROJECT.name,
Expand Down Expand Up @@ -72,19 +73,18 @@ const PCControllerPage = () => (
control media playback, or change light settings, this app has you
covered.
</p>
<a
href={PC_CONTROLLER_PROJECT.link ?? '#'}
rel="noopener noreferrer"
target="_blank"
title={PC_CONTROLLER_PROJECT.name}
>
<Image
src="https://img.shields.io/badge/-Available_on_Google_Play-414141?style=flat&logo=google-play&logoColor=FFF"
width={250}
height={75}
alt="Available on Google Play"
/>
</a>
<div className="flex justify-start">
<a
href={PC_CONTROLLER_PROJECT.googlePlayLink ?? '#'}
title={PC_CONTROLLER_PROJECT.name}
className="flex flex-row items-center rounded-lg bg-green-700 hover:bg-green-600 gap-2 p-3"
rel="noopener noreferrer"
target="_blank"
>
<GooglePlayIcon width={20} height={20} />
<span>Available on Google Play</span>
</a>
</div>
</Template>
);

Expand Down

0 comments on commit d476d8d

Please sign in to comment.