Skip to content

873-feat: Update jetbrans logo #878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jun 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 4 additions & 27 deletions src/shared/assets/svg/jetbrains.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/shared/icons/aws.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ import Image from 'next/image';
import aws from '@/shared/assets/icons/aws-gray.svg';

export const AwsLogo = () => {
return <Image src={aws} alt="AWS icon" />;
return (
<Image src={aws} alt="AWS icon" />
);
};
4 changes: 3 additions & 1 deletion src/shared/icons/github.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ import Image from 'next/image';
import github from '@/shared/assets/svg/github.svg';

export const GithubLogo = () => {
return <Image src={github} alt=" github icon" />;
return (
<Image src={github} alt="github icon" />
);
};
9 changes: 8 additions & 1 deletion src/shared/icons/jetbrains.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@ import Image from 'next/image';
import jetbrains from '@/shared/assets/svg/jetbrains.svg';

export const JetBrainsLogo = () => {
return <Image src={jetbrains} alt="jetbrains icon" />;
return (
<Image
src={jetbrains}
style={{ filter: 'grayscale(100%) contrast(15%)' }}
width={200}
alt="jetbrains icon"
/>
);
};
4 changes: 2 additions & 2 deletions src/shared/ui/link-custom/link-custom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ export const LinkCustom = ({
}: LinkCustomProps) => {
const resolveIcon = (): ReactNode => {
switch (true) {
case external && variant === 'textLink':
return <TextLinkIcon />;
case icon !== undefined:
return icon;
case external && variant === 'textLink':
return <TextLinkIcon />;
case variant === 'secondary':
return <ArrowIcon />;
case variant === 'rounded':
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/partnered/partnered.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
justify-content: space-between;

width: 100%;
max-width: 500px;
max-width: 600px;
padding: 16px;

.partner-logo-container {
Expand Down
25 changes: 22 additions & 3 deletions src/widgets/partnered/partnered.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { AwsLogo, GithubLogo, JetBrainsLogo } from '@/shared/icons';
import { LinkCustom } from '@/shared/ui/link-custom';
import { WidgetTitle } from '@/shared/ui/widget-title';

import './partnered.scss';
Expand All @@ -9,13 +10,31 @@ export const Partnered = () => (
<WidgetTitle size="small">Partnered with</WidgetTitle>
<div className="partners">
<div className="partner-logo-container">
<JetBrainsLogo />
<LinkCustom
href="https://www.jetbrains.com"
external
icon={null}
>
<JetBrainsLogo />
</LinkCustom>
</div>
<div className="partner-logo-container">
<AwsLogo />
<LinkCustom
href="https://aws.amazon.com/"
external
icon={null}
>
<AwsLogo />
</LinkCustom>
</div>
<div className="partner-logo-container">
<GithubLogo />
<LinkCustom
href="https://github.com/"
external
icon={null}
>
<GithubLogo />
</LinkCustom>
</div>
</div>
</div>
Expand Down
Loading