Skip to content

Commit

Permalink
#25 Migrate all remaining tiles usages to new syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasBerger committed Jan 20, 2024
1 parent 91ec04a commit 0b4d418
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 32 deletions.
10 changes: 4 additions & 6 deletions content/sites/drafts/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import TileGrid, {Layout} from "@site/src/app/components/tiles/TileGrid";
import Tile from "@site/src/app/components/tiles/Tile";

# Drafts
<TileGrid layout={Layout.SMALL_TILES}>
<Tile title="default" href="default"></Tile>
</TileGrid>
::::Tiles{layout="small"}
:::Tile[default]{href="default"}
:::
::::
30 changes: 19 additions & 11 deletions content/sites/gbsl/index.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
import TileGrid, {Layout} from "@site/src/app/components/tiles/TileGrid";
import Tile from "@site/src/app/components/tiles/Tile";

# GBSL
<TileGrid layout={Layout.SMALL_TILES}>
<Tile title="26b" href="26b"></Tile>
<Tile title="26d" href="26d"></Tile>
<Tile title="26f" href="26f"></Tile>
<Tile title="26Fb" href="26Fb"></Tile>
<Tile title="27Gi" href="27Gi"></Tile>
<Tile title="27Gf" href="27Gi"></Tile>
</TileGrid>
::::Tiles{layout="small"}
:::Tile[26b]{href="26b"}
:::

:::Tile[26d]{href="26d"}
:::

:::Tile[26f]{href="26f"}
:::

:::Tile[26Fb]{href="26Fb"}
:::

:::Tile[27Gi]{href="27Gi"}
:::

:::Tile[27Gf]{href="27Gf"}
:::
::::
14 changes: 7 additions & 7 deletions content/sites/lerbermatt/index.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import TileGrid from "@site/src/app/components/tiles/TileGrid";
import Tile from "@site/src/app/components/tiles/Tile";

# Lerbermatt
<TileGrid>
<Tile title="26d" href="26d"></Tile>
<Tile title="27k" href="27k"></Tile>
</TileGrid>
::::Tiles
:::Tile[26d]{href="26d"}
:::

:::Tile[27k]{href="27k"}
:::
::::
18 changes: 10 additions & 8 deletions content/sites/teach/index.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import TileGrid from "@site/src/app/components/tiles/TileGrid";
import Tile from "@site/src/app/components/tiles/Tile";

# Teach
<TileGrid>
<Tile title="Gymnasium" href="gymnasium/informatik"></Tile>
<Tile title="Sekundarstufe" href="sekundarstufe/medien-und-informatik"></Tile>
<Tile title="Primarstufe" href="primarstufe/medien-und-informatik"></Tile>
</TileGrid>
::::Tiles
:::Tile[Gymnasium]{href="gymnasium/informatik"}
:::

:::Tile[Sekundarstufe]{href="sekundarstufe/medien-und-informatik"}
:::

:::Tile[Primarstufe]{href="primarstufe/medien-und-informatik"}
:::
::::

0 comments on commit 0b4d418

Please sign in to comment.