-
-
Notifications
You must be signed in to change notification settings - Fork 482
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 #61 from shobhitexe/main
issue#57 Buttons Fixed && issue#58 Routing done
- Loading branch information
Showing
12 changed files
with
3,486 additions
and
797 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
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,3 +1,28 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@tailwind utilities; | ||
|
||
/* root */ | ||
|
||
html { | ||
@apply bg-secondary; | ||
} | ||
|
||
/* Scrollbar design */ | ||
|
||
.scrollbar::-webkit-scrollbar { | ||
@apply h-[5px]; | ||
} | ||
|
||
.scrollbar::-webkit-scrollbar-track { | ||
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
.scrollbar::-webkit-scrollbar-thumb { | ||
background-color: rgb(166 110 252 / var(--tw-bg-opacity)); | ||
outline: 1px solid slategrey; | ||
} | ||
|
||
.scrollbar::-webkit-scrollbar-thumb:hover { | ||
background: #555; | ||
} |
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,24 +1,32 @@ | ||
const Footer = () => { | ||
return ( | ||
<footer aria-label="Site Footer"> | ||
<div className="max-w-screen-xl pb-8 mx-auto sm:px-6"> | ||
<div className="pt-8 mt-16 border-t flex justify-center items-center border-gray-100 dark:border-gray-800"> | ||
<div className="flex items-center justify-start ml-4 space-x-4"> | ||
<a href="https://github.com/priyankarpal/ProjectsHut" title="Github" target="_blank"> | ||
<i className="fa-brands fa-github fa-xl" /> | ||
</a> | ||
<a href="https://twitter.com/Priyankarpal" title="Twitter" target="_blank"> | ||
<i className="fa-brands fa-twitter fa-xl" /> | ||
</a> | ||
</div> | ||
|
||
<div className="flex items-center justify-center flex-1"> | ||
Handcrafted By Students ❤️🚀 | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
); | ||
} | ||
return ( | ||
<footer aria-label="Site Footer"> | ||
<div className=" pb-8 mx-auto sm:px-6 w-full bg-secondary"> | ||
<div className="pt-8 mt-5 border-t flex justify-center items-center border-gray-100 dark:border-gray-800"> | ||
<div className="flex items-center justify-start ml-4 space-x-4"> | ||
<a | ||
href="https://github.com/priyankarpal/ProjectsHut" | ||
title="Github" | ||
target="_blank" | ||
> | ||
<i className="fa-brands fa-github fa-xl" /> | ||
</a> | ||
<a | ||
href="https://twitter.com/Priyankarpal" | ||
title="Twitter" | ||
target="_blank" | ||
> | ||
<i className="fa-brands fa-twitter fa-xl" /> | ||
</a> | ||
</div> | ||
|
||
export default Footer; | ||
<div className="flex items-center justify-center flex-1"> | ||
Handcrafted By Students ❤️🚀 | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
); | ||
}; | ||
|
||
export default Footer; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import React from "react"; | ||
import { Link } from "react-router-dom"; | ||
|
||
const Home = () => { | ||
return ( | ||
<section> | ||
<div className="mx-auto max-w-screen-xl px-4 py-20 lg:flex my-28 lg:items-center"> | ||
<div className="mx-auto max-w-xl flex flex-col items-center text-center"> | ||
<h1 className="font-mono text-[50px] sm:text-[60px] text-white font-light -mt-16"> | ||
ProjectsHut | ||
</h1> | ||
<h1 className="leading-3 text-[11px] sm:text-[14px] tracking-widest text-primary"> | ||
Create & Explore | ||
</h1> | ||
|
||
<p className="mt-9 sm:text-[1.5rem] sm:leading-relaxed"> | ||
ProjectsHut is an innovative platform that allows users to publish | ||
their projects 🤙 for free | ||
</p> | ||
|
||
<div className="mt-8 flex flex-wrap justify-center gap-4"> | ||
<a | ||
className="group relative inline-block focus:outline-none focus:ring" | ||
href="https://github.com/priyankarpal/ProjectsHut/fork" | ||
target="_blank" | ||
> | ||
<span className="inline-block rounded border border-primary bg-primary px-12 py-3 text-sm font-medium text-white hover:bg-transparent hover:text-primary focus:outline-none focus:ring active:text-primary"> | ||
Add projects | ||
</span> | ||
</a> | ||
|
||
<Link | ||
className="inline-block rounded border border-primary px-12 py-3 text-sm font-medium text-primary hover:bg-primary hover:text-white focus:outline-none focus:ring active:bg-primary " | ||
to="projects" | ||
> | ||
Browse projects | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default Home; |
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,38 @@ | ||
import React from "react"; | ||
import { ProjectCard } from "../components"; | ||
import projects from "../DB/projects.json"; | ||
|
||
const Projects = () => { | ||
return ( | ||
<section id="projects" className="my-32"> | ||
<div className="mx-auto max-w-screen-xl px-4 sm:px-6 lg:px-8"> | ||
<div className="mx-auto max-w-lg text-center"> | ||
<h2 className="text-3xl font-bold sm:text-4xl"> | ||
List of cool 🔥 Projects | ||
</h2> | ||
|
||
<p className="m-4 text-gray-300"> | ||
It's designed to provide a space for individuals to showcase their | ||
work and connect with a global audience. | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<div className="mt-8 grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-3 m-[4rem]"> | ||
{/* Projects */} | ||
{projects.map((project, i) => ( | ||
<ProjectCard | ||
gh={project["gh-username"]} | ||
link={project.link} | ||
title={project.title} | ||
description={project.description} | ||
tech={project.tech} | ||
key={i} | ||
/> | ||
))} | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default Projects; |
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,4 @@ | ||
import Projects from "./Projects"; | ||
import Home from "./Home"; | ||
|
||
export { Projects, Home }; |
Oops, something went wrong.
c055364
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
projectshut – ./
projectshut-priyankarpal.vercel.app
projectshut-git-main-priyankarpal.vercel.app
projectshut.vercel.app