From 5854b4ec0d30dbb51fa031690b5c755b0fad139d Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Sun, 5 May 2024 16:03:06 +0200 Subject: [PATCH] [SC64][WEB] Add BOM directly on the website --- .github/workflows/build.yml | 3 +++ web/bom.html | 46 +++++++++++++++++++++++++++++++++++++ web/features.html | 1 + web/index.html | 1 + web/styles.css | 9 +++++++- 5 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 web/bom.html diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b04fcf2..bc16f03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -147,6 +147,9 @@ jobs: - name: Download SummerCart64 repository uses: actions/checkout@v4 + - name: Copy BOM file to the website folder + run: cp ./hw/pcb/sc64v2_bom.html ./web + - name: Setup GitHub pages uses: actions/configure-pages@v4 diff --git a/web/bom.html b/web/bom.html new file mode 100644 index 0000000..c1177d7 --- /dev/null +++ b/web/bom.html @@ -0,0 +1,46 @@ + + + + + SummerCart64 - Bill of materials + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/web/features.html b/web/features.html index f857387..414af4b 100644 --- a/web/features.html +++ b/web/features.html @@ -30,6 +30,7 @@
  • Features
  • Menu
  • Downloads
  • +
  • Bill of materials
  • GitHub
  • diff --git a/web/index.html b/web/index.html index a82dc56..ca1bd12 100644 --- a/web/index.html +++ b/web/index.html @@ -30,6 +30,7 @@
  • Features
  • Menu
  • Downloads
  • +
  • Bill of materials
  • GitHub
  • diff --git a/web/styles.css b/web/styles.css index ba7b185..38cebcb 100644 --- a/web/styles.css +++ b/web/styles.css @@ -123,7 +123,7 @@ a:hover { font-weight: 600; } -@media only screen and (max-width: 768px) { +@media only screen and (max-width: 800px) { .menu-bar { flex-flow: row wrap; margin: 0; @@ -255,6 +255,13 @@ main .separator { margin: var(--main-separator-margin) 0; } +iframe.bom { + display: flex; + flex-grow: 1; + margin-top: var(--menu-height); + border: none; +} + footer { display: flex; flex-flow: column;