-
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.
- Loading branch information
West
authored and
West
committed
Jan 1, 2022
1 parent
5cf8227
commit 61fc70f
Showing
37 changed files
with
178 additions
and
2,947 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import React from 'react'; | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
|
||
interface CodePortfolioCardProps { | ||
title: string, | ||
desc: string, | ||
imgURI: string | ||
uri: string, | ||
}; | ||
|
||
const CodePortfolioCard: React.FC<CodePortfolioCardProps> = ({ title, desc, imgURI, uri }) => { | ||
return ( | ||
<Link href={uri}> | ||
<div className="cursor-pointer border-2 border-gray-900 rounded-md my-2" style={{width: 450}}> | ||
<Image src={imgURI} width={450} height={250} className="rounded-t-sm"/> | ||
<div className="p-2"> | ||
<p className="text-2xl text-white">{ title }</p> | ||
<p className="text-lg text-white">{ desc }</p> | ||
</div> | ||
</div> | ||
</Link> | ||
); | ||
} | ||
|
||
export default CodePortfolioCard; |
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,25 @@ | ||
import React from 'react'; | ||
import styles from '../styles/Home.module.css'; | ||
|
||
interface ContentAreaProps { | ||
title: string, | ||
backgroundColor: string, | ||
transitionID?: string, | ||
id?: string, | ||
}; | ||
|
||
const ContentArea: React.FC<ContentAreaProps> = (props) => { | ||
return ( | ||
<section id={props.id ?? ''}className={`${props.backgroundColor} pt-8`}> | ||
<h2 className="text-5xl text-white mx-8 underline">{props.title}</h2> | ||
{props.children} | ||
|
||
{ | ||
props.transitionID ? <div className={styles['small-spacer']} id={styles[props.transitionID]} /> : null | ||
} | ||
|
||
</section> | ||
); | ||
} | ||
|
||
export default ContentArea; |
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,9 @@ | ||
import CodePortfolioCard from './code_portfolio_card'; | ||
import ContentArea from './content_area'; | ||
import SVGIcon from './svg_icon'; | ||
|
||
export { | ||
CodePortfolioCard, | ||
ContentArea, | ||
SVGIcon, | ||
}; |
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,17 @@ | ||
import React from 'react'; | ||
|
||
interface SVGIconProps { | ||
uri: string, | ||
label: string, | ||
height: number, | ||
}; | ||
|
||
const SVGIcon: React.FC<SVGIconProps> = ({ uri }) => { | ||
return ( | ||
<> | ||
<img className="bg-pink-300 rounded-lg p-2 my-4 max-h-16 w-auto" src={uri} /> | ||
</> | ||
); | ||
} | ||
|
||
export default SVGIcon; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.