Add landing page (WIP)
This commit is contained in:
parent
b84b40a500
commit
7679a832f4
4 changed files with 24 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
||||||
Professional support with MapComplete
|
Professional support with MapComplete
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
The developer of MapComplete offers professional support. This document outlines some of the possibilities, pitfalls and common questions.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
What can MapComplete do for your organisation?
|
What can MapComplete do for your organisation?
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
16
UI/ProfessionalGui.ts
Normal file
16
UI/ProfessionalGui.ts
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
import {FixedUiElement} from "./Base/FixedUiElement";
|
||||||
|
|
||||||
|
export default class ProfessionalGui {
|
||||||
|
|
||||||
|
constructor() {
|
||||||
|
|
||||||
|
new FixedUiElement("Hello world").AttachTo("main")
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log("Hello world")
|
||||||
|
new FixedUiElement("").AttachTo("decoration-desktop")
|
||||||
|
new ProfessionalGui()
|
3
index.ts
3
index.ts
|
@ -14,6 +14,9 @@ import State from "./State";
|
||||||
import AvailableBaseLayersImplementation from "./Logic/Actors/AvailableBaseLayersImplementation";
|
import AvailableBaseLayersImplementation from "./Logic/Actors/AvailableBaseLayersImplementation";
|
||||||
import ShowOverlayLayerImplementation from "./UI/ShowDataLayer/ShowOverlayLayerImplementation";
|
import ShowOverlayLayerImplementation from "./UI/ShowDataLayer/ShowOverlayLayerImplementation";
|
||||||
import {DefaultGuiState} from "./UI/DefaultGuiState";
|
import {DefaultGuiState} from "./UI/DefaultGuiState";
|
||||||
|
import {Browser} from "leaflet";
|
||||||
|
import win = Browser.win;
|
||||||
|
import ProfessionalGui from "./UI/ProfessionalGui";
|
||||||
|
|
||||||
// Workaround for a stupid crash: inject some functions which would give stupid circular dependencies or crash the other nodejs scripts running from console
|
// Workaround for a stupid crash: inject some functions which would give stupid circular dependencies or crash the other nodejs scripts running from console
|
||||||
MinimapImplementation.initialize()
|
MinimapImplementation.initialize()
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
"deploy:production": "cd ~/git/mapcomplete.github.io/ && git pull && cd - && rm -rf ./assets/generated && npm run prepare-deploy && npm run optimize-images && rm -rf ~/git/mapcomplete.github.io/* && cp -r dist/* ~/git/mapcomplete.github.io/ && cd ~/git/mapcomplete.github.io/ && echo \"mapcomplete.osm.be\" > CNAME && git add * && git commit -m 'New MapComplete Version' && git push && cd - && npm run clean && npm run gittag",
|
"deploy:production": "cd ~/git/mapcomplete.github.io/ && git pull && cd - && rm -rf ./assets/generated && npm run prepare-deploy && npm run optimize-images && rm -rf ~/git/mapcomplete.github.io/* && cp -r dist/* ~/git/mapcomplete.github.io/ && cd ~/git/mapcomplete.github.io/ && echo \"mapcomplete.osm.be\" > CNAME && git add * && git commit -m 'New MapComplete Version' && git push && cd - && npm run clean && npm run gittag",
|
||||||
"gittag": "ts-node scripts/printVersion.ts | bash",
|
"gittag": "ts-node scripts/printVersion.ts | bash",
|
||||||
"lint": "tslint --project . -c tslint.json '**.ts' ",
|
"lint": "tslint --project . -c tslint.json '**.ts' ",
|
||||||
"clean": "rm -rf .cache/ && (find *.html | grep -v \"\\(index\\|land\\|test\\|preferences\\|customGenerator\\).html\" | xargs rm) && rm *.webmanifest",
|
"clean": "rm -rf .cache/ && (find *.html | grep -v \"\\(index\\|land\\|test\\|preferences\\|customGenerator\\|professional\\).html\" | xargs rm) && rm *.webmanifest",
|
||||||
"generate:dependency-graph": "node_modules/.bin/depcruise --exclude \"^node_modules\" --output-type dot test/TestAll.ts > dependencies.dot && dot dependencies.dot -T svg -o dependencies.svg && rm dependencies.dot"
|
"generate:dependency-graph": "node_modules/.bin/depcruise --exclude \"^node_modules\" --output-type dot test/TestAll.ts > dependencies.dot && dot dependencies.dot -T svg -o dependencies.svg && rm dependencies.dot"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue