-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from La-404-Devinci/mobile-responsive
Mobile responsive
- Loading branch information
Showing
13 changed files
with
203 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,5 @@ | |
|
||
html, body { | ||
background-color: #070707; | ||
overflow-x: hidden; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ const BottomFooter = () => { | |
<div className="flex flex-col gap-8"> | ||
<h2 className={cn( | ||
gasoekOne.className, | ||
'uppercase text-8xl text-gray-900' | ||
'uppercase text-6xl sm:text-8xl text-gray-900' | ||
)}> | ||
404 Devinci | ||
</h2> | ||
|
@@ -34,7 +34,7 @@ const Nav = () => { | |
return ( | ||
<div className="w-full flex justify-between"> | ||
<div className="flex flex-col gap-3 text-gray-900"> | ||
<h3 className="uppercase text-xl font-semibold">Social media</h3> | ||
<h3 className="uppercase text-lg sm:text-xl font-semibold">Social media</h3> | ||
<div className="flex flex-col"> | ||
<div> | ||
<a | ||
|
@@ -63,8 +63,8 @@ const Nav = () => { | |
</div> | ||
</div> | ||
|
||
<div className="w-56 h-16 rounded-full border border-black flex items-center | ||
justify-center text-gray-900 text-xl relative group overflow-hidden" | ||
<div className="w-40 h-14 sm:w-56 sm:h-16 rounded-full border border-black flex items-center | ||
justify-center text-gray-900 text-lg sm:text-xl relative group overflow-hidden" | ||
> | ||
<a href="mailto:[email protected]" className="z-10"> | ||
[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { gasoekOne } from "@/app/font"; | ||
import cn from "@/utils/function"; | ||
import React from "react"; | ||
|
||
interface H2Props { | ||
children: React.ReactNode; | ||
className?: string; | ||
} | ||
|
||
const H2 = ({ children, className }: H2Props) => { | ||
return ( | ||
<h2 className={cn( | ||
gasoekOne.className, | ||
"uppercase text-5xl xl:text-7xl text-gray-50 text-balance", | ||
className | ||
)}> | ||
{children} | ||
</h2> | ||
); | ||
} | ||
|
||
export default H2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { MemberType } from "@/utils/types"; | ||
import Image from "next/image"; | ||
|
||
interface MemberCardProps { | ||
member: MemberType; | ||
} | ||
|
||
const MemberCard = ({ member }: MemberCardProps) => { | ||
return ( | ||
<div | ||
className="flex flex-1 flex-col gap-2 min-w-40" | ||
> | ||
<div className="relative w-full overflow-hidden aspect-square bg-black"> | ||
{member.image ? ( | ||
<Image | ||
src={`/img/${member.image}`} | ||
width={0} | ||
height={0} | ||
sizes="100%" | ||
alt={member.name} | ||
className="object-cover w-full h-full" | ||
/> | ||
) : ( | ||
<Image | ||
src="/img/dino-gray.svg" | ||
width={200} | ||
height={200} | ||
alt={member.name} | ||
className="absolute bottom-0 left-1/2 -translate-x-1/2" | ||
/> | ||
)} | ||
</div> | ||
<div className="flex flex-col"> | ||
<span className="text-2xl uppercase text-gray-50">{member.name}</span> | ||
<span className="text-gray-400">{member.position}</span> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default MemberCard; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.