Skip to content

Mch 821#1775

Merged
nosovk merged 11 commits into
masterfrom
MCH-821
Nov 4, 2025
Merged

Mch 821#1775
nosovk merged 11 commits into
masterfrom
MCH-821

Conversation

@vladislavcroli

Copy link
Copy Markdown
Collaborator

No description provided.

@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @vladislavcroli, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the website's content by introducing a new 'Case Studies' section, featuring a detailed success story with King Billy Casino. The changes involve comprehensive updates to the site's navigation, including interactive submenus in both the header and footer, to seamlessly integrate this new content. Supporting assets such as new SVG icons and dedicated styling variables have been added to ensure a polished and engaging presentation. Additionally, a minor but important adjustment was made to the error page to disable an automatic redirection.

Highlights

  • New 'Case Studies' Section: A dedicated 'Case Studies' section has been introduced to the website, accessible from both the header and footer navigation.
  • King Billy Casino Case Study Page: A new Svelte page has been added to showcase the 'Mailcheck <> King Billy Casino' case study, detailing their partnership and results.
  • Navigation Updates: The main header and footer navigation components have been updated to include interactive submenus for 'Case Studies', improving site structure and user experience.
  • New SVG Icons: Several new Lucide-themed SVG icons (ArrowRight, ChartLine, Handshake, Info, Lightbulb, TriangleAlert) have been added to enhance the visual presentation of the case study content.
  • Error Page Redirection Disabled: The automatic meta refresh redirection on the error page (__error.svelte) has been commented out, preventing immediate redirects.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new 'Case Studies' feature, including a new page and submenus in the header and footer. The implementation introduces some critical issues, such as invalid HTML due to duplicate IDs, a non-functional submenu button in the header, and broken CSS on the new case study page. There are also accessibility improvements needed for the new submenus and some dead code that should be removed. The changes also include minor formatting cleanups across several files.

Comment on lines 60 to 62
<button class="burger-wrapper" class:open on:click={() => (open = !open)} id="burger">
<span class="burger" />
</button>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

There are two <button> elements for the mobile menu burger, both with id="burger". Duplicate IDs are invalid in HTML and can lead to unpredictable behavior with JavaScript and accessibility tools. This first button is redundant and lacks accessibility attributes. Please remove it and keep the second one (lines 104-112), which is more complete.

}

ul {
line-height: var ↳ 1.5rem ↳ 24px (--size-24);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

The line-height property for the ul selector has invalid syntax: line-height: var ↳ 1.5rem ↳ 24px (--size-24);. This appears to be a copy-paste error from a browser's developer tools and will cause this style rule to be ignored. Please correct it to use a valid CSS value, likely var(--size-24).

    line-height: var(--size-24);

Comment thread src/lib/Header/index.svelte Outdated
<a class="nav-link" title="pricing" href="/#pricing">Pricing</a>
<a class="nav-link" title="contact us" href="/#contact-us">Contact Us</a>
<div class="sub-nav">
<button class="nav-link nav-btn-not" disabled title="blog">Case Studies</button>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The "Case Studies" button in the desktop navigation has the disabled attribute. This prevents users from interacting with it, making the submenu inaccessible. Please remove the disabled attribute to allow the hover-triggered submenu to function correctly.

          <button class="nav-link nav-btn-not" title="blog">Case Studies</button>

Comment on lines +9 to +19
/**
* @type {import('@sveltejs/kit').Load}
*/
export async function load({ fetch }) {
const posts = await fetch('/blog.json').then((res: Response) => res.json());
return {
props: {
posts
}
};
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The load function fetches data from /blog.json, but this data is never used within the component. This results in an unnecessary network request and dead code. Please remove this load function, along with the unused posts prop on line 28 and its IPost type import on line 26.

Comment on lines +49 to +61
<div class="sub-menu-footer">
<button class="nav-link footer-nav-link" on:click={toggleSub}>Case studies</button>
<div class="sub-menu-footer-drop" class:active={isActivSub}>
<div class="sub-menu-footer-drop-inner">
<div class="footer-link-flex">
<a
class="nav-link footer-nav-link"
title="blog"
href="/case-studies/king-billy-4x-deposit-conversion">King Billy × Mailcheck</a>
</div>
</div>
</div>
</div>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The button that toggles the "Case studies" submenu is missing aria-expanded and aria-controls attributes. This is important for screen reader users to understand the state and function of the button. Please add an id to the submenu div and use these ARIA attributes on the button.

        <div class="sub-menu-footer">
          <button class="nav-link footer-nav-link" on:click={toggleSub} aria-expanded={isActivSub} aria-controls="footer-case-studies">Case studies</button>
          <div class="sub-menu-footer-drop" class:active={isActivSub} id="footer-case-studies">
            <div class="sub-menu-footer-drop-inner">
              <div class="footer-link-flex">
                <a
                  class="nav-link footer-nav-link"
                  title="blog"
                  href="/case-studies/king-billy-4x-deposit-conversion">King Billy × Mailcheck</a>
              </div>
            </div>
          </div>
        </div>

Comment on lines +71 to +85
<div class="sub-mobile">
<button class="nav-link mobile-menu-links" on:click={toggleSubMenu} aria-expanded={isActive}>
Case Studies
</button>
<div class="sub-mobile-links" class:active={isActive}>
<div class="sub-mobile-links-inner">
<a
class="nav-link mobile-menu-links"
on:click={() => (open = !open)}
title="blog"
href="/case-studies/king-billy-4x-deposit-conversion"
>King Billy × Mailcheck — 4× Deposit Conversions</a>
</div>
</div>
</div>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The button that toggles the "Case Studies" submenu in the mobile navigation is missing the aria-controls attribute to associate it with the content it controls. For better accessibility, please add an id to the submenu div and reference it in the button's aria-controls attribute.

  <div class="sub-mobile">
    <button class="nav-link mobile-menu-links" on:click={toggleSubMenu} aria-expanded={isActive} aria-controls="mobile-case-studies">
      Case Studies
    </button>
    <div class="sub-mobile-links" class:active={isActive} id="mobile-case-studies">
      <div class="sub-mobile-links-inner">
        <a
          class="nav-link mobile-menu-links"
          on:click={() => (open = !open)}
          title="blog"
          href="/case-studies/king-billy-4x-deposit-conversion"
          >King Billy × Mailcheck — 4× Deposit Conversions</a>
      </div>
    </div>
  </div>

h4 {
font-size: var(--size-24);
line-height: 32px;
color: var(--primary-white) !important;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The !important flag is used on the color property for the h4 selector. Using !important can make stylesheets difficult to debug and maintain. It's better to use higher specificity selectors if you need to override styles. For example, you could increase specificity with .content-item h4 to avoid its use.

    color: var(--primary-white);

Comment on lines +395 to +456
// .blog-page {
// position: relative;
// z-index: 1;

// .container {
// .content-block {
// .article {
// &-title {
// width: 100%;
// height: auto;
// margin: var(--size-20) auto 0;
// color: var(--primary-white);
// font-weight: var(--weight-500);
// font-size: var(--size-24);
// line-height: 30px;
// letter-spacing: 1.6px;
// text-align: left;
// text-transform: uppercase;
// text-decoration: none;

// &:hover {
// color: var(--primary-white);
// text-decoration: underline;
// }
// }

// &-date {
// width: 100%;
// margin: 0 0 10px;
// color: var(--primary-white);
// font-weight: var(--weight-300);
// font-size: var(--size-14);
// line-height: var(--size-20);
// letter-spacing: var(--letter-spacing);
// text-align: left;
// opacity: 0.5;
// }

// &-snippet {
// margin: 0 0 15px;
// color: var(--primary-white);
// font-weight: var(--weight-300);
// font-size: var(--size-16);
// line-height: 24px;
// letter-spacing: var(--letter-spacing);
// text-align: left;
// text-indent: initial;

// .text-thin-link {
// color: var(--color-link);
// text-decoration: none;

// &:hover {
// text-decoration: underline;
// }
// }
// }
// }
// }
// }
// }
</style>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

This large block of commented-out CSS should be removed if it's no longer needed. Keeping dead code like this can lead to confusion and clutter in the codebase.

@github-actions

github-actions Bot commented Oct 17, 2025

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 60a92b4):

(expires Fri, 31 Oct 2025 11:08:51 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 90b89411cca2b5c69685064919d195a04893eb56

@nosovk nosovk merged commit 81ce46b into master Nov 4, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants