Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build the tools directory header section #336

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions client/src/assets/Vectordownicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions client/src/assets/toolsheadersearchicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion client/src/components/ToolsDirectory/ToolsDirectory.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import React from "react";
import ToolsHeader from "./ToolsHeader/ToolsHeader";

const ToolsDirectory = () => {
return (
<div>
<div className= "px-4 py-2">
{/* insert your component for those working on the company tools directory page */}
<ToolsHeader />
</div>
);
};

export default ToolsDirectory;

36 changes: 36 additions & 0 deletions client/src/components/ToolsDirectory/ToolsHeader/ToolsHeader.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import React from "react"
import SearchIcon from "../../../assets/toolsheadersearchicon.svg"
import DownArrowIcon from "../../../assets/Vectordownicon.svg"
const ToolsHeader = () => {
return (
<div>
<div className="flex items-center mb-4">
<h3 className= "font-bold">Tools Directory</h3>
<p className="ml-auto">Back to tools</p>
</div>
<div className="flex bg-white px-2 py-1 rounded-sm shadow-sm mb-4" >
<img src={ SearchIcon } alt="" className="mr-1" />
<input type="search" placeholder="Search Tools Directory"/>
</div>
<div className="flex items-center">
<div className="all mr-16">
<p>All</p>
</div>
<div className="categories flex items-center ml-2 cursor-pointer">
<p className="text mr-1">Category</p>
<img src= { DownArrowIcon } alt="" />
</div>
<div className="staffpicks flex items-center ml-12 cursor-pointer">
<p className="text mr-1">Staff Picks</p>
<img src= { DownArrowIcon } alt="" />
</div>
<div className="toolcollections flex items-center ml-12 cursor-pointer">
<p className="text mr-1">Tools Collection</p>
<img src= { DownArrowIcon } alt="" />
</div>
</div>
</div>
)
};

export default ToolsHeader
Loading