-
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
5ed8c85
commit fc1b13f
Showing
2 changed files
with
44 additions
and
0 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
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,42 @@ | ||
import { Button } from "@/components/ui/button"; | ||
import { Input } from "@/components/ui/input"; | ||
import { GoArrowUpRight } from "react-icons/go"; | ||
import React from "react"; | ||
|
||
function FinancialCalculator() { | ||
return ( | ||
<> | ||
<div className="mt-7 p-8 rounded-xl shadow-md border"> | ||
<h2 className="font-medium text-2xl">Financial Calculator</h2> | ||
<div className="flex gap-5 mt-5"> | ||
<div className="w-full"> | ||
<label>Price $</label> | ||
<Input type="number" /> | ||
</div> | ||
<div className="w-full"> | ||
<label>Interest Rate</label> | ||
<Input type="number" /> | ||
</div> | ||
</div> | ||
<div className="flex gap-5 mt-5"> | ||
<div className="w-full"> | ||
<label>Loan Term (Months)</label> | ||
<Input type="number" /> | ||
</div> | ||
<div className="w-full"> | ||
<label>Down Payment</label> | ||
<Input type="number" /> | ||
</div> | ||
</div> | ||
<Button | ||
className="flex items-center gap-1 mt-4 text-md p-6 w-full rounded-lg" | ||
size="lg" | ||
> | ||
Calculate ? | ||
</Button> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default FinancialCalculator; |