Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 08:54:47 +00:00
2 changed files with 30 additions and 42 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="compact"
sizing="largeSizeMediumTitles"
background="grid"
background="circleGradient"
cardStyle="subtle-shadow"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="layered"
@@ -46,7 +46,7 @@ export default function LandingPage() {
description="KIWORKS helps companies train employees to safely and efficiently use AI tools in their daily work through structured learning paths, real-world use cases and workflow templates."
tag="AI-Powered Learning Platform"
tagAnimation="slide-up"
background={{ variant: "grid" }}
background={{ variant: "plain" }}
buttons={[
{ text: "Request Demo", href: "contact" },
{ text: "Explore Platform", href: "solution" }
@@ -109,13 +109,13 @@ export default function LandingPage() {
gridVariant="three-columns-all-equal-width"
products={[
{
id: "cert-basic", name: "Basic AI Literacy", price: "Foundation Level", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATXNPvtCdozqOKn4zqvFBrN8QF/a-professional-kiworks-ai-competency-cer-1773219196069-c7ed35b9.png?_wi=1", imageAlt: "Basic AI Literacy Certificate"
id: "cert-basic", name: "Basic AI Literacy", price: "Foundation Level", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATXNPvtCdozqOKn4zqvFBrN8QF/a-professional-kiworks-ai-competency-cer-1773219196069-c7ed35b9.png", imageAlt: "Basic AI Literacy Certificate"
},
{
id: "cert-intermediate", name: "AI Workflow Expert", price: "Intermediate Level", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATXNPvtCdozqOKn4zqvFBrN8QF/a-professional-kiworks-ai-competency-cer-1773219196069-c7ed35b9.png?_wi=2", imageAlt: "AI Workflow Expert Certificate"
id: "cert-intermediate", name: "AI Workflow Expert", price: "Intermediate Level", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATXNPvtCdozqOKn4zqvFBrN8QF/a-professional-kiworks-ai-competency-cer-1773219196069-c7ed35b9.png", imageAlt: "AI Workflow Expert Certificate"
},
{
id: "cert-advanced", name: "Enterprise AI Leader", price: "Advanced Level", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATXNPvtCdozqOKn4zqvFBrN8QF/a-professional-kiworks-ai-competency-cer-1773219196069-c7ed35b9.png?_wi=3", imageAlt: "Enterprise AI Leader Certificate"
id: "cert-advanced", name: "Enterprise AI Leader", price: "Advanced Level", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATXNPvtCdozqOKn4zqvFBrN8QF/a-professional-kiworks-ai-competency-cer-1773219196069-c7ed35b9.png", imageAlt: "Enterprise AI Leader Certificate"
}
]}
/>

View File

@@ -1,51 +1,39 @@
"use client";
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
import React from 'react';
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
text?: string;
className?: string;
width?: number;
height?: number;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text = 'Webild',
className = '',
width = 120,
height = 40,
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width={width}
height={height}
viewBox={`0 0 ${width} ${height}`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="middle"
fontSize="24"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;