Skip to content

Commit

Permalink
updated stanford_basic
Browse files Browse the repository at this point in the history
  • Loading branch information
imonroe committed Jan 13, 2025
1 parent c59f17d commit 00c9026
Show file tree
Hide file tree
Showing 12 changed files with 956 additions and 1,015 deletions.

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions themes/stanford_basic/decoupled-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,43 @@
"prettier-fix": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\""
},
"dependencies": {
"@preact/preset-vite": "^2.8.2",
"@vanilla-extract/css": "^1.14.2",
"@vanilla-extract/dynamic": "^2.1.0",
"@vanilla-extract/recipes": "^0.5.2",
"@vanilla-extract/sprinkles": "^1.6.1",
"clsx": "^2.1.0",
"@preact/preset-vite": "^2.9.0",
"@vanilla-extract/css": "^1.15.3",
"@vanilla-extract/dynamic": "^2.1.1",
"@vanilla-extract/recipes": "^0.5.3",
"@vanilla-extract/sprinkles": "^1.6.2",
"clsx": "^2.1.1",
"jsona": "^1.12.1",
"polished": "^4.3.1",
"preact": "^10.20.2",
"preact-island": "^1.1.2",
"preact-render-to-string": "^6.4.2",
"preact-render-to-string": "^6.5.9",
"redaxios": "^0.5.1",
"styled-components": "^6.1.8",
"styled-components": "^6.1.12",
"usehooks-ts": "^3.1.0"
},
"devDependencies": {
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@playwright/test": "^1.43.0",
"@babel/preset-env": "^7.25.3",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@playwright/test": "^1.46.0",
"@types/webpack": "^5.28.5",
"@vanilla-extract/babel-plugin": "^1.2.0",
"@vanilla-extract/webpack-plugin": "^2.3.7",
"@vanilla-extract/webpack-plugin": "^2.3.11",
"babel-loader": "^9.1.3",
"brotli-size": "^4.0.0",
"css-loader": "^6.11.0",
"css-loader": "^7.1.2",
"dotenv": "^16.4.5",
"glob": "^10.3.12",
"glob": "^11.0.0",
"gzip-size": "^6.0.0",
"html-webpack-plugin": "^5.6.0",
"kleur": "^4.1.5",
"prettier": "^3.3.3",
"pretty-bytes": "^5.6.0",
"style-loader": "^4.0.0",
"ts-node": "~10.9.2",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"typescript": "^5.5.4",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export interface MenuContentItem {
parent: string
items?: MenuContentItem[]
weight: number
expanded?: boolean
}

export const buildMenuTree = (links: MenuContentItem[], parent = ""): { items?: MenuContentItem[] } => {
Expand Down
Loading

0 comments on commit 00c9026

Please sign in to comment.