Skip to content

Remove CMT Digital from site#89

Merged
metalaureate merged 1 commit intomainfrom
remove-cmt-digital
Mar 9, 2026
Merged

Remove CMT Digital from site#89
metalaureate merged 1 commit intomainfrom
remove-cmt-digital

Conversation

@metalaureate
Copy link
Copy Markdown
Collaborator

Removes all references to CMT Digital:

  • Removed image and import from the community scrolling track on the homepage
  • Removed text mention from the TokenomicsPage supporters list

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello, 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 systematically removes all references to 'CMT Digital' across the website. The changes ensure that the site's content is up-to-date by eliminating an outdated partner from both visual displays and textual mentions, maintaining accuracy and relevance for users viewing the homepage and tokenomics information.

Highlights

  • Homepage Community Track: Removed the CMT Digital image and its corresponding import from the community scrolling track on the homepage.
  • Tokenomics Page Supporters: Removed the text mention of CMT Digital from the supporters list on the Tokenomics page.
Changelog
  • src/sites/tari-dot-com/pages/HomePage/sections/EcosystemSection/components/Community/Track.tsx
    • Removed the import statement for the CMT Digital image.
    • Deleted all instances of the CMT Digital image component from the scrolling track.
  • src/sites/tari-dot-com/pages/TokenomicsPage/TokenomicsPage.tsx
    • Removed 'CMT Digital' from the list of early supporters in the tokenomics description.
Activity
  • No human activity has been recorded on this pull request yet.
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.

Copy link
Copy Markdown

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

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 removes references to CMT Digital from the website. The changes in TokenomicsPage.tsx are correct. However, in Track.tsx, while the image is removed, this has highlighted a couple of issues. The component uses a large, repetitive block of code to display images, which is hard to maintain. I've suggested refactoring this to be data-driven. More importantly, removing an image has likely broken the scrolling animation, which relies on a hardcoded value that probably needs to be updated. I've flagged this as a high-severity issue.

Comment on lines 31 to 65
<Image src={BlockchainCapital.src} alt="Blockchain Capital" />
<Image src={ParisHilton.src} alt="Paris Hilton" />
<Image src={CMTDigital.src} alt="CMT Digital" />
<Image src={GEAZY.src} alt="G-Eazy" />
<Image src={GMoney.src} alt="@gmoney" />
<Image src={Loomdart.src} alt="@loomdart" />
<Image src={LilWayne.src} alt="Lil Wayne" />
<Image src={BlockchainCapital.src} alt="Blockchain Capital" />
<Image src={ParisHilton.src} alt="Paris Hilton" />
<Image src={CMTDigital.src} alt="CMT Digital" />
<Image src={GEAZY.src} alt="G-Eazy" />
<Image src={GMoney.src} alt="@gmoney" />
<Image src={Loomdart.src} alt="@loomdart" />
<Image src={LilWayne.src} alt="Lil Wayne" />
<Image src={BlockchainCapital.src} alt="Blockchain Capital" />
<Image src={ParisHilton.src} alt="Paris Hilton" />
<Image src={CMTDigital.src} alt="CMT Digital" />
<Image src={GEAZY.src} alt="G-Eazy" />
<Image src={GMoney.src} alt="@gmoney" />
<Image src={Loomdart.src} alt="@loomdart" />
<Image src={LilWayne.src} alt="Lil Wayne" />
<Image src={BlockchainCapital.src} alt="Blockchain Capital" />
<Image src={ParisHilton.src} alt="Paris Hilton" />
<Image src={CMTDigital.src} alt="CMT Digital" />
<Image src={GEAZY.src} alt="G-Eazy" />
<Image src={GMoney.src} alt="@gmoney" />
<Image src={Loomdart.src} alt="@loomdart" />
<Image src={LilWayne.src} alt="Lil Wayne" />
<Image src={BlockchainCapital.src} alt="Blockchain Capital" />
<Image src={ParisHilton.src} alt="Paris Hilton" />
<Image src={CMTDigital.src} alt="CMT Digital" />
<Image src={GEAZY.src} alt="G-Eazy" />
<Image src={GMoney.src} alt="@gmoney" />
<Image src={Loomdart.src} alt="@loomdart" />
<Image src={LilWayne.src} alt="Lil Wayne" />
<Image src={BlockchainCapital.src} alt="Blockchain Capital" />
<Image src={ParisHilton.src} alt="Paris Hilton" />
<Image src={CMTDigital.src} alt="CMT Digital" />
<Image src={GEAZY.src} alt="G-Eazy" />
<Image src={GMoney.src} alt="@gmoney" />
<Image src={Loomdart.src} alt="@loomdart" />
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

This block of <Image> components is highly repetitive, which makes it difficult to maintain. A better approach would be to define the image data in an array and then use .map() to render the components. This would make it easier to manage changes like the one in this PR.

Additionally, and more critically, the animation for this track has a hardcoded x: '-1691px' value (line 20). Since an image has been removed, the total width of the track has changed, and this hardcoded value is now likely incorrect. This will probably cause a visual glitch in the scrolling animation.

I suggest refactoring this component to be data-driven and to calculate the animation offset dynamically based on the content.

Example refactoring:

const images = [
  { src: BlockchainCapital.src, alt: 'Blockchain Capital' },
  { src: ParisHilton.src, alt: 'Paris Hilton' },
  { src: GEAZY.src, alt: 'G-Eazy' },
  { src: GMoney.src, alt: '@gmoney' },
  { src: Loomdart.src, alt: '@loomdart' },
  { src: LilWayne.src, alt: 'Lil Wayne' },
];

// You can create the repeated list like this
const repeatedImages = Array(6).fill(images).flat();

return (
  // ...
  <Track ...>
    {repeatedImages.map((image, i) => <Image key={i} src={image.src} alt={image.alt} />)}
  </Track>
  // ...
);

For the animation, you could use a ref on the track element to measure its width and adjust the animation properties accordingly.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying tari-dot-com with  Cloudflare Pages  Cloudflare Pages

Latest commit: 20d99c8
Status: ✅  Deploy successful!
Preview URL: https://63eb9ef8.tari-dot-com.pages.dev
Branch Preview URL: https://remove-cmt-digital.tari-dot-com.pages.dev

View logs

@metalaureate metalaureate merged commit 6441be8 into main Mar 9, 2026
3 checks passed
@metalaureate metalaureate deleted the remove-cmt-digital branch March 9, 2026 20:14
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.

1 participant