feat: add randomized portfolio hero variants
This commit is contained in:
1 parent
812499b318
commit
9236fdd685
25 files changed
+1438
-658
No files matched your search
+5
-9
@@ -61,8 +61,7 @@ export const servicePages: ServicePageContent[] = [
|
||||
],
|
||||
stack: ["Next.js", "TypeScript", "Node.js", "PostgreSQL", "APIs REST"],
|
||||
ctaLabel: "Agendar conversa sobre engenharia",
|
||||
ctaHref:
|
||||
"https://wa.me/5547992742365?text=Quero%20conversar%20sobre%20engenharia%20de%20software.",
|
||||
ctaHref: "/#contact",
|
||||
relatedCaseIds: ["nutriscan", "reddit-explorer", "sc-plus"],
|
||||
},
|
||||
{
|
||||
@@ -96,7 +95,7 @@ export const servicePages: ServicePageContent[] = [
|
||||
],
|
||||
stack: ["Next.js", "React", "TypeScript", "Tailwind CSS", "SEO tecnico"],
|
||||
ctaLabel: "Solicitar consultoria Next.js",
|
||||
ctaHref: "https://wa.me/5547992742365?text=Quero%20consultoria%20em%20Next.js.",
|
||||
ctaHref: "/#contact",
|
||||
relatedCaseIds: ["nutriscan", "twins-lab", "sc-plus"],
|
||||
},
|
||||
{
|
||||
@@ -136,8 +135,7 @@ export const servicePages: ServicePageContent[] = [
|
||||
"System integration",
|
||||
],
|
||||
ctaLabel: "Conversar sobre Tauri e Rust",
|
||||
ctaHref:
|
||||
"https://wa.me/5547992742365?text=Quero%20conversar%20sobre%20Tauri%20e%20Rust.",
|
||||
ctaHref: "/#contact",
|
||||
relatedCaseIds: ["gcc-installer"],
|
||||
},
|
||||
{
|
||||
@@ -170,8 +168,7 @@ export const servicePages: ServicePageContent[] = [
|
||||
],
|
||||
stack: ["IoT", "WebSockets", "APIs", "Dashboards", "Integracao de sistemas"],
|
||||
ctaLabel: "Falar sobre integracao e IoT",
|
||||
ctaHref:
|
||||
"https://wa.me/5547992742365?text=Quero%20falar%20sobre%20integracao%20hardware%20%2B%20software%20e%20IoT.",
|
||||
ctaHref: "/#contact",
|
||||
relatedCaseIds: ["twins-lab"],
|
||||
},
|
||||
{
|
||||
@@ -211,8 +208,7 @@ export const servicePages: ServicePageContent[] = [
|
||||
"Sistemas criticos",
|
||||
],
|
||||
ctaLabel: "Solicitar diagnostico arquitetural",
|
||||
ctaHref:
|
||||
"https://wa.me/5547992742365?text=Quero%20um%20diagnostico%20de%20arquitetura%20de%20software.",
|
||||
ctaHref: "/#contact",
|
||||
relatedCaseIds: ["nutriscan", "twins-lab", "reddit-explorer"],
|
||||
},
|
||||
];
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
const COUNTRY = ["5", "5"];
|
||||
const AREA = ["4", "7"];
|
||||
const NINE = ["9"];
|
||||
const FIRST = ["9", "2", "7", "4"];
|
||||
const LAST = ["2", "3", "6", "5"];
|
||||
|
||||
export function getWhatsAppNumber() {
|
||||
return [...COUNTRY, ...AREA, ...NINE, ...FIRST, ...LAST].join("");
|
||||
}
|
||||
|
||||
export function getWhatsAppDisplayNumber() {
|
||||
return `+${COUNTRY.join("")} ${AREA.join("")} ${NINE.join("")}${FIRST.join("")}-${LAST.join("")}`;
|
||||
}
|
||||
|
||||
export function buildWhatsAppUrl(message: string) {
|
||||
return `https://wa.me/${getWhatsAppNumber()}?text=${encodeURIComponent(message)}`;
|
||||
}
|
||||
Reference in new issue
Block a user