Skip to content

Conversation

@zoobestik
Copy link
Collaborator

This pull request introduces a new, visually enhanced multiplatform hero banner for the Kotlin website landing page, replacing the previous static layout.

Hero banner implementation:

  • Added a new HeroBanner React component in blocks/multiplatform/hero/index.tsx that displays the Kotlin Multiplatform hero section, including a title, subtitle, platform icons, and a "Get Started" button. The component uses imported SVG icons and applies custom styles.

Landing page integration:

  • Updated pages/multiplatform/index.tsx to import and use the new HeroBanner component, wrapped in a dark theme provider, and replaced the previous static layout. Also updated constants for menu items and URLs.
  • Changed the landing page layout to display the new hero banner and FAQ block within the ThemeProvider and updated the "Get started" button to link directly to the multiplatform getting started documentation.

@zoobestik zoobestik marked this pull request as ready for review November 21, 2025 17:49
@zoobestik zoobestik force-pushed the ktl-3875-kmp-landing-page branch 2 times, most recently from 6bb6927 to bae21ac Compare November 24, 2025 14:47
padding-block: 24px;

@media (--ktl-ts-in) {
/* @mixin rs-hero-sm-*; */
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to add mixins.p.css from rescui, but I see there is no way to get sm value if you are higher than 640px. Ask for help.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to get font-size and line height, right?
Have you tried @mixin rs-typography-hero-sm?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikpachoo where do you find it? I found:

@define-mixin rs-super-hero { /* ... */ }
@define-mixin rs-hero { /* ... */ }

@zoobestik zoobestik self-assigned this Nov 24, 2025

import styles from './hero.module.css';

const platforms = [
Copy link
Contributor

@berezinant berezinant Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JIC: We have some platform types declared in the case studies module here. Probably it's worth extracting it to some common place (or maybe not)

Anyway, there is a difference in names for platforms on different pages (frontend + backend on case studies, web + server on this kmp landing) and there is still a discussion what options are better.
Not sure if there are any certain action points here, so just to share some context

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@berezinant This is an interesting question. In your version it is frontend in my figma it's web 🤔

@zoobestik zoobestik force-pushed the ktl-3875-kmp-landing-page branch from bae21ac to 1003266 Compare December 1, 2025 12:14
- Update `@jetbrains/kotlin-web-site-ui` to version 4.13.0-alpha.3
- Modify a Hero section to leverage new breakpoint hooks
- Adjust responsive styles for improved layout behavior
… responsiveness

- Upgrade `@jetbrains/kotlin-web-site-ui` to `4.13.0-alpha.4`
- Update `@rescui/colors` dependency to `0.1.11`
- Refactor Hero section layout with updated breakpoints and styling adjustments
@zoobestik zoobestik force-pushed the ktl-3875-kmp-landing-page-layout branch 2 times, most recently from 2b3b054 to 8c45052 Compare December 1, 2025 12:31
…ources

- Migrate Hero icons from inline SVGs to static assets under `/public/images/multiplatform/hero`
- Update `HeroBanner` component to reference new image paths
- Refactor `hero.module.css` to use new CSS classes for platform-specific styles
@zoobestik zoobestik force-pushed the ktl-3875-kmp-landing-page-layout branch from 8c45052 to 10ec632 Compare December 2, 2025 17:16
@zoobestik zoobestik merged commit e20f5fb into ktl-3875-kmp-landing-page Dec 2, 2025
@zoobestik zoobestik deleted the ktl-3875-kmp-landing-page-layout branch December 2, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants