Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove splashscreen #231

Merged
merged 1 commit into from
Feb 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .nova/Tasks/splash screens.json

This file was deleted.

5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ The are configured in /saga11.config.js

🪲 bugs & comments [github](https://github.com/mortendk/saga11)

📲 PWA statupscreen

```
$ npm run splash-screens:build
```

🗑 Cleanup the build folder

Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
"tw:build": "npx tailwindcss -c src/themes/grunn/tailwind.config.js -i src/themes/grunn/tailwind/tailwind.css -o src/themes/grunn/assets/css/style.min.css --minify",
"tw:watch": "npx tailwindcss -c src/themes/grunn/tailwind.config.js -i src/themes/grunn/tailwind/tailwind.css -o src/themes/grunn/assets/css/style.css --watch",
"cleanup": "rm -rf _site",
"upgrade": "npm update & npm install -D tailwindcss@latest & npm install -D @tailwindcss/typography@latest & npm install -D @tailwindcss/forms@latest",
"splash-screens:build": "npm run splash-screens:screen & npm run splash-screens:screendark",
"splash-screens:screen": "npx pwa-asset-generator http://localhost:3791/pwa-splashscreen/ src/themes/grunn/assets/splash_screens --path-override '/assets/splash_screens' -i src/themes/grunn/assets/splash_screens/index.html --splash-only ",
"splash-screens:screendark": "npx pwa-asset-generator http://localhost:3791/pwa-splashscreen-dark/ src/themes/grunn/assets/splash_screens --path-override '/assets/splash_screens' -i src/themes/grunn/assets/splash_screens/index.html --splash-only --dark-mode"
"upgrade": "npm update & npm install -D tailwindcss@latest & npm install -D @tailwindcss/typography@latest & npm install -D @tailwindcss/forms@latest"
},
"keywords": [],
"author": "mortendk",
Expand Down
3 changes: 1 addition & 2 deletions src/content/_data/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
"authoremail": "Ragnar@valhalla",
"mastodon_verification": "",
"rss": true,
"splashscreen": true,
"authorname": "Ragnar",
"country": "denmark",
"errorpage": "404 !",
"title": "Saga 11",
"icon": "",
"description": "saga 11"
}
}
7 changes: 0 additions & 7 deletions src/content/styleguide/09-global/30-pwa.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,4 @@ title: pwa
Theres 2 splacescreens:


<ul>
<li><a href="/pwa-splashscreen/" target="_blank">pwa-splashscreen</a></li>
<li><a href="/pwa-splashscreen-dark/" target="_blank">pwa-splashscreen-dark</a></li>
</ul>




5 changes: 0 additions & 5 deletions src/system/systempages/pwa-splashscreen-dark.njk

This file was deleted.

5 changes: 0 additions & 5 deletions src/system/systempages/pwa-splashscreen.njk

This file was deleted.

5 changes: 1 addition & 4 deletions src/themes/grunn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ package.json
"tw:watch": "npx tailwindcss -c src/themes/grunn/tailwind.config.js -i src/themes/grunn/tailwind/tailwind.css -o src/themes/grunn/assets/css/style.css --watch",
"tw:build": "npx tailwindcss -c src/themes/grunn/tailwind.config.js -i src/themes/grunn/tailwind/tailwind.css -o src/themes/grunn/assets/css/style.min.css --minify",
"build": "npm run tw:build && npm run debug ",
"debug": "ELEVENTY_ENV=prod DEBUG=* eleventy",
"splash-screens:build": "npm run splash-screens:screen & npm run splash-screens:screendark",
"splash-screens:screen": "npx pwa-asset-generator http://localhost:3791/pwa-splashscreen/ src/themes/grunn/assets/splash_screens --path-override '/assets/splash_screens' -i src/themes/grunn/assets/splash_screens/index.html --splash-only ",
"splash-screens:screendark": "npx pwa-asset-generator http://localhost:3791/pwa-splashscreen-dark/ src/themes/grunn/assets/splash_screens --path-override '/assets/splash_screens' -i src/themes/grunn/assets/splash_screens/index.html --splash-only --dark-mode"
"debug": "ELEVENTY_ENV=prod DEBUG=* eleventy"
},
```
25 changes: 5 additions & 20 deletions src/themes/grunn/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,11 @@ form button:focus {
max-width: 65ch;
}

.prose :where(p):not(:where([class~="not-prose"] *)) {
margin-top: 1.25em;
margin-bottom: 1.25em;
}

.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)) {
color: var(--tw-prose-lead);
font-size: 1.25em;
Expand Down Expand Up @@ -1115,11 +1120,6 @@ form button:focus {
line-height: 1.75;
}

.prose :where(p):not(:where([class~="not-prose"] *)) {
margin-top: 1.25em;
margin-bottom: 1.25em;
}

.prose :where(video):not(:where([class~="not-prose"] *)) {
margin-top: 2em;
margin-bottom: 2em;
Expand Down Expand Up @@ -2327,22 +2327,11 @@ form button:focus {
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-neutral-800 {
--tw-gradient-from: #1f2937;
--tw-gradient-to: rgb(31 41 55 / 0);
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-purple-500 {
--tw-gradient-to: rgb(168 85 247 / 0);
--tw-gradient-stops: var(--tw-gradient-from), #a855f7, var(--tw-gradient-to);
}

.via-neutral-700 {
--tw-gradient-to: rgb(55 65 81 / 0);
--tw-gradient-stops: var(--tw-gradient-from), #374151, var(--tw-gradient-to);
}

.to-neutral-900 {
--tw-gradient-to: #111827;
}
Expand All @@ -2351,10 +2340,6 @@ form button:focus {
--tw-gradient-to: #ec4899;
}

.to-neutral-800 {
--tw-gradient-to: #1f2937;
}

.object-cover {
-o-object-fit: cover;
object-fit: cover;
Expand Down
25 changes: 0 additions & 25 deletions src/themes/grunn/layouts/system/pwa-splashscreen-dark.njk

This file was deleted.

26 changes: 0 additions & 26 deletions src/themes/grunn/layouts/system/pwa-splashscreen.njk

This file was deleted.

5 changes: 1 addition & 4 deletions src/themes/nakinn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ Heres a clean version
"cleanup": "rm -rf _site",
"watch": "npx @11ty/eleventy --serve --quiet",
"build": "npm run debug",
"debug": "ELEVENTY_ENV=prod DEBUG=* eleventy",
"splash-screens:build": "npm run splash-screens:screen & npm run splash-screens:screendark",
"splash-screens:screen": "npx pwa-asset-generator http://localhost:3791/pwa-splashscreen/ src/themes/grunn/assets/splash_screens --path-override '/assets/splash_screens' -i src/themes/grunn/assets/splash_screens/index.html --splash-only ",
"splash-screens:screendark": "npx pwa-asset-generator http://localhost:3791/pwa-splashscreen-dark/ src/themes/grunn/assets/splash_screens --path-override '/assets/splash_screens' -i src/themes/grunn/assets/splash_screens/index.html --splash-only --dark-mode"
"debug": "ELEVENTY_ENV=prod DEBUG=* eleventy"
},

```
25 changes: 0 additions & 25 deletions src/themes/nakinn/layouts/system/pwa-splashscreen-dark.njk

This file was deleted.

26 changes: 0 additions & 26 deletions src/themes/nakinn/layouts/system/pwa-splashscreen.njk

This file was deleted.