Skip to content
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

Contribute changes #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/pr-annotations.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI

Check failure on line 1 in .github/workflows/pr-annotations.yaml

View check run for this annotation

Trunk.io / Trunk Check

prettier

Incorrect formatting, autoformat by running 'trunk fmt'

on:
push:
Expand Down Expand Up @@ -27,8 +27,8 @@

- name: Trunk Check
uses: trunk-io/trunk-action@v1
with:
post-annotations: true # only for fork PRs
# with:
# post-annotations: true # only for fork PRs



3 changes: 2 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import { defineConfig } from "astro/config";

Check failure on line 1 in astro.config.mjs

View check run for this annotation

Trunk.io / Trunk Check

prettier

Incorrect formatting, autoformat by running 'trunk fmt'
import starlight from "@astrojs/starlight";
import markdoc from "@astrojs/markdoc";
import react from "@astrojs/react";


import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: "HTML Canvas Deep Dive",
title: "HTML Canvas Deep Dive",
// social: {
// github: 'https://github.com/withastro/starlight',
// },
Expand Down
2 changes: 1 addition & 1 deletion src/components/RedSquareWithResize.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Slider from "./ui/Slider";

Check failure on line 1 in src/components/RedSquareWithResize.tsx

View check run for this annotation

Trunk.io / Trunk Check

prettier

Incorrect formatting, autoformat by running 'trunk fmt'

import React, { useEffect, useRef, useState } from "react";

Expand All @@ -23,7 +23,7 @@
const context = canvas?.getContext("2d");

//Our draw come here
draw(context);
draw(context );
}, [draw]);

return (
Expand Down
Loading