Skip to content

Commit 40d0b88

Browse files
committed
astro-icon update
1 parent bd02798 commit 40d0b88

File tree

15 files changed

+645
-42
lines changed

15 files changed

+645
-42
lines changed

pnpm-lock.yaml

Lines changed: 585 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sites/cheerp/astro.config.mjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
import { defineConfig } from "astro/config";
22
import theme from "@leaningtech/astro-theme";
33
import { resolve } from "node:path";
4+
import icon from "astro-icon";
45

56
export default defineConfig({
67
site: "https://cheerp.io",
7-
integrations: [theme()],
8+
integrations: [
9+
theme(),
10+
icon({
11+
include: {
12+
jam: ["chevron-left", "chevron-right"],
13+
},
14+
}),
15+
],
816
vite: {
917
resolve: {
1018
alias: [

sites/cheerp/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
"@leaningtech/astro-theme": "workspace:^",
1818
"@leaningtech/cheerp-ts-three-demo": "workspace:^",
1919
"astro": "^4.5.18",
20-
"astro-icon": "^0.8.1",
2120
"svelte": "^4.2.18",
2221
"tailwindcss": "^3.4.4",
2322
"typescript": "^5.5.3"
23+
},
24+
"devDependencies": {
25+
"astro-icon": "^1.1.5"
2426
}
2527
}

sites/cheerp/src/content/showcase/imagej.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: ImageJ.js
33
description: A web port of ImageJ, an open-source image processing tool popular in the scientific community.
44
url: https://aicell.io/post/improving-imagej.js/
5-
# https://github.com/aicell-lab/imagej.js
5+
repository_url: https://github.com/aicell-lab/imagej.js
6+
projectType: community
67
heroImage: "./imagej.webp"
78
tags:
89
- CheerpJ

sites/cheerp/src/content/showcase/itext.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: iText
33
description: Edit PDFs fully client side using the industry standard iText library converted to JavaScript.
44
url: https://cheerpjdemos.leaningtech.com/iTextDemo.html
5+
repository_url: https://cheerpjdemos.leaningtech.com/iTextDemo.html
56
heroImage: "./itext.png"
7+
projectType: Company Demo
68
tags:
79
- CheerpJ
810
---

sites/cheerp/src/content/showcase/javafiddle.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: Java Fiddle
33
description: Compile, edit and run Java, directly in the browser.
44
url: https://javafiddle.leaningtech.com/
5+
repository_url: https://github.com/leaningtech/javafiddle
56
heroImage: "./javafiddle.png"
7+
author: Leaning Technologies
8+
projectType: Company Demo
69
tags:
710
- CheerpJ
811
---

sites/cheerp/src/content/showcase/nasa-applets.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: NASA Aeronautics Simulators
33
description: Interactive simulator applets for aeoronautics students, powered by CheerpJ.
44
url: https://www1.grc.nasa.gov/beginners-guide-to-aeronautics/drop-simulator/
5+
repository_url: https://www1.grc.nasa.gov/beginners-guide-to-aeronautics/drop-simulator/
6+
niche: Education
7+
projectType: Community
58
heroImage: "./nasa-applets.png"
69
tags:
710
- CheerpJ

sites/cheerp/src/content/showcase/openastex.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: OpenAstexViewer
33
description: A complex Java applet with 3D rendering running in any browser using CheerpJ.
44
url: https://cheerpjdemos.leaningtech.com/OpenAstexViewer.html
5+
reposiutory_url: https://cheerpjdemos.leaningtech.com/OpenAstexViewer.html
6+
projectType: Company Demo
57
heroImage: "./openastex.png"
68
tags:
79
- CheerpJ

sites/cheerp/src/content/showcase/swingset3.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: SwingSet3
33
description: Java Swing components to HTML5 with CheerpJ
44
url: https://cheerpj-example-swingset3.leaningtech.com/
5+
repository_url: https://github.com/leaningtech/cheerpj-example-swingset3/blob/main/index.html
6+
projectType: Company Demo
57
heroImage: "./swingset3.png"
68
tags:
79
- CheerpJ

sites/cheerpj/astro.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defineConfig } from "astro/config";
22
import theme from "@leaningtech/astro-theme";
33
import { resolve } from "node:path";
4+
import icon from "astro-icon";
45

56
// https://astro.build/config
67
export default defineConfig({
@@ -10,6 +11,11 @@ export default defineConfig({
1011
theme({
1112
baseIsDocs: true,
1213
}),
14+
icon({
15+
include: {
16+
jam: ["chevron-left", "chevron-right"],
17+
},
18+
}),
1319
],
1420
i18n: {
1521
defaultLocale: "en",

0 commit comments

Comments
 (0)