-
-
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
3404711
commit 638e2f9
Showing
4 changed files
with
81 additions
and
75 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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import React from "react"; | ||
import { Button as AntButton } from "antd"; | ||
import React from "react" | ||
import { Button as AntButton } from "antd" | ||
|
||
interface ToolMapButtonProps { | ||
onClick: () => void; | ||
onClick: () => void | ||
} | ||
|
||
const ToolMapButton: React.FC<ToolMapButtonProps> = ({ onClick }) => ( | ||
<AntButton | ||
<AntButton | ||
onClick={onClick} | ||
size="large" | ||
className="bg-[#2D6A4F] text-white hover:bg-[#1B4332] transition-colors" | ||
> | ||
Open Tool Finder | ||
</AntButton> | ||
); | ||
) | ||
|
||
export default ToolMapButton; | ||
export default ToolMapButton |
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 |
---|---|---|
|
@@ -271,4 +271,4 @@ const EnAccessToolMap = () => { | |
) | ||
} | ||
|
||
export default EnAccessToolMap | ||
export default EnAccessToolMap |
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,28 +1,29 @@ | ||
import React from "react"; | ||
import { | ||
Typography, | ||
Empty, | ||
} from "antd"; | ||
import { Search } from "lucide-react"; | ||
import React from "react" | ||
import { Typography, Empty } from "antd" | ||
import { Search } from "lucide-react" | ||
|
||
const { Title, Paragraph } = Typography; | ||
const { Title, Paragraph } = Typography | ||
|
||
interface WelcomeMessageProps { | ||
hasFilters: boolean; | ||
hasFilters: boolean | ||
} | ||
|
||
const WelcomeMessage: React.FC<WelcomeMessageProps> = ({ hasFilters }) => ( | ||
<div className="flex flex-col items-center justify-center p-8 text-center bg-gray-50 rounded-lg shadow-sm"> | ||
<Search className="w-16 h-16 text-gray-400 mb-4" /> | ||
<Title level={2} className="mb-4">Welcome to the Tool Finder</Title> | ||
<Title level={2} className="mb-4"> | ||
Welcome to the Tool Finder | ||
</Title> | ||
<Paragraph className="text-lg text-gray-600 max-w-2xl"> | ||
{hasFilters | ||
? (<div className="col-span-full flex justify-center items-center"> | ||
<Empty description="No tools match your filters" /> | ||
</div>) | ||
: "Start by answering a few questions about your needs using the filters on the left. We'll help you find the perfect tools for your business."} | ||
{hasFilters ? ( | ||
<div className="col-span-full flex justify-center items-center"> | ||
<Empty description="No tools match your filters" /> | ||
</div> | ||
) : ( | ||
"Start by answering a few questions about your needs using the filters on the left. We'll help you find the perfect tools for your business." | ||
)} | ||
</Paragraph> | ||
</div> | ||
); | ||
) | ||
|
||
export default WelcomeMessage; | ||
export default WelcomeMessage |