From 8c2cbb87dd3a098a38a3b293c4e58afa5818b45f Mon Sep 17 00:00:00 2001 From: Hans Date: Wed, 29 Nov 2023 01:32:51 +0100 Subject: [PATCH] site: remove banner (#9620) Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> --- pnpm-lock.yaml | 26 +++++++++++++--------- sites/svelte.dev/package.json | 8 +++---- sites/svelte.dev/src/routes/+layout.svelte | 20 +---------------- 3 files changed, 21 insertions(+), 33 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 52efe8c7396d..da4aa7d76bf8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -357,11 +357,11 @@ importers: specifier: ^9.0.0 version: 9.1.6 prettier: - specifier: ^3.0.3 - version: 3.0.3 + specifier: ^3.1.0 + version: 3.1.0 prettier-plugin-svelte: - specifier: ^3.0.3 - version: 3.1.0(prettier@3.0.3)(svelte@4.2.3) + specifier: ^3.1.2 + version: 3.1.2(prettier@3.1.0)(svelte@4.2.3) sass: specifier: ^1.67.0 version: 1.69.5 @@ -6073,24 +6073,24 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prettier-plugin-svelte@3.1.0(prettier@3.0.3)(svelte@4.2.3): + /prettier-plugin-svelte@3.1.0(prettier@3.0.3)(svelte@packages+svelte): resolution: {integrity: sha512-96+AZxs2ESqIFA9j+o+DHqY+BsUglezfl553LQd6VOtTyJq5GPuBEb3ElxF2cerFzKlYKttlH/VcVmRNj5oc3A==} peerDependencies: prettier: ^3.0.0 svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0 dependencies: prettier: 3.0.3 - svelte: 4.2.3 + svelte: link:packages/svelte dev: true - /prettier-plugin-svelte@3.1.0(prettier@3.0.3)(svelte@packages+svelte): - resolution: {integrity: sha512-96+AZxs2ESqIFA9j+o+DHqY+BsUglezfl553LQd6VOtTyJq5GPuBEb3ElxF2cerFzKlYKttlH/VcVmRNj5oc3A==} + /prettier-plugin-svelte@3.1.2(prettier@3.1.0)(svelte@4.2.3): + resolution: {integrity: sha512-7xfMZtwgAWHMT0iZc8jN4o65zgbAQ3+O32V6W7pXrqNvKnHnkoyQCGCbKeUyXKZLbYE0YhFRnamfxfkEGxm8qA==} peerDependencies: prettier: ^3.0.0 svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0 dependencies: - prettier: 3.0.3 - svelte: link:packages/svelte + prettier: 3.1.0 + svelte: 4.2.3 dev: true /prettier@2.8.8: @@ -6105,6 +6105,12 @@ packages: hasBin: true dev: true + /prettier@3.1.0: + resolution: {integrity: sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==} + engines: {node: '>=14'} + hasBin: true + dev: true + /pretty-format@29.7.0: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} diff --git a/sites/svelte.dev/package.json b/sites/svelte.dev/package.json index 9c999e8e611a..a905ae329dbc 100644 --- a/sites/svelte.dev/package.json +++ b/sites/svelte.dev/package.json @@ -13,8 +13,8 @@ "start": "node build", "check": "node scripts/update.js && pnpm generate && svelte-kit sync && svelte-check", "check:watch": "svelte-kit sync && svelte-check --watch", - "format": "prettier --check . --ignore-path .gitignore --plugin-search-dir=. --write", - "check:format": "prettier --check . --ignore-path .gitignore --plugin-search-dir=." + "format": "prettier --check . --write", + "check:format": "prettier --check ." }, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15", @@ -41,8 +41,8 @@ "lightningcss": "^1.21.8", "magic-string": "^0.30.3", "marked": "^9.0.0", - "prettier": "^3.0.3", - "prettier-plugin-svelte": "^3.0.3", + "prettier": "^3.1.0", + "prettier-plugin-svelte": "^3.1.2", "sass": "^1.67.0", "satori": "^0.10.4", "satori-html": "^0.3.2", diff --git a/sites/svelte.dev/src/routes/+layout.svelte b/sites/svelte.dev/src/routes/+layout.svelte index 80ab282ab39c..4e9857b4b17d 100644 --- a/sites/svelte.dev/src/routes/+layout.svelte +++ b/sites/svelte.dev/src/routes/+layout.svelte @@ -32,11 +32,7 @@
- + - -
@@ -94,12 +84,4 @@ height: 100%; width: 100%; } - - .banner-bottom { - text-align: center; - background: var(--sk-theme-1-variant); - color: white; - text-decoration: underline; - padding: 8px; - }