Skip to content

Commit

Permalink
fix(#footer): fix footer for safeareaview & projects template alignments
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardRNStudio committed Aug 19, 2024
1 parent 95829b6 commit 58040d8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/_components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import SocialLinks from '../SocialLinks/SocialLinks';

const Footer = () => (
<footer className="border-neutral-500 border-t border-opacity-30 text-black dark:text-white">
<Container className="min-h-16 flex items-center justify-between gap-2">
<Container className="min-h-18 sm:min-h-16 flex items-start sm:items-center justify-between gap-2 pt-4 sm:pt-0">
<div>Richárd Nagy © {new Date().getFullYear()}</div>
<div className="flex flex-row gap-5">
<SocialLinks
Expand Down
4 changes: 3 additions & 1 deletion src/app/_components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const Header = () => (
<Container className="w-full">
<nav className="flex justify-between text-black dark:text-white">
<div className="flex items-center">
<Link href="/">RNStudio</Link>
<Link href="/" className="hover:text-gray-300">
RNStudio
</Link>
</div>
<div className="flex flex-row items-center gap-4">
<DesktopNavigation />
Expand Down
8 changes: 7 additions & 1 deletion src/app/projects/_components/Template/Template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ const Template = ({
<div className="flex flex-col mx-2 sm:mx-6 text-black dark:text-white">
{image && (
<div className="flex flex-col justify-center items-center">
<Image src={image} alt={title} width={1200} height={500} />
<Image
src={image}
alt={title}
width={1200}
height={500}
loading="eager"
/>
</div>
)}
<div className="flex flex-col mt-6">
Expand Down
3 changes: 3 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const config: Config = {
36.5: '9.125rem',
70: '17.5rem',
},
minHeight: {
18: '4.5rem',
},
keyframes: {
'switch-dark-move': {
'0%': { transform: 'translateX(0)' },
Expand Down

0 comments on commit 58040d8

Please sign in to comment.