refactor: replace meet link with write me an email link
I was using Calendly for the meetings, but none ever come through at this time, so I canceled Calendly subscription and switched to email only communications
This commit is contained in:
parent
48863a160b
commit
4bb6275001
5 changed files with 25 additions and 16 deletions
|
|
@ -16,12 +16,12 @@ export function CallToAction() {
|
|||
Je na čase pozvednout Vaši infrastrukturu na dnešní standardy. Infrastruktura má ukázat Vaši aplikaci světu, ne ji držet při zemi.
|
||||
</p>
|
||||
<Button
|
||||
href="https://calendly.com/vojtechmares/30min"
|
||||
href="mailto:iam@vojtechmares.com"
|
||||
color="white"
|
||||
size="large"
|
||||
className="mt-10"
|
||||
>
|
||||
Domluvme si schůzku
|
||||
Napište mi
|
||||
</Button>
|
||||
</div>
|
||||
</Container>
|
||||
|
|
|
|||
|
|
@ -45,15 +45,11 @@ export function Hero() {
|
|||
dluhu a připravíme Vaší IT infrastrukturu na rapidní škálování.
|
||||
</p>
|
||||
<div className="mt-10 flex flex-col gap-y-6 md:gap-y-0 sm:flex-row sm:justify-start sm:gap-x-6">
|
||||
<Button href="https://calendly.com/vojtechmares/30min" size="large">
|
||||
Domluvme si schůzku
|
||||
</Button>
|
||||
<Button
|
||||
href="mailto:iam@vojtechmares.com"
|
||||
variant="outline"
|
||||
size="large"
|
||||
>
|
||||
Napište mi email
|
||||
Napište mi
|
||||
</Button>
|
||||
</div>
|
||||
<div className="mt-10 "> {/* mt-36 lg:mt-44 */}
|
||||
|
|
|
|||
|
|
@ -112,8 +112,8 @@ export function Pricing() {
|
|||
name="Implementace"
|
||||
price="Cena dohodou"
|
||||
description="Analyzujeme Vaši situaci, projdeme možnosti, vybereme nejlepší řešení a společně jej nasadíme."
|
||||
href="https://calendly.com/vojtechmares/30min"
|
||||
buttonText="Domluvme si schůzku"
|
||||
href="mailto:iam@vojtechmares.com"
|
||||
buttonText="Napište mi"
|
||||
/>
|
||||
</div>
|
||||
</Container>
|
||||
|
|
|
|||
|
|
@ -98,10 +98,10 @@ export function Footer() {
|
|||
Nebojte se zeptat a společně vymyslíme, jak vám mohu pomoci.
|
||||
</p>
|
||||
<Button
|
||||
href="https://calendly.com/vojtechmares/30min"
|
||||
href="mailto:iam@vojtechmares.com"
|
||||
className="mt-5"
|
||||
>
|
||||
Domluvme si schůzku
|
||||
Napište mi
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,12 +12,25 @@ test("home", () => {
|
|||
})
|
||||
).toBeDefined();
|
||||
|
||||
const meets = screen.getAllByText(/Domluvme si schůzku/i);
|
||||
meets.map((m) =>
|
||||
expect(m.getAttribute("href")).toBe(
|
||||
"https://calendly.com/vojtechmares/30min"
|
||||
const writeMe = screen.getAllByText(/Napište mi/i);
|
||||
|
||||
writeMe.map((element) => {
|
||||
// First button (in navbar) is <a><span>...</span></a>, therefore we look for parent (closest) anchor element
|
||||
if (element instanceof HTMLSpanElement) {
|
||||
const parent = element.closest("a");
|
||||
expect(parent?.getAttribute("href")).toBe(
|
||||
"mailto:iam@vojtechmares.com"
|
||||
)
|
||||
return;
|
||||
}
|
||||
|
||||
expect(element.getAttribute("href")).toBe(
|
||||
"mailto:iam@vojtechmares.com"
|
||||
)
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
expect(writeMe).toHaveLength(6);
|
||||
|
||||
// const footer = within(screen.getByRole('contentinfo'))
|
||||
// const link = within(footer.getByRole('link'))
|
||||
|
|
|
|||
Reference in a new issue