diff --git a/docs/public/icons/React-icon.svg b/docs/public/icons/React-icon.svg deleted file mode 100644 index 5592ebec6..000000000 --- a/docs/public/icons/React-icon.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - diff --git a/docs/public/icons/clipboard-solid.svg b/docs/public/icons/clipboard-solid.svg deleted file mode 100644 index 628d0b7e3..000000000 --- a/docs/public/icons/clipboard-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/public/icons/coding.svg b/docs/public/icons/coding.svg deleted file mode 100644 index 9c3e30d24..000000000 --- a/docs/public/icons/coding.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/public/icons/document.svg b/docs/public/icons/document.svg deleted file mode 100644 index 471d8c2c6..000000000 --- a/docs/public/icons/document.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/public/icons/framework-thumbnails/framework-lit.svg b/docs/public/icons/framework-thumbnails/framework-lit.svg deleted file mode 100644 index 927f80610..000000000 --- a/docs/public/icons/framework-thumbnails/framework-lit.svg +++ /dev/null @@ -1,295 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/framework-thumbnails/framework-preact.svg b/docs/public/icons/framework-thumbnails/framework-preact.svg deleted file mode 100644 index e6363b51f..000000000 --- a/docs/public/icons/framework-thumbnails/framework-preact.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/framework-thumbnails/framework-react.svg b/docs/public/icons/framework-thumbnails/framework-react.svg deleted file mode 100644 index c3729b32b..000000000 --- a/docs/public/icons/framework-thumbnails/framework-react.svg +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/framework-thumbnails/framework-solid.svg b/docs/public/icons/framework-thumbnails/framework-solid.svg deleted file mode 100644 index 8dffea91a..000000000 --- a/docs/public/icons/framework-thumbnails/framework-solid.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/framework-thumbnails/framework-svelte.svg b/docs/public/icons/framework-thumbnails/framework-svelte.svg deleted file mode 100644 index e39ba7e42..000000000 --- a/docs/public/icons/framework-thumbnails/framework-svelte.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/framework-thumbnails/framework-vue.svg b/docs/public/icons/framework-thumbnails/framework-vue.svg deleted file mode 100644 index b484ae0f3..000000000 --- a/docs/public/icons/framework-thumbnails/framework-vue.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/framework-thumbnails/snowpack.svg b/docs/public/icons/framework-thumbnails/snowpack.svg deleted file mode 100644 index 879c2f5b3..000000000 --- a/docs/public/icons/framework-thumbnails/snowpack.svg +++ /dev/null @@ -1,212 +0,0 @@ - -image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/framework-thumbnails/with-nanostores.svg b/docs/public/icons/framework-thumbnails/with-nanostores.svg deleted file mode 100644 index 681181899..000000000 --- a/docs/public/icons/framework-thumbnails/with-nanostores.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/framework-thumbnails/with-tailwindcss.svg b/docs/public/icons/framework-thumbnails/with-tailwindcss.svg deleted file mode 100644 index d8f40c091..000000000 --- a/docs/public/icons/framework-thumbnails/with-tailwindcss.svg +++ /dev/null @@ -1,343 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/github.svg b/docs/public/icons/github.svg deleted file mode 100644 index d9a232c77..000000000 --- a/docs/public/icons/github.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/public/icons/license/license.pdf b/docs/public/icons/license/license.pdf deleted file mode 100644 index bdeedb701..000000000 Binary files a/docs/public/icons/license/license.pdf and /dev/null differ diff --git a/docs/public/icons/space-icons-rounded-small/001-pluto.svg b/docs/public/icons/space-icons-rounded-small/001-pluto.svg deleted file mode 100644 index d8b1bc2c8..000000000 --- a/docs/public/icons/space-icons-rounded-small/001-pluto.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/002-mercury.svg b/docs/public/icons/space-icons-rounded-small/002-mercury.svg deleted file mode 100644 index cc1c1bd1b..000000000 --- a/docs/public/icons/space-icons-rounded-small/002-mercury.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/003-saturn-1.svg b/docs/public/icons/space-icons-rounded-small/003-saturn-1.svg deleted file mode 100644 index 71110dc65..000000000 --- a/docs/public/icons/space-icons-rounded-small/003-saturn-1.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/004-uranus.svg b/docs/public/icons/space-icons-rounded-small/004-uranus.svg deleted file mode 100644 index cba0f9fb1..000000000 --- a/docs/public/icons/space-icons-rounded-small/004-uranus.svg +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/005-space-station-1.svg b/docs/public/icons/space-icons-rounded-small/005-space-station-1.svg deleted file mode 100644 index ec928c1fe..000000000 --- a/docs/public/icons/space-icons-rounded-small/005-space-station-1.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/006-jupiter.svg b/docs/public/icons/space-icons-rounded-small/006-jupiter.svg deleted file mode 100644 index 9634824d3..000000000 --- a/docs/public/icons/space-icons-rounded-small/006-jupiter.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/007-comet.svg b/docs/public/icons/space-icons-rounded-small/007-comet.svg deleted file mode 100644 index 1dafab9f2..000000000 --- a/docs/public/icons/space-icons-rounded-small/007-comet.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/008-satellite-3.svg b/docs/public/icons/space-icons-rounded-small/008-satellite-3.svg deleted file mode 100644 index d9514cf6e..000000000 --- a/docs/public/icons/space-icons-rounded-small/008-satellite-3.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/009-meteorite-1.svg b/docs/public/icons/space-icons-rounded-small/009-meteorite-1.svg deleted file mode 100644 index 3ba1351b7..000000000 --- a/docs/public/icons/space-icons-rounded-small/009-meteorite-1.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/010-lander.svg b/docs/public/icons/space-icons-rounded-small/010-lander.svg deleted file mode 100644 index 5336210c5..000000000 --- a/docs/public/icons/space-icons-rounded-small/010-lander.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/011-rocket-ship.svg b/docs/public/icons/space-icons-rounded-small/011-rocket-ship.svg deleted file mode 100644 index 1d5b90fb4..000000000 --- a/docs/public/icons/space-icons-rounded-small/011-rocket-ship.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/012-blaster.svg b/docs/public/icons/space-icons-rounded-small/012-blaster.svg deleted file mode 100644 index 156978483..000000000 --- a/docs/public/icons/space-icons-rounded-small/012-blaster.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/013-satellite-2.svg b/docs/public/icons/space-icons-rounded-small/013-satellite-2.svg deleted file mode 100644 index 6ed6ace43..000000000 --- a/docs/public/icons/space-icons-rounded-small/013-satellite-2.svg +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/014-space-capsule-1.svg b/docs/public/icons/space-icons-rounded-small/014-space-capsule-1.svg deleted file mode 100644 index fb01a12a2..000000000 --- a/docs/public/icons/space-icons-rounded-small/014-space-capsule-1.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/015-planet-earth-1.svg b/docs/public/icons/space-icons-rounded-small/015-planet-earth-1.svg deleted file mode 100644 index 52ec29f7f..000000000 --- a/docs/public/icons/space-icons-rounded-small/015-planet-earth-1.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/016-saturn.svg b/docs/public/icons/space-icons-rounded-small/016-saturn.svg deleted file mode 100644 index 5e0c25aac..000000000 --- a/docs/public/icons/space-icons-rounded-small/016-saturn.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/017-moon.svg b/docs/public/icons/space-icons-rounded-small/017-moon.svg deleted file mode 100644 index 76cf7d2da..000000000 --- a/docs/public/icons/space-icons-rounded-small/017-moon.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/018-black-hole.svg b/docs/public/icons/space-icons-rounded-small/018-black-hole.svg deleted file mode 100644 index 20db10ec2..000000000 --- a/docs/public/icons/space-icons-rounded-small/018-black-hole.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/019-constellation.svg b/docs/public/icons/space-icons-rounded-small/019-constellation.svg deleted file mode 100644 index 2e5d5db72..000000000 --- a/docs/public/icons/space-icons-rounded-small/019-constellation.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/020-meteor.svg b/docs/public/icons/space-icons-rounded-small/020-meteor.svg deleted file mode 100644 index d6fa70ef0..000000000 --- a/docs/public/icons/space-icons-rounded-small/020-meteor.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/021-alien.svg b/docs/public/icons/space-icons-rounded-small/021-alien.svg deleted file mode 100644 index 6d18a312c..000000000 --- a/docs/public/icons/space-icons-rounded-small/021-alien.svg +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/022-monkey.svg b/docs/public/icons/space-icons-rounded-small/022-monkey.svg deleted file mode 100644 index e6938e2b0..000000000 --- a/docs/public/icons/space-icons-rounded-small/022-monkey.svg +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/023-half-moon.svg b/docs/public/icons/space-icons-rounded-small/023-half-moon.svg deleted file mode 100644 index 55f7d0add..000000000 --- a/docs/public/icons/space-icons-rounded-small/023-half-moon.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/024-ufo-1.svg b/docs/public/icons/space-icons-rounded-small/024-ufo-1.svg deleted file mode 100644 index 1833464cd..000000000 --- a/docs/public/icons/space-icons-rounded-small/024-ufo-1.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/025-united-states-of-america.svg b/docs/public/icons/space-icons-rounded-small/025-united-states-of-america.svg deleted file mode 100644 index 99d3e04bc..000000000 --- a/docs/public/icons/space-icons-rounded-small/025-united-states-of-america.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/026-satellite-1.svg b/docs/public/icons/space-icons-rounded-small/026-satellite-1.svg deleted file mode 100644 index 25649191e..000000000 --- a/docs/public/icons/space-icons-rounded-small/026-satellite-1.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/027-space-capsule.svg b/docs/public/icons/space-icons-rounded-small/027-space-capsule.svg deleted file mode 100644 index 2a68316ea..000000000 --- a/docs/public/icons/space-icons-rounded-small/027-space-capsule.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/028-sun.svg b/docs/public/icons/space-icons-rounded-small/028-sun.svg deleted file mode 100644 index 9488453b2..000000000 --- a/docs/public/icons/space-icons-rounded-small/028-sun.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/029-satellite-dish.svg b/docs/public/icons/space-icons-rounded-small/029-satellite-dish.svg deleted file mode 100644 index 727c44e9a..000000000 --- a/docs/public/icons/space-icons-rounded-small/029-satellite-dish.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/030-observatory.svg b/docs/public/icons/space-icons-rounded-small/030-observatory.svg deleted file mode 100644 index 6b4b9a1bd..000000000 --- a/docs/public/icons/space-icons-rounded-small/030-observatory.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/031-telescope.svg b/docs/public/icons/space-icons-rounded-small/031-telescope.svg deleted file mode 100644 index 56efe4b37..000000000 --- a/docs/public/icons/space-icons-rounded-small/031-telescope.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/032-space-station.svg b/docs/public/icons/space-icons-rounded-small/032-space-station.svg deleted file mode 100644 index 737b40417..000000000 --- a/docs/public/icons/space-icons-rounded-small/032-space-station.svg +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/033-space-shuttle-1.svg b/docs/public/icons/space-icons-rounded-small/033-space-shuttle-1.svg deleted file mode 100644 index 6b10b2c2f..000000000 --- a/docs/public/icons/space-icons-rounded-small/033-space-shuttle-1.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/034-moon-rover.svg b/docs/public/icons/space-icons-rounded-small/034-moon-rover.svg deleted file mode 100644 index 17cd5b4ed..000000000 --- a/docs/public/icons/space-icons-rounded-small/034-moon-rover.svg +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/035-ufo.svg b/docs/public/icons/space-icons-rounded-small/035-ufo.svg deleted file mode 100644 index 70a984100..000000000 --- a/docs/public/icons/space-icons-rounded-small/035-ufo.svg +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/036-astronaut-1.svg b/docs/public/icons/space-icons-rounded-small/036-astronaut-1.svg deleted file mode 100644 index 72cb95efb..000000000 --- a/docs/public/icons/space-icons-rounded-small/036-astronaut-1.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/037-rocket-2.svg b/docs/public/icons/space-icons-rounded-small/037-rocket-2.svg deleted file mode 100644 index e4a48e2c0..000000000 --- a/docs/public/icons/space-icons-rounded-small/037-rocket-2.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/038-rocket-1.svg b/docs/public/icons/space-icons-rounded-small/038-rocket-1.svg deleted file mode 100644 index 646e272ea..000000000 --- a/docs/public/icons/space-icons-rounded-small/038-rocket-1.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/039-mars.svg b/docs/public/icons/space-icons-rounded-small/039-mars.svg deleted file mode 100644 index d04107409..000000000 --- a/docs/public/icons/space-icons-rounded-small/039-mars.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/040-rocket.svg b/docs/public/icons/space-icons-rounded-small/040-rocket.svg deleted file mode 100644 index a465ee999..000000000 --- a/docs/public/icons/space-icons-rounded-small/040-rocket.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/041-solar-system-1.svg b/docs/public/icons/space-icons-rounded-small/041-solar-system-1.svg deleted file mode 100644 index 1986d4c4e..000000000 --- a/docs/public/icons/space-icons-rounded-small/041-solar-system-1.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/042-solar-system.svg b/docs/public/icons/space-icons-rounded-small/042-solar-system.svg deleted file mode 100644 index 85f27f5a4..000000000 --- a/docs/public/icons/space-icons-rounded-small/042-solar-system.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/043-astronaut.svg b/docs/public/icons/space-icons-rounded-small/043-astronaut.svg deleted file mode 100644 index f32f4f87e..000000000 --- a/docs/public/icons/space-icons-rounded-small/043-astronaut.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/044-footprint.svg b/docs/public/icons/space-icons-rounded-small/044-footprint.svg deleted file mode 100644 index 2293bd6dc..000000000 --- a/docs/public/icons/space-icons-rounded-small/044-footprint.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/045-space-shuttle.svg b/docs/public/icons/space-icons-rounded-small/045-space-shuttle.svg deleted file mode 100644 index 863d21fb5..000000000 --- a/docs/public/icons/space-icons-rounded-small/045-space-shuttle.svg +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/046-satellite.svg b/docs/public/icons/space-icons-rounded-small/046-satellite.svg deleted file mode 100644 index c4c96a985..000000000 --- a/docs/public/icons/space-icons-rounded-small/046-satellite.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/047-meteorite.svg b/docs/public/icons/space-icons-rounded-small/047-meteorite.svg deleted file mode 100644 index 60ee70aea..000000000 --- a/docs/public/icons/space-icons-rounded-small/047-meteorite.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/048-space.svg b/docs/public/icons/space-icons-rounded-small/048-space.svg deleted file mode 100644 index f0d013138..000000000 --- a/docs/public/icons/space-icons-rounded-small/048-space.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/049-venus.svg b/docs/public/icons/space-icons-rounded-small/049-venus.svg deleted file mode 100644 index 0b04f52ec..000000000 --- a/docs/public/icons/space-icons-rounded-small/049-venus.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space-icons-rounded-small/050-planet-earth.svg b/docs/public/icons/space-icons-rounded-small/050-planet-earth.svg deleted file mode 100644 index b2e1e7f9b..000000000 --- a/docs/public/icons/space-icons-rounded-small/050-planet-earth.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/space.svg b/docs/public/icons/space.svg deleted file mode 100644 index 015bc8152..000000000 --- a/docs/public/icons/space.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/public/icons/tailwindcss.svg b/docs/public/icons/tailwindcss.svg deleted file mode 100644 index 480da41bc..000000000 --- a/docs/public/icons/tailwindcss.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/public/icons/web-programming.svg b/docs/public/icons/web-programming.svg deleted file mode 100644 index 2e68d0954..000000000 --- a/docs/public/icons/web-programming.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/public/images/aldebaran-s-zAm8YFpCCsc-unsplash.jpg b/docs/public/images/aldebaran-s-zAm8YFpCCsc-unsplash.jpg deleted file mode 100644 index 8a50cf50f..000000000 Binary files a/docs/public/images/aldebaran-s-zAm8YFpCCsc-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/bryan-goff-f7YQo-eYHdM-unsplash.jpg b/docs/public/images/bryan-goff-f7YQo-eYHdM-unsplash.jpg deleted file mode 100644 index b5ded19c8..000000000 Binary files a/docs/public/images/bryan-goff-f7YQo-eYHdM-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/chen-liu-jgt81f_UDuU-unsplash.jpg b/docs/public/images/chen-liu-jgt81f_UDuU-unsplash.jpg deleted file mode 100644 index 2cfb74a0b..000000000 Binary files a/docs/public/images/chen-liu-jgt81f_UDuU-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/guillermo-ferla-kEEl9csCutg-unsplash.jpg b/docs/public/images/guillermo-ferla-kEEl9csCutg-unsplash.jpg deleted file mode 100644 index 32af82661..000000000 Binary files a/docs/public/images/guillermo-ferla-kEEl9csCutg-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/history-in-hd-e5eDHbmHprg-unsplash.jpg b/docs/public/images/history-in-hd-e5eDHbmHprg-unsplash.jpg deleted file mode 100644 index e4b0b7806..000000000 Binary files a/docs/public/images/history-in-hd-e5eDHbmHprg-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/joel-filipe-QwoNAhbmLLo-unsplash.jpg b/docs/public/images/joel-filipe-QwoNAhbmLLo-unsplash.jpg deleted file mode 100644 index 016401069..000000000 Binary files a/docs/public/images/joel-filipe-QwoNAhbmLLo-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/jongsun-lee-F-pSZO_jeE8-unsplash.jpg b/docs/public/images/jongsun-lee-F-pSZO_jeE8-unsplash.jpg deleted file mode 100644 index 796c93d35..000000000 Binary files a/docs/public/images/jongsun-lee-F-pSZO_jeE8-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/mathew-schwartz-7YiZKj9A3DM-unsplash.jpg b/docs/public/images/mathew-schwartz-7YiZKj9A3DM-unsplash.jpg deleted file mode 100644 index e0a76ffe5..000000000 Binary files a/docs/public/images/mathew-schwartz-7YiZKj9A3DM-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/nasa--hI5dX2ObAs-unsplash.jpg b/docs/public/images/nasa--hI5dX2ObAs-unsplash.jpg deleted file mode 100644 index a6fd0b979..000000000 Binary files a/docs/public/images/nasa--hI5dX2ObAs-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/nasa-2W-QWAC0mzI-unsplash.jpg b/docs/public/images/nasa-2W-QWAC0mzI-unsplash.jpg deleted file mode 100644 index 696f0f425..000000000 Binary files a/docs/public/images/nasa-2W-QWAC0mzI-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/nasa-Q1p7bh3SHj8-unsplash.jpg b/docs/public/images/nasa-Q1p7bh3SHj8-unsplash.jpg deleted file mode 100644 index 22ada27c3..000000000 Binary files a/docs/public/images/nasa-Q1p7bh3SHj8-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/nasa-jlV2k_Fx0fc-unsplash.jpg b/docs/public/images/nasa-jlV2k_Fx0fc-unsplash.jpg deleted file mode 100644 index 4c1402370..000000000 Binary files a/docs/public/images/nasa-jlV2k_Fx0fc-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/nasa-pd4lo70LdbI-unsplash.jpg b/docs/public/images/nasa-pd4lo70LdbI-unsplash.jpg deleted file mode 100644 index a2c332340..000000000 Binary files a/docs/public/images/nasa-pd4lo70LdbI-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/nasa-vltMzn0jqsA-unsplash.jpg b/docs/public/images/nasa-vltMzn0jqsA-unsplash.jpg deleted file mode 100644 index 24593055c..000000000 Binary files a/docs/public/images/nasa-vltMzn0jqsA-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/nasa-yZygONrUBe8-unsplash.jpg b/docs/public/images/nasa-yZygONrUBe8-unsplash.jpg deleted file mode 100644 index 2195e013e..000000000 Binary files a/docs/public/images/nasa-yZygONrUBe8-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/niketh-vellanki-QkSN_8XcXwQ-unsplash.jpg b/docs/public/images/niketh-vellanki-QkSN_8XcXwQ-unsplash.jpg deleted file mode 100644 index 8ec32c861..000000000 Binary files a/docs/public/images/niketh-vellanki-QkSN_8XcXwQ-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/spacex-yJv97tE7GDM-unsplash.jpg b/docs/public/images/spacex-yJv97tE7GDM-unsplash.jpg deleted file mode 100644 index 441841509..000000000 Binary files a/docs/public/images/spacex-yJv97tE7GDM-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/the-new-york-public-library-gnTI0R9N0vA-unsplash.jpg b/docs/public/images/the-new-york-public-library-gnTI0R9N0vA-unsplash.jpg deleted file mode 100644 index 88e5b0353..000000000 Binary files a/docs/public/images/the-new-york-public-library-gnTI0R9N0vA-unsplash.jpg and /dev/null differ diff --git a/docs/public/images/the-new-york-public-library-yEauzeZU6xo-unsplash.jpg b/docs/public/images/the-new-york-public-library-yEauzeZU6xo-unsplash.jpg deleted file mode 100644 index a8bc63b24..000000000 Binary files a/docs/public/images/the-new-york-public-library-yEauzeZU6xo-unsplash.jpg and /dev/null differ diff --git a/docs/public/index.css b/docs/public/index.css index b48f70862..ba7fce412 100644 --- a/docs/public/index.css +++ b/docs/public/index.css @@ -219,7 +219,6 @@ pre { --padding-inline: 2rem; padding: var(--padding-block) var(--padding-inline); padding-right: calc(var(--padding-inline) * 2); - margin-top: calc(var(--padding-inline) * 0.5); margin-left: calc(var(--padding-inline) * -1); margin-right: calc(var(--padding-inline) * -1); font-family: var(--font-mono); diff --git a/docs/public/theme.css b/docs/public/theme.css index 660258a6d..551ee15e0 100644 --- a/docs/public/theme.css +++ b/docs/public/theme.css @@ -15,13 +15,12 @@ * ex: * * --color-base-{color}: {hue}, {saturation}; - * hsla(215, 28%, 17%, 1); + * */ --color-base-white: 0, 0%; --color-base-black: 240, 100%; --color-base-gray: 215, 14%; - --color-base-dark-grey: 215, 28%; --color-base-blue: 212, 100%; --color-base-blue-dark: 212, 72%; --color-base-green: 158, 79%; @@ -56,11 +55,6 @@ --color-purple: var(--color-base-purple), 54%; --color-red: var(--color-base-red), 54%; --color-yellow: var(--color-base-yellow), 59%; - --color-grey-dark:var(--color-base-dark-grey),17%; - --color-shadow-lightest: var(--color-base-white),88%; - --color-shadow-light: var(--color-base-white),75%; - --color-shadow-lightest: var(--color-base-white),88%; - --color-shadow-light: var(--color-base-white),75%; } :root { @@ -71,7 +65,6 @@ --theme-divider: hsla(var(--color-gray-95), 1); --theme-text: hsla(var(--color-gray-10), 1); --theme-text-light: hsla(var(--color-gray-40), 1); - --theme-box-shadow-light: hsla(var(var(--color-shadow-light))) /* @@@: not used anywhere */ --theme-text-lighter: hsla(var(--color-gray-80), 1); --theme-bg: hsla(var(--color-base-white), 100%, 1); @@ -86,9 +79,6 @@ --theme-navbar-height: 6rem; --theme-selection-color: hsla(var(--color-orange), 1); --theme-selection-bg: hsla(var(--color-orange), var(--theme-accent-opacity)); - --theme-card-bg: linear-gradient(-76deg,#00000078, hsl(0deg 7% 58% / 34%) 39%, transparent); - --theme-card-box-shadow: -4px -2px 20px 2px #c6c6cf, 12px 12px 30px -8px #353439; - --theme-card-divider:#a09e9e70; } body { @@ -107,19 +97,17 @@ body { /* @@@: not used anywhere */ --theme-text-lighter: hsla(var(--color-gray-40), 1); - --theme-bg: hsla(var(--color-grey-dark), 1); + --theme-bg: hsla(215, 28%, 17%, 1); --theme-bg-hover: hsla(var(--color-gray-40), 1); --theme-bg-offset: hsla(var(--color-gray-5), 1); --theme-code-inline-bg: hsla(var(--color-gray-10), 1); --theme-code-inline-text: hsla(var(--color-base-white), 100%, 1); --theme-code-bg: hsla(var(--color-gray-5), 1); --theme-code-text: hsla(var(--color-base-white), 100%, 1); - --theme-navbar-bg: hsla(var(--color-grey-dark), 1); + --theme-navbar-bg: hsla(215, 28%, 17%, 1); --theme-selection-color: hsla(var(--color-base-white), 100%, 1); --theme-selection-bg: hsla(var(--color-purple), var(--theme-accent-opacity)); - --theme-card-bg: linear-gradient(96deg, #243245, #1c2532 50%,#000000cf 100%);; - --theme-card-box-shadow:13px 9px 12px 0px #10151c, -4px -2px 20px 2px #2e3d52; - --theme-card-divider:#2e3a49; + /* DocSearch [Algolia] */ --docsearch-modal-background: var(--theme-bg); --docsearch-searchbox-focus-background: var(--theme-divider); diff --git a/docs/src/components/Examples/Card.astro b/docs/src/components/Examples/Card.astro index 31b98f4de..81d3b97f4 100644 --- a/docs/src/components/Examples/Card.astro +++ b/docs/src/components/Examples/Card.astro @@ -1,51 +1,64 @@ --- - -import capitalise from './Functions/capitalise.js' -import formatName from './Functions/format-name.js' -import getThumbnailIcon from './Functions/get-thumbnail-icon.js' -import getHeroImg from './Functions/get-hero-img.js' - -import CardLink from './CardLink.tsx' -import CardImage from './CardImage.astro' import CodeBar from './Codebar.tsx' import CardButtons from './CardButtons.astro' -const {data:{name,readme="",pkgJSON:{description,keywords,repository}}} = Astro.props +const {data, index} = Astro.props; -const getThumbnail = async() =>{ - if(keywords.includes('framework') && !name.match('framework-multiple') || name.match('with-tailwindcss') || name.match('snowpack') || name.match('with-nanostores')){ - return `/icons/framework-thumbnails/${name}.svg` - } +// NOTE: Needed until we get hosted demos of official templates. +const PLACEHOLDER_THUMBNAILS = [ + // `#ba5370, #F4E2D8`, + // `#22c1c3, #fdbb2d`, + // `#7a5e99, #9f5dcf, #e864ca, #fdeff9`, + // `#e1eec3, #f05053`, + // `#7f00ff, #e100ff`, + `var(--theme-bg-accent), var(--theme-accent)`, +] - let avatarSrc = await getThumbnailIcon() || '/icons/space-icons-rounded-small/048-space.svg' - return avatarSrc -} - -const href = `/templates/${name}` +const hasScreenshot = !!data.demo; +const backgroundStyle = hasScreenshot ? `url('https://v1.screenshot.11ty.dev/${encodeURIComponent(data.demo)}/medium/9:16/')` : `linear-gradient(60deg, var(--theme-bg-accent), var(--theme-accent))` --- - -
-
- - -
-
- A Randomised Thumbnail Image -
- - -
-
-
-
- \ No newline at end of file + +
+ {hasScreenshot &&
} +
+ {data.name} + {` →`} +
+
\ No newline at end of file diff --git a/docs/src/components/Examples/CardImage.astro b/docs/src/components/Examples/CardImage.astro deleted file mode 100644 index d785b6ce8..000000000 --- a/docs/src/components/Examples/CardImage.astro +++ /dev/null @@ -1,20 +0,0 @@ ---- -import getHeroImg from './Functions/get-hero-img.js' -const getImg = await getHeroImg() || 'https://source.unsplash.com/600x300/?space,cosmos' ---- - - A Image of Space - - \ No newline at end of file diff --git a/docs/src/components/Examples/Functions/capitalise.js b/docs/src/components/Examples/Functions/capitalise.js deleted file mode 100644 index 39f7497b5..000000000 --- a/docs/src/components/Examples/Functions/capitalise.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * - * @param {String} word - * @returns Capitalised Word - */ -export default function capitalise(word) { - return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase(); - } \ No newline at end of file diff --git a/docs/src/components/Examples/Functions/format-name.js b/docs/src/components/Examples/Functions/format-name.js deleted file mode 100644 index 890275c9d..000000000 --- a/docs/src/components/Examples/Functions/format-name.js +++ /dev/null @@ -1,24 +0,0 @@ -import capitalise from './capitalise' - -/** - * - * @param {String} name - * @returns Formats the Template Name - */ -export default function formatName(name){ - return name.includes('multiple') - ? - `${capitalise(name.split('-')[1])} ${capitalise(name.split('-')[0])}'s` - : - name - .split('-') - .map((str)=>( - str.replace('with','') - )) - .map((str)=>( - str.replace('framework','') - )) - .map((str)=>(capitalise(str))) - .join(' ') - .trim() -} \ No newline at end of file diff --git a/docs/src/components/Examples/Functions/get-examples-data.js b/docs/src/components/Examples/Functions/get-examples-data.js deleted file mode 100644 index e206bab10..000000000 --- a/docs/src/components/Examples/Functions/get-examples-data.js +++ /dev/null @@ -1,75 +0,0 @@ -import glob from 'tiny-glob' -import fs from 'fs' - - -/** - * @returns list of templates's package.json from the examples folder - */ -async function getPkgJSON(){ - let data = [] - const paths = await glob('../examples/*/package.json',{filesOnly:true}) - paths.map((files)=>{ - let readFile = fs.readFileSync(files) - let json = JSON.parse(readFile) - return data.push({...json}) - }) - return data -} - -/** - * @returns list of templates readme from the examples folder - */ -async function getExamplesREADME(){ - let data = [] - const paths = await glob('../examples/*/README.md',{filesOnly:true}) - paths.map( (files)=>{ - const buffer = fs.readFileSync(files) - let text = buffer.toString() - let fileName = files.split('/')[2] - data.push({fileName,text}) - }) - return data -} - -/** - * @returns list of template data - */ -async function getTemplateData(){ - let data = [] - const pkgJSONS = await getPkgJSON() - pkgJSONS.map((pkg)=>{ - let {name} = pkg - name = name.replace('@example/','') - let obj = { - name, - pkgJSON: pkg, - readme:undefined, - } - data.push(obj) - }) - return data -} - - -/** - * - * @returns Array of Template objects, - */ -async function templateData() { - let readmeData = await getExamplesREADME() - let templateData = await getTemplateData() - let arr = templateData.map((obj,i)=>{ - let {name} = obj - readmeData.map((file)=>{ - let {fileName,text} = file - if(name === fileName) - obj.readme = text - }) - - return obj - }) - return arr -} - -export default templateData - diff --git a/docs/src/components/Examples/Functions/get-examples-headers.js b/docs/src/components/Examples/Functions/get-examples-headers.js deleted file mode 100644 index 9b75d2e5d..000000000 --- a/docs/src/components/Examples/Functions/get-examples-headers.js +++ /dev/null @@ -1,27 +0,0 @@ -// import {templatesList as data} from './templatesList.ts' -import templateData from './get-examples-data.js' -const data = await templateData() -console.log(data) - -// const examplesHeaders = data.map(section=>{ -// let arr = [] -// let obj = { -// depth:2, -// slug:section.title, -// text:section.title, -// } -// arr.push(obj) - -// section.children.map(example=>{ -// let obj={ -// depth:3, -// slug:example.text, -// text:example.text, -// } -// arr.push(obj) -// }) -// return [...arr] -// }).flat(2) - - -// export default examplesHeaders \ No newline at end of file diff --git a/docs/src/components/Examples/Functions/get-hero-img.js b/docs/src/components/Examples/Functions/get-hero-img.js deleted file mode 100644 index 8ed1ac9b3..000000000 --- a/docs/src/components/Examples/Functions/get-hero-img.js +++ /dev/null @@ -1,18 +0,0 @@ -import fs from 'node:fs/promises' -import randomIndex from './random-index' - - -/** - * getHeroImg - * @returns url of random Hero Image from './public/images' - */ -export default async function getHeroImg(){ - try { - const data =[] - const paths =await fs.readdir('./public/images',{filesOnly:true}) - paths.map(path=>data.push(`/images/${path}`)) - return data[randomIndex(paths.length)] - } catch (error) { - console.log(error) - } -} diff --git a/docs/src/components/Examples/Functions/get-thumbnail-icon.js b/docs/src/components/Examples/Functions/get-thumbnail-icon.js deleted file mode 100644 index 21ae3b673..000000000 --- a/docs/src/components/Examples/Functions/get-thumbnail-icon.js +++ /dev/null @@ -1,18 +0,0 @@ -import fs from 'node:fs/promises' -import randomIndex from './random-index.js' - - -/** - * getThumbnailIcon - * @returns url of random Icon Image from './public/icons' - */ -export default async function getThumbnailIcon(){ - try { - const data =[] - const paths =await fs.readdir('./public/icons/space-icons-rounded-small',{filesOnly:true}) - paths.map(path=>data.push(`/icons/space-icons-rounded-small/${path}`)) - return data[randomIndex(paths.length)] - } catch (error) { - console.log(`Error Generating Thumbnail : ${error}`) - } -} diff --git a/docs/src/components/Examples/Functions/random-index.js b/docs/src/components/Examples/Functions/random-index.js deleted file mode 100644 index a55487da5..000000000 --- a/docs/src/components/Examples/Functions/random-index.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Random Index from Array - * @param {Number} length - Length of Array - * @returns Random Index from the Array - */ - -const randomIndex = (length) => Math.round(Math.random() * (0-length)) + length - 1 - -export default randomIndex \ No newline at end of file diff --git a/docs/src/components/Examples/templatesList.ts b/docs/src/components/Examples/templatesList.ts deleted file mode 100644 index 91f5083bd..000000000 --- a/docs/src/components/Examples/templatesList.ts +++ /dev/null @@ -1,151 +0,0 @@ -export const templatesList=[ - { - category:"Templates", - title:"create-astro Templates", - - children:[ - { - text: "Starter Template", - github: "https://github.com/snowpackjs/astro/tree/main/examples/starter", - demo:"https://youtu.be/dQw4w9WgXcQ?t=42", - blurb:"Astro's Default Starter Project, an open-air sandbox. Letting you build your Astro Project as you see fit.", - command:"npm init astro my-astro-project -- --template starter" - }, - { - text: "Doc\'s", - github: "https://github.com/snowpackjs/astro/tree/main/examples/docs", - demo:"", - blurb:"Astro's Documentation Template, is an example of a Documentation site built using Astro.", - command:"npm init astro my-astro-project -- --template docs" - }, - { - text: "Blog", - github: "https://github.com/snowpackjs/astro/tree/main/examples/blog", - demo:"", - blurb:"Astro's Blog Template, is an example of a Blogging site built using Astro.", - command:"npm init astro my-astro-project -- --template blog" - }, - { - text: "Blog with Multiple Authors", - github: "https://github.com/snowpackjs/astro/tree/main/examples/blog-multiple-authors", - demo:"", - blurb:"Astro's Multiple Authors Blogging Template, is an example of a Blogging site for Multiple Authors built using Astro.", - command:"npm init astro my-astro-project -- --template blog" - }, - { - text: "Portfolio", - github: "https://github.com/snowpackjs/astro/tree/main/examples/portfolio", - demo:"", - blurb:"Astro's Portfolio Template, an example of a Portfolio site built using Astro.", - command:"npm init astro my-astro-project -- --template portfolio" - }, - ] - }, - { - category:"Framework's", - title:"UI Frameworks", - children:[ - { - text: "React + Astro", - github: "https://github.com/snowpackjs/astro/tree/main/examples/framework-react", - demo:"", - blurb:"An example on how to use React alongside Astro.", - command:"npm init astro my-astro-project -- --template framework-react" - }, - { - text: "Vue + Astro", - github: "https://github.com/snowpackjs/astro/tree/main/examples/framework-vue", - demo:"", - blurb:"An example on how to use Vue with Astro.", - command:"npm init astro my-astro-project -- --template framework-vue" - }, - { - text: "Svelte + Astro", - github: "https://github.com/snowpackjs/astro/tree/main/examples/framework-svelte", - demo:"", - blurb:"An example on how to use Svelte and Astro together.", - command:"npm init astro my-astro-project -- --template framework-svelte" - }, - { - text: "Preact + Astro", - github: "https://github.com/snowpackjs/astro/tree/main/examples/framework-preact", - demo:"", - blurb:"An example on how to use Preact along with Astro.", - command:"npm init astro my-astro-project -- --template framework-preact" - }, - { - text: "Solid + Astro", - github: "https://github.com/snowpackjs/astro/tree/main/examples/framework-solid", - demo:"", - blurb:"An example on how to use Solid together with Astro.", - command:"npm init astro my-astro-project -- --template framework-solid" - }, - { - text: "Lit + Astro", - github: "https://github.com/snowpackjs/astro/tree/main/examples/framework-lit", - demo:"", - blurb:"An example on how to use Lit together with Astro.", - command:"npm init astro my-astro-project -- --template framework-lit" - }, - { - text: "Multiple UI Frameworks Together As One, only with Astro", - github: "https://github.com/snowpackjs/astro/tree/main/examples/framework-multiple", - demo:"", - blurb:"Showcasing Astro's ability to utilise more than one framework at a time. \nHere we are demonstrating applying a combination of: React, Preact, Svelte & Vue Components all into one Astro project", - command:"npm init astro my-astro-project -- --template framework-multiple" - }, - - ] - }, - { - category:"Further Examples", - title:"Examples", - children:[ - { - text: "Astro with Markdown", - github: "https://github.com/snowpackjs/astro/tree/main/examples/with-markdown", - demo:"", - blurb:"An example on how to use Markdown inside an Astro project.", - command:"npm init astro my-astro-project -- --template with-markdown" - }, - { - text: "Astro with Markdown Plugins", - github: "https://github.com/snowpackjs/astro/tree/main/examples/with-markdown-plugins", - demo:"", - blurb:"An example on how to use the Markdown plugin: Rehype with Astro.", - command:"npm init astro my-astro-project -- --template with-markdown-plugins" - }, - { - text: "Astro with NanoStores", - github: "https://github.com/snowpackjs/astro/tree/main/examples/with-nanostores", - demo:"", - blurb:"An example on how share state between components from different frameworks inside Astro, using the excellent 'NanoStores' state utility package.", - command:"npm init astro my-astro-project -- --template with-nanostores" - }, - { - text: "Astro & TailwindCSS", - github: "https://github.com/snowpackjs/astro/tree/main/examples/with-tailwindcss", - demo:"", - blurb:"Astro comes with Tailwind support out of the box, this is an example of how TailwindCSS is used inside an Astro project.", - command:"npm init astro my-astro-project -- --template with-tailwindcss" - }, - - - ] - - }, - // { - // text:"Community Built Examples", - // children:[ - // // { - // // text: '', - // // github: '', - // // demo:"", - // // blurb:"", - // // command:"npm init astro my-astro-project -- --template" - // // }, - - // ] - - // }, -] \ No newline at end of file diff --git a/docs/src/components/PageContent/PageContent.astro b/docs/src/components/PageContent/PageContent.astro index 564b8485b..0598d7a2f 100644 --- a/docs/src/components/PageContent/PageContent.astro +++ b/docs/src/components/PageContent/PageContent.astro @@ -1,7 +1,7 @@ --- const {content, githubEditUrl, currentPage} = Astro.props; const title = content.title; -const headers = content.astro.headers; +const headers = content.astro?.headers; import MoreMenu from '../RightSidebar/MoreMenu.astro'; import TableOfContents from '../RightSidebar/TableOfContents.tsx'; import {getLanguageFromURL} from '../../util.ts'; @@ -38,9 +38,9 @@ const previous = index !== -1 ? (index === 0 ? null : links[index - 1]) : null;

{title}

- }