-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
161 additions
and
96 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
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,11 @@ | ||
import React from 'react' | ||
|
||
const Contact = () => { | ||
return ( | ||
<div> | ||
Contact | ||
</div> | ||
) | ||
} | ||
|
||
export default Contact |
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,11 @@ | ||
import React from 'react' | ||
|
||
const Education = () => { | ||
return ( | ||
<div> | ||
Education | ||
</div> | ||
) | ||
} | ||
|
||
export default Education |
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,11 @@ | ||
import React from 'react' | ||
|
||
const Experience = () => { | ||
return ( | ||
<div> | ||
Experience | ||
</div> | ||
) | ||
} | ||
|
||
export default Experience |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,11 @@ | ||
"use client"; | ||
import * as React from "react"; | ||
import { ProfileLeft } from "@/components/left-profile-component"; | ||
import { MenubarComponent } from "@/components/navigation"; | ||
import { useMediaQuery } from "@/hooks/use-media-query"; | ||
import { About } from "@/components/about"; | ||
|
||
export default function Home() { | ||
const isDesktop = useMediaQuery("(min-width: 1208px)"); | ||
return ( | ||
<> | ||
<main className={isDesktop ? "flex justify-center p-8 h-fit" : "flex flex-col justify-center p-8 h-fit"}> | ||
{isDesktop ? ( | ||
<> | ||
<ProfileLeft /> | ||
<div className="flex flex-col w-full"> | ||
<div className="flex-grow"> | ||
<About /> | ||
</div> | ||
</div> | ||
</> | ||
) : ( | ||
<> | ||
<ProfileLeft /> | ||
</> | ||
)} | ||
</main> | ||
</> | ||
<div className="flex flex-col md:flex-row"> | ||
<About /> | ||
</div> | ||
); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from 'react' | ||
|
||
import { Button } from '@/components/ui/button' | ||
import { DownloadIcon } from '@radix-ui/react-icons' | ||
import { cn } from '@/lib/utils' | ||
|
||
type DownloadCvProps = { | ||
className?: string; | ||
} | ||
|
||
const DownloadCv = (props: DownloadCvProps) => { | ||
return ( | ||
<Button variant='secondary' className={cn('flex w-fit h-fit px-5 py-3 gap-4 items-center justify-center', props.className)}> | ||
<DownloadIcon className='w-6 h-6' /> | ||
<a href='/Akibur_Rahman_Resume.pdf' download> | ||
Download CV | ||
</a> | ||
</Button> | ||
) | ||
} | ||
|
||
export default DownloadCv |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import React from 'react' | ||
|
||
|
||
// env variables | ||
const { | ||
NEXT_PUBLIC_FACEBOOK, | ||
NEXT_PUBLIC_LINKEDIN, | ||
NEXT_PUBLIC_GITHUB, | ||
NEXT_PUBLIC_YOUTUBE, | ||
NEXT_PUBLIC_TWITTER, | ||
} = process.env; | ||
|
||
import { | ||
Avatar, | ||
AvatarFallback, | ||
AvatarImage | ||
} from "@/components/ui/avatar" | ||
|
||
|
||
import { useTheme } from 'next-themes'; | ||
|
||
const Socials = () => { | ||
const { theme } = useTheme(); | ||
return ( | ||
<div className='flex flex-row space-x-3 w-fill'> | ||
<a href={NEXT_PUBLIC_GITHUB}> | ||
<Avatar className='w-6 h-6'> | ||
<AvatarImage src={theme != 'light' ? '/images/github-light.png' : '/images/github.png'} /> | ||
<AvatarFallback>.git</AvatarFallback> | ||
</Avatar> | ||
</a> | ||
<a href={NEXT_PUBLIC_LINKEDIN}> | ||
<Avatar className='w-6 h-6'> | ||
<AvatarImage src='/images/linkedin.png' /> | ||
<AvatarFallback>ln</AvatarFallback> | ||
</Avatar> | ||
</a> | ||
<a href={NEXT_PUBLIC_YOUTUBE}> | ||
<Avatar className='w-9 h-6 rounded-none'> | ||
<AvatarImage src='/images/youtube.png' /> | ||
<AvatarFallback>yt</AvatarFallback> | ||
</Avatar> | ||
</a> | ||
<a href={NEXT_PUBLIC_TWITTER}> | ||
<Avatar className='w-6 h-6 rounded-none'> | ||
<AvatarImage src='/images/twitter.png' /> | ||
<AvatarFallback>tw</AvatarFallback> | ||
</Avatar> | ||
</a> | ||
<a type='_blank' href={NEXT_PUBLIC_FACEBOOK}> | ||
<Avatar className='w-6 h-6'> | ||
<AvatarImage src="/images/facebook.png" /> | ||
<AvatarFallback>FB</AvatarFallback> | ||
</Avatar> | ||
</a> | ||
</div> | ||
) | ||
} | ||
|
||
export default Socials |