Skip to content

Cdn integration + CSPR.CLICK React#17

Open
LookerClocker wants to merge 9 commits intomasterfrom
cdn-integration
Open

Cdn integration + CSPR.CLICK React#17
LookerClocker wants to merge 9 commits intomasterfrom
cdn-integration

Conversation

@LookerClocker
Copy link
Contributor

@LookerClocker LookerClocker commented Feb 23, 2026

Summary

TODO

  • Added cdn integration
  • Added cspr.click react project

Checklist

  • Code is properly formatted
  • All commits are signed
  • Tests included/updated or not needed
  • Documentation (manuals or wiki) has been updated or is not required

LookerClocker and others added 2 commits July 31, 2025 14:11
* added react-cdn folder

* added docs and styles

* added docs and styles

* added docs and styles

* added docs and styles

* fixed mobile view

* fixed comments

* fixed comments

* fixed comments

* fixed comments

* fixed comments

* added csprclick check + new buymecoffe

* fixed comments

* fixed comments

* fixed comments

* fixed lint and added new rules

* fixed csprclick loading

* fixed csprclick loading

* removed unnecessary check for csprclick availability

* cleaned up codebase

---------

Co-authored-by: sasha kushnir <sasha@make.sevices>
* updated csprclick to 1.12

* updated csprclick to 1.12

* updated csprclick to 1.12

* updated csprclick to 1.12

* added cspr.design lib

* cleaned up the Welcome screen

* removed local colors file

* fixed theme issue

* fixed theme issue

---------

Co-authored-by: sasha kushnir <sasha@make.sevices>
Copy link
Member

@davidatwhiletrue davidatwhiletrue left a comment

Choose a reason for hiding this comment

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

@LookerClocker , please check my comments. Also, I couldn't build the app. vite complains about cspr-design types not being avilable?

src/components/container.tsx:2:28 - error TS7016: Could not find a declaration file for module '@make-software/cspr-design'. '/Users/davidhernando/MAKE/TEMP/csprclick-examples/csprclick-react/node_modules/@make-software/cspr-design/dist/cspr-design.es.js' implicitly has an 'any' type.
  There are types at '/Users/davidhernando/MAKE/TEMP/csprclick-examples/csprclick-react/node_modules/@make-software/cspr-design/dist/lib/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@make-software/cspr-design' library may need to update its package.json or typings.

2 import { FlexColumn } from "@make-software/cspr-design";

window.addEventListener('csprclick:loaded', () => {
addListeners();
});
}, []);
Copy link
Member

Choose a reason for hiding this comment

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

remove the listener with return.

import { Section } from './Section';
import Prism from 'prismjs';

export const UseClickRefHook = () => {
Copy link
Member

Choose a reason for hiding this comment

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

This name must come from old content. Please, rename it.

<pre>
<code className={'language-javascript'}>
{`
<head>
Copy link
Member

Choose a reason for hiding this comment

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

This text must be updated and be aligned with how we download the script in App.tsx.

`;

// CTA Button
export const LearnMoreButton = styled.div`
Copy link
Member

Choose a reason for hiding this comment

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

Could we use a button from cspr-design library instead?


declare global {
interface Window {
csprclick?: any;
Copy link
Member

Choose a reason for hiding this comment

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

Use specific type for csprclick

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.

2 participants