-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
46 additions
and
39 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,5 +1,5 @@ | ||
import { Link } from "@tanstack/react-router"; | ||
import { RectButton } from "./RectButton"; | ||
import { companyDataConstants } from '@/constants/companyData.constant' | ||
import { RectButton } from './RectButton' | ||
|
||
export const Contact = () => { | ||
return ( | ||
|
@@ -13,21 +13,14 @@ export const Contact = () => { | |
type="text" | ||
value="[email protected]" | ||
></input> | ||
<RectButton | ||
tailwind_class="btn-primary rounded-l-none h-full absolute top-0 right-0 border-black dark:border-white active:scale-100" | ||
label="Send Email" | ||
/> | ||
</div> | ||
<div className="mx-auto"> | ||
<Link to={"/faq"}> | ||
<a href={`mailto:${companyDataConstants.email}`}> | ||
<RectButton | ||
tailwind_class="btn-secondary border bg-yellow-tertiary border-black dark:border-white" | ||
label="Need help?" | ||
tailwind_class="btn-primary rounded-l-none h-full absolute top-0 right-0 border-black dark:border-white active:scale-100" | ||
label="Send Email" | ||
/> | ||
</Link> | ||
</a> | ||
</div> | ||
<div></div> | ||
</div> | ||
// </div> | ||
); | ||
}; | ||
) | ||
} |
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,11 @@ | ||
export const companyDataConstants = { | ||
name: '28Softwares', | ||
address: 'Lokanthali, Bhaktapur', | ||
location: 'Bhaktapur, Nepal', | ||
foundedYear: 2024, | ||
email: '[email protected]', | ||
|
||
socials: { | ||
linkedin: 'https://linkedin.com/company/28softwares/', | ||
}, | ||
} |