Skip to content

Commit

Permalink
Upgrade to gatsby-plugin-material-symbols
Browse files Browse the repository at this point in the history
Move away from react-material-symbols
  • Loading branch information
RYRY1002 committed Mar 1, 2025
1 parent 15087a9 commit a5c30b6
Show file tree
Hide file tree
Showing 17 changed files with 786 additions and 70 deletions.
2 changes: 1 addition & 1 deletion font-preload-cache.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions gatsby-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ const config = {
quality: 85
}
}
}, {
resolve: "gatsby-plugin-material-symbols",
options: {
verbose: true
}
}, {
resolve: "gatsby-plugin-posthog",
options: {
Expand Down
31 changes: 17 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"gatsby": "^5.14.1",
"gatsby-plugin-image": "^3.14.0",
"gatsby-plugin-manifest": "^5.14.0",
"gatsby-plugin-material-symbols": "^1.0.3",
"gatsby-plugin-mdx": "^5.14.0",
"gatsby-plugin-nprogress": "^5.14.0",
"gatsby-plugin-postcss": "^6.14.0",
Expand All @@ -78,7 +79,6 @@
"react-csv": "^2.2.2",
"react-dom": "^18.3.1",
"react-hook-form": "^7.54.2",
"react-material-symbols": "^4.4.0",
"react-resizable-panels": "^2.1.7",
"recharts": "^2.15.1",
"remark-gfm": "^3.0.1",
Expand Down
2 changes: 0 additions & 2 deletions posts/markdown.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,6 @@ Here's an example of a chart added to a markdown file:
import { CartesianGrid, XAxis, YAxis, Rectangle, ReferenceLine, Label } from "recharts";
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card";
import { ChartConfig, ChartContainer, ChartTooltip, ChartTooltipContent } from "@/components/ui/chart";
import { MaterialSymbol } from "react-material-symbols";
import "react-material-symbols/outlined";

import { Area, AreaChart } from "recharts";
export function BedStatFullscreen() {
Expand Down
Loading

0 comments on commit a5c30b6

Please sign in to comment.