-
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
1 parent
e6d1b30
commit babfdc3
Showing
9 changed files
with
936 additions
and
59 deletions.
There are no files selected for viewing
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
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,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
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 |
---|---|---|
|
@@ -62,4 +62,5 @@ | |
|
||
.img-thumbnail:hover { | ||
transform: scale(1.5); | ||
} | ||
} | ||
|
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,35 @@ | ||
import React from 'react'; | ||
const Project = ({name, description, demo, code, image, tags}) => { | ||
return ( | ||
<div className="sm:w-3/6 rounded lg:w-96 p-4 max-w-sm"> | ||
<div className="h-full overflow-hidden shadow-lg "> | ||
<img className="w-full h-2/6 hover:scale-125 hover:translate-x-4 hover:skew-y-3 transition-all" src={image} alt={name} /> | ||
<div className="px-6 h-2/6"> | ||
<div className="font-bold text-xl mb-1"> {name} </div> | ||
<p className="text-gray-700 text-base"> | ||
{description} | ||
</p> | ||
</div> | ||
<div className="px-1 mt-2 h-1/6"> | ||
{ | ||
tags.map((tag, id)=> (<span key={id} className="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-1 mb-1"> {tag.tagName} </span>)) | ||
} | ||
</div> | ||
<div className='pt-auto px-3 h-1/6'> | ||
<a href={demo} target="_blank" rel="noopener noreferrer"> | ||
<button className='bg-blue-100 hover: w-1/2 py-1 mb-2 rounded-l-lg hover:scale-110 hover:bg-blue-200 text-black transition-all'> | ||
Demo | ||
</button> | ||
</a> | ||
<a href={code}> | ||
<button className='bg-orange-100 w-1/2 py-1 mb-2 rounded-r-lg hover:scale-110 hover:bg-orange-200 text-black transition-all'> | ||
Code | ||
</button> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Project |
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,9 +1,68 @@ | ||
import React from 'react' | ||
import Project from './Project' | ||
|
||
function Projects() { | ||
return ( | ||
<div>Projects</div> | ||
) | ||
const projectsData = [ | ||
{ | ||
name: "Nöbetçi Eczane", | ||
description: "Türkiyedeki Nöbetçi Eczaneleri İl ve İlçe bazlı bulabilceğiniz Uygulama.", | ||
demo: "https://nobetci-eczaneniz.netlify.app", | ||
code: "https://github.com/mucahitkok/nobetci-eczane", | ||
image: "https://serving.photos.photobox.com/10561426f7732549d3d1a2fb67c4e2ed564eb01ac71800fea91f20bbaedcc0002a51da91.jpg", | ||
tags: [ | ||
{ | ||
tagName: '#react' | ||
}, | ||
{ | ||
tagName: '#bootstrap' | ||
}, | ||
{ | ||
tagName: '#api' | ||
} | ||
] | ||
}, | ||
{ | ||
name: "Blog", | ||
description: "Kişisel blog sayfam.", | ||
demo: "https://mucahitkok.netlify.app", | ||
code: "https://github.com/mucahitkok/my-blog", | ||
image: "https://serving.photos.photobox.com/026185021cf06a0725c119ae2b3cf6348d528fc149fad009bb2d7936c3818e14f010389e.jpg", | ||
tags: [ | ||
{ | ||
tagName: '#react' | ||
}, | ||
{ | ||
tagName: '#bootstrap' | ||
}, | ||
] | ||
}, | ||
{ | ||
name: "Colour palette", | ||
description: "Renk paletleri üretip yayınlayabilir,Başkalarının paletlerinide görebilirsiniz.", | ||
demo: "https://color-palet.vercel.app", | ||
code: "https://github.com/mucahitkok/color-flipper-react", | ||
image: "https://serving.photos.photobox.com/587576862d1e852132899a7e65b7feb3f40a0a4c73177d8b98841fae62e8b602d1f47ccc.jpg", | ||
tags: [ | ||
{ | ||
tagName: '#react' | ||
}, | ||
{ | ||
tagName: '#tailwind' | ||
}, | ||
{ | ||
tagName: '#firebase' | ||
} | ||
] | ||
} | ||
] | ||
return ( | ||
<div className='flex flex-wrap justify-around mt-28' > | ||
{ | ||
projectsData.map((item, id) => (<Project key={id} {...item} />)) | ||
} | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default Projects |
Empty file.
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,9 @@ | ||
module.exports = { | ||
content: [ | ||
"./src/**/*.{js,jsx,ts,tsx}", | ||
], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
} |