Skip to content

Commit

Permalink
Merge pull request #237 from kloudlite/tooltip
Browse files Browse the repository at this point in the history
Website about us profile update
  • Loading branch information
tulsiojha authored Jul 4, 2024
2 parents fdc8e10 + 6aebeb3 commit 0c7253f
Show file tree
Hide file tree
Showing 23 changed files with 143 additions and 86 deletions.
22 changes: 18 additions & 4 deletions src/apps/devdoc/app/components/join-provider-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ const JoinProvidersDialog = ({
{oathProviders?.githubLoginUrl && (
<Button
variant="tertiary"
content="Continue with Github"
content={
<span className="!wb-bodyLg">
Continue with Github
</span>
}
prefix={<GithubLogoFill />}
linkComponent={Link}
toLabel="href"
Expand All @@ -121,7 +125,11 @@ const JoinProvidersDialog = ({
{oathProviders?.gitlabLoginUrl && (
<Button
variant="purple"
content="Continue with Gitlab"
content={
<span className="!wb-bodyLg">
Continue with Gitlab
</span>
}
prefix={<GitlabLogoFill />}
linkComponent={Link}
toLabel="href"
Expand All @@ -133,7 +141,11 @@ const JoinProvidersDialog = ({
{oathProviders?.googleLoginUrl && (
<Button
variant="primary"
content="Continue with Google"
content={
<span className="!wb-bodyLg">
Continue with Google
</span>
}
prefix={<GoogleLogoFill />}
linkComponent={Link}
toLabel="href"
Expand All @@ -150,7 +162,9 @@ const JoinProvidersDialog = ({
) : null}
<Button
variant="basic"
content="Continue with email"
content={
<span className="!wb-bodyLg">Continue with email</span>
}
prefix={<Envelope />}
linkComponent={Link}
toLabel="href"
Expand Down
31 changes: 18 additions & 13 deletions src/apps/devdoc/app/components/website/about/main.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { GraphExtended, GraphItem } from '../../graph';
import SectionWrapper from '../section-wrapper';
import aboutUsBanner from '~/images/about-us/about-us-banner-1.jpg';

const AboutMain = () => {
return (
Expand All @@ -11,7 +12,13 @@ const AboutMain = () => {
</div>
<GraphExtended>
<div className="wb-grid wb-grid-cols-1 wb-grid-rows-[352px_auto] md:wb-grid-cols-none wb-gap-3xl md:wb-gap-5xl">
<GraphItem className="wb-bg-surface-basic-subdued"> </GraphItem>
<GraphItem className="wb-bg-surface-basic-subdued wb-relative">
<img
src={aboutUsBanner.src}
className="wb-h-full wb-w-full wb-object-cover"
/>
<div className="wb-absolute wb-inset-0 wb-bg-[#0000008c]" />
</GraphItem>
<div className="wb-grid wb-grid-cols-1 md:wb-grid-cols-[448px_auto] wb-gap-3xl md:wb-gap-5xl xl:wb-h-[544px] 2xl:wb-h-[480px] 3xl:wb-h-[320px]">
<GraphItem className="wb-bg-surface-basic-subdued wb-p-5xl">
<span className="wb-text-text-default wb-headingXl-marketing md:wb-heading2xl-marketing lg:wb-heading3xl-marketing">
Expand All @@ -20,18 +27,16 @@ const AboutMain = () => {
</span>
</GraphItem>
<GraphItem className="wb-bg-surface-basic-subdued wb-p-5xl">
<span className="wb-bodyLg md:wb-bodyXl lg:wb-bodyXXl wb-text-text-soft">
<span className="wb-text-text-default">
At Kloudlite, we understand the challenges developers face
because we've experienced them ourselves. We know how precious
your time is, so we created a platform to streamline and
simplify the development process. Our mission is to provide
you with the tools for a seamless, productive experience. With
Kloudlite, you can easily integrate any Kubernetes cluster,
whether on the cloud or locally. We're here to make
development smoother, faster, and more enjoyable. Join us and
let’s build something amazing together.
</span>
<span className="wb-bodyLg md:wb-bodyXl lg:wb-bodyXXl wb-text-text-strong">
At Kloudlite, we understand the challenges developers face
because we've experienced them ourselves. We know how precious
your time is, so we created a platform to streamline and
simplify the development process. Our mission is to provide you
with the tools for a seamless, productive experience. With
Kloudlite, you can easily integrate any Kubernetes cluster,
whether on the cloud or locally. We're here to make development
smoother, faster, and more enjoyable. Join us and let’s build
something amazing together.
</span>
</GraphItem>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/apps/devdoc/app/components/website/about/mission.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const AboutMission = () => {
</div>
</GraphItem>
<GraphItem className="wb-bg-surface-basic-subdued wb-p-5xl wb-flex wb-flex-col wb-justify-center">
<span className="wb-bodyLg md:wb-bodyXl lg:wb-bodyXXl wb-text-text-soft">
<span className="wb-bodyLg md:wb-bodyXl lg:wb-bodyXXl wb-text-text-strong">
To deliver a seamless development experience that mirrors
production environments. We are committed to building a strong,
engaged community of developers, ensuring our platform is
Expand Down
87 changes: 60 additions & 27 deletions src/apps/devdoc/app/components/website/about/team.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
import consts from '~/app/utils/const';
import consts, {
githubPrefix,
linkedInPrefix,
twitterPrefix,
} from '~/app/utils/const';
import { IconButton } from 'kl-design-system/atoms/button';
import { GithubLogo, LinkedinLogo, TwitterNewLogo } from '@jengaicons/react';
import {
GithubLogo,
Globe,
LinkedinLogo,
TwitterNewLogo,
} from '@jengaicons/react';
import Link from 'next/link';
import { Block } from '../../commons';
import { GraphItem } from '../../graph';
import SectionWrapper from '../section-wrapper';
import { cn } from '~/app/utils/commons';

const AboutTeam = () => {
return (
Expand All @@ -26,7 +36,10 @@ by a dedicated and visionary leadership focused on pushing the boundaries of inn
<img
src={t.image}
alt={t.name}
className="wb-h-full wb-w-full wb-object-cover"
className={cn(
'wb-h-full wb-w-full wb-object-cover',
t.imageClassName,
)}
/>
)}
</div>
Expand All @@ -40,30 +53,50 @@ by a dedicated and visionary leadership focused on pushing the boundaries of inn
</span>
</div>
<div className="wb-flex wb-flex-row wb-items-center wb-gap-lg">
<IconButton
icon={<LinkedinLogo />}
variant="plain"
linkComponent={Link}
toLabel="href"
to={t.linkedin}
size="xs"
/>
<IconButton
icon={<TwitterNewLogo />}
variant="plain"
linkComponent={Link}
toLabel="href"
to={t.x}
size="xs"
/>
<IconButton
icon={<GithubLogo />}
variant="plain"
linkComponent={Link}
toLabel="href"
to={t.github}
size="xs"
/>
{t.linkedin && (
<IconButton
icon={<LinkedinLogo />}
variant="plain"
linkComponent={Link}
toLabel="href"
to={linkedInPrefix + t.linkedin}
size="xs"
target="__blank__"
/>
)}
{t.x && (
<IconButton
icon={<TwitterNewLogo />}
variant="plain"
linkComponent={Link}
toLabel="href"
to={twitterPrefix + t.x}
size="xs"
target="__blank__"
/>
)}
{t.github && (
<IconButton
icon={<GithubLogo />}
variant="plain"
linkComponent={Link}
toLabel="href"
to={githubPrefix + t.github}
size="xs"
target="__blank__"
/>
)}
{t.web && (
<IconButton
icon={<Globe />}
variant="plain"
linkComponent={Link}
toLabel="href"
to={t.web}
size="xs"
target="__blank__"
/>
)}
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/apps/devdoc/app/components/website/about/vision.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const AboutVision = () => {
</div>
</GraphItem>
<GraphItem className="wb-bg-surface-basic-subdued wb-p-5xl wb-flex wb-flex-col wb-justify-center">
<span className="wb-bodyLg md:wb-bodyXl lg:wb-bodyXXl wb-text-text-soft">
<span className="wb-bodyLg md:wb-bodyXl lg:wb-bodyXXl wb-text-text-strong">
To empower developers worldwide by providing the ultimate platform
for building, testing, and deploying distributed applications with
unparalleled efficiency and ease, fostering a vibrant community
Expand Down
3 changes: 0 additions & 3 deletions src/apps/devdoc/app/components/website/home/messages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const MessageCard = ({
subtitle={<span className="wb-bodyMd">{subtitle}</span>}
color="one"
size="md"
noImage
tabIndex={-1}
/>
</span>
Expand All @@ -39,7 +38,6 @@ const MessageCard = ({
color="dark"
size="md"
tabIndex={-1}
noImage
/>
</span>
</div>
Expand All @@ -59,7 +57,6 @@ const DontBelieve = () => {
))}
</Slider>
</div>

<div className="wb-h-full wb-hidden md:wb-grid wb-grid-cols-1 md:wb-grid-cols-3 wb-gap-3xl lg:wb-gap-5xl">
{consts.homeNew.messages.map((message) => (
<GraphItem key={message.title}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ const HorizontalTopTabItem = ({
active
? 'wb-bg-surface-basic-default md:wb-bg-surface-primary-subdued'
: 'wb-bg-surface-basic-default',
className
className,
)}
onClick={onClick}
>
<h3
className={cn(
'wb-heading2xl-marketing wb-transition-all lg:wb-min-h-[84px] xl:wb-min-h-[auto] 3xl:wb-min-h-[auto] wb-shrink-0',
'wb-headingXl-marketing md:wb-heading2xl-marketing wb-transition-all lg:wb-min-h-[84px] xl:wb-min-h-[auto] 3xl:wb-min-h-[auto] wb-shrink-0',
{
'wb-text-text-primary': active,
'wb-text-text-default': !active,
}
},
)}
>
{label}
</h3>
<p
className={cn('wb-bodyXl wb-transition-all', {
className={cn('wb-bodyLg md:wb-bodyXl wb-transition-all', {
'wb-text-text-strong': !active,
'wb-text-text-default': active,
})}
Expand Down Expand Up @@ -75,7 +75,7 @@ interface IHorizontalTopTab {
activeTab: string;
tabs: Omit<IHorizontalTopTabItem, 'active' | 'onClick'>[];
onTabChange: (
item: Omit<IHorizontalTopTabItem, 'active' | 'onClick'>
item: Omit<IHorizontalTopTabItem, 'active' | 'onClick'>,
) => void;
tabContainerClassName?: string;
tabContentClassName?: string;
Expand Down Expand Up @@ -151,7 +151,7 @@ const HorizontalTopTab = ({
<div
className={cn(
'wb-bg-surface-basic-subdued md:wb-h-[338px] xl:wb-h-[480px] xl:wb-max-h-[480px] wb-w-full',
tabContentClassName
tabContentClassName,
)}
>
{tab}
Expand Down
4 changes: 2 additions & 2 deletions src/apps/devdoc/app/utils/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default {
showExtra: false,
items: [
{
title: 'Documentation',
title: 'Docs',
to: '/docs',
},
{
Expand Down Expand Up @@ -212,7 +212,7 @@ export default {
to: '/blog',
},
{
title: 'Documentation',
title: 'Docs',
type: 'normal',
to: '/docs',
},
Expand Down
Loading

0 comments on commit 0c7253f

Please sign in to comment.