Skip to content

Commit

Permalink
website update
Browse files Browse the repository at this point in the history
  • Loading branch information
yurique committed Jul 9, 2023
1 parent 329a801 commit fc205da
Show file tree
Hide file tree
Showing 7 changed files with 1,112 additions and 965 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ lazy val frontrouteSiteVersion: String = IO.read(file("website/.frontroute-versi
lazy val thisVersionSitePrefix = s"/v/$frontrouteSiteVersion/"

lazy val vars = Seq(
"frontrouteVersion" -> "0.17.1",
"laminarVersion" -> "15.0.1",
"scalajsVersion" -> "1.13.0",
"scala3version" -> "3.2.1",
"frontrouteVersion" -> "0.18.0",
"laminarVersion" -> "16.0.0",
"scalajsVersion" -> "1.13.2",
"scala3version" -> "3.3.0",
)

def templateVars(s: String): String =
Expand Down
2 changes: 1 addition & 1 deletion website/.frontroute-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.17.x
0.18.x
20 changes: 10 additions & 10 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
"private": true,
"license": "UNLICENSED",
"dependencies": {
"highlight.js": "^11.7.0"
"highlight.js": "^11.8.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-commonjs": "^25.0.2",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.9",
"autoprefixer": "^10.4.14",
"cssnano": "^5.1.15",
"cssnano": "^6.0.1",
"lodash": "^4.17.21",
"postcss": "^8.4.21",
"postcss": "^8.4.25",
"postcss-import": "^15.1.0",
"postcss-preset-env": "^8.0.1",
"stylelint": "^15.3.0",
"stylelint-config-recommended": "^11.0.0",
"stylelint-config-standard": "^31.0.0",
"tailwindcss": "^3.2.7",
"vite": "^4.2.1",
"postcss-preset-env": "^9.0.0",
"stylelint": "^15.10.1",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-standard": "^34.0.0",
"tailwindcss": "^3.3.2",
"vite": "^4.4.2",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions website/src/main/resources/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ See [getting started](/getting-started).
### Prerequisites

* [Scala.js](https://www.scala-js.org/) `v{{scalajsVersion}}`+
* Scala 2.13 or {{scala3version}}+
* [Laminar](https://laminar.dev/) {{laminarVersion}} (it will be added to your project's dependencies transitively)
* Scala `2.13` or `{{scala3version}}`+
* [Laminar](https://laminar.dev/) `{{laminarVersion}}`

### sbt

Expand Down Expand Up @@ -69,9 +69,9 @@ object counter extends ScalaJSModule {

### Previous versions

#### frontroute `v0.15.x`

See [documentation](https://frontroute.dev/v/0.15.x/).
* [frontroute `v0.17.x`](https://frontroute.dev/v/0.17.x/) (Laminar 15.x)
* [frontroute `v0.16.x`](https://frontroute.dev/v/0.16.x/)
* [frontroute `v0.15.x`](https://frontroute.dev/v/0.15.x/)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object CustomDirectivesExample
path("movie") &
/* <focus> */
longParam("id")
/* </focus> */
/* </focus> */
) { movieId =>
div(div(cls := "text-2xl", "Movie page."), div(s"Movie ID (long): $movieId"))
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ object RecursivePathMatchingExample
pathPrefix("recursive") &
/* <focus> */
recursivePathMatch
/* </focus> */
/* </focus> */
) { segments =>
div(div(cls := "text-2xl", "Recursive page."), div(s"Segments: ${segments.mkString(", ")}"))
},
Expand Down
2,033 changes: 1,090 additions & 943 deletions website/yarn.lock

Large diffs are not rendered by default.

0 comments on commit fc205da

Please sign in to comment.