qcobjectsnewapp 2.4.18 → 2.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/.gitlab-ci.yml +1 -1
  2. package/VERSION +1 -1
  3. package/netlify.toml +2 -0
  4. package/package.json +5 -4
  5. package/src/css/components/button.css +2 -3
  6. package/src/css/components/card.css +7 -0
  7. package/src/css/desktop/components/deploy-grid.css +1 -2
  8. package/src/css/desktop/content.css +3 -0
  9. package/src/css/index.css +2 -1
  10. package/src/css/mobile/components/deploy-grid.css +6 -3
  11. package/src/css/mobile/content.css +3 -0
  12. package/src/css/modern-base.css +2 -0
  13. package/src/img/awsmplogo3.svg +106 -0
  14. package/src/img/netlify-button.svg +1 -0
  15. package/src/img/octocat.svg +5 -3
  16. package/src/js/customWidgets.ts +1 -1
  17. package/src/js/init.ts +1 -1
  18. package/src/js/packages/com.qcobjects.services.github.ts +59 -27
  19. package/src/js/packages/org.quickcorp.custom.components.ts +10 -2
  20. package/src/templates/components/aws-button.tpl.html +18 -0
  21. package/src/templates/components/codespaces-button.tpl.html +27 -0
  22. package/src/templates/components/footer.tpl.html +1 -1
  23. package/src/templates/components/github-button.tpl.html +31 -0
  24. package/src/templates/components/gitpod-button.tpl.html +23 -5
  25. package/src/templates/components/header.tpl.html +0 -1
  26. package/src/templates/components/layout-basic.tpl.html +1 -1
  27. package/src/templates/components/netlify-button.tpl.html +17 -2
  28. package/src/templates/components/octocat-icon.tpl.html +3 -1
  29. package/src/templates/components/pages/author.tpl.html +6 -1
  30. package/src/templates/components/signup-form.tpl.html +6 -0
  31. /package/{_redirects → src/_redirects} +0 -0
package/.gitlab-ci.yml CHANGED
@@ -8,7 +8,7 @@ pages:
8
8
  - npm test
9
9
  - mkdir public
10
10
  - npm run publish:web
11
- - cp _redirects public/
11
+ - cp src/_redirects public/
12
12
  - cp -r node_modules/qcobjects-sdk public/qcobjects-sdk
13
13
  # Build the public/ directory first
14
14
  - find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -exec gzip -f -k {} \;
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.18
1
+ 2.4.20
package/netlify.toml ADDED
@@ -0,0 +1,2 @@
1
+ [build]
2
+ command = "npm run build:netlify"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qcobjectsnewapp",
3
- "version": "2.4.18",
3
+ "version": "2.4.20",
4
4
  "description": "App template for New App in QCObjects",
5
5
  "targets": {
6
6
  "default": {
@@ -52,7 +52,8 @@
52
52
  "build:docker": "docker build -t qcobjects/qcobjects-newapp:latest .",
53
53
  "build:static": "npx qcobjects publish:static src/ build/ --exclude js --exclude=.DS_Store",
54
54
  "build:ts": "npm test && npx tsc",
55
- "build:ts-types": "npx tsc --project tsconfig.declaration.json",
55
+ "build:ts-types": "npx tsc --project tsconfig.d.json",
56
+ "build:netlify": "npm run publish:web",
56
57
  "build": "npm run build:ts-types && npm run build:ts && npm run build:static && npm run build:docker",
57
58
  "publish:static": "(npx qcobjects publish:static build/ public/ --exclude js --exclude=.DS_Store) && npm run minify:css",
58
59
  "publish:ios": "qcobjects publish ios",
@@ -112,7 +113,7 @@
112
113
  "npm-run-all": "^4.1.5",
113
114
  "parcel": "^2.8.3",
114
115
  "process": "^0.11.10",
115
- "qcobjects-cli": "^2.4.42",
116
+ "qcobjects-cli": "^2.4.43",
116
117
  "qcobjects-command-publish-static": "^1.0.2",
117
118
  "qcobjects-tsconfig": "^2.4.10",
118
119
  "systemjs": "^6.14.1",
@@ -123,7 +124,7 @@
123
124
  "grunt-contrib-jasmine": "^4.0.0",
124
125
  "npm-watch": "^0.11.0",
125
126
  "nyc": "^15.1.0",
126
- "qcobjects": "^2.4.68",
127
+ "qcobjects": "^2.4.69",
127
128
  "qcobjects-sdk": "^2.4.34",
128
129
  "semistandard": "^16.0.1"
129
130
  },
@@ -23,8 +23,7 @@
23
23
  * Everyone is permitted to copy and distribute verbatim copies of this
24
24
  * license document, but changing it is not allowed.
25
25
  */
26
- button:not(.navbtn),
27
- input {
26
+ button:not(.navbtn), input {
28
27
  border-radius: 27px;
29
28
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
30
29
  outline: none;
@@ -52,7 +51,7 @@ button:not(.navbtn):hover {
52
51
  background-color: #333;
53
52
  }
54
53
 
55
- button:not(.navbtn), {
54
+ button:not(.navbtn){
56
55
  padding: 10px 20px 10px 20px;
57
56
  border: 0;
58
57
  outline: 0;
@@ -91,3 +91,10 @@
91
91
  .card {
92
92
  max-height: 1600px;
93
93
  }
94
+
95
+ #slot-card-description::slotted(div) {
96
+ height: 50px;
97
+ min-height: 50px;
98
+ max-height: 50px;
99
+ overflow-y: clip;
100
+ }
@@ -1,4 +1,3 @@
1
1
  .deploy-grid {
2
- display:grid;
3
- grid-template-columns: 50% 50%;
2
+ grid-template-columns: 270px 270px 270px;
4
3
  }
@@ -56,3 +56,6 @@ quick-component[name=loginform].login2 form breakline {
56
56
  }
57
57
 
58
58
  /* END LOGIN 2 FORM */
59
+ article{
60
+ min-height: 146em;
61
+ }
package/src/css/index.css CHANGED
@@ -33,7 +33,8 @@
33
33
  }
34
34
 
35
35
  @-ms-viewport {
36
- width: device-width;
36
+ zoom: 1;
37
+ width: extend-to-zoom;
37
38
  }
38
39
 
39
40
  * {
@@ -1,5 +1,8 @@
1
+ :host{
2
+ min-height: 350px;
3
+ padding: 10px;
4
+ }
1
5
  .deploy-grid {
2
- display:grid;
3
6
  grid-template-columns: 100%;
4
- grid-template-rows: 50% 50%;
5
- }
7
+ grid-template-rows: auto;
8
+ }
@@ -67,3 +67,6 @@ quick-component[name=loginform].login2 form breakline {
67
67
  }
68
68
 
69
69
  /* END LOGIN 2 FORM */
70
+ article{
71
+ min-height: 268em;
72
+ }
@@ -114,6 +114,7 @@ button:not(.navbtn) {
114
114
  cursor: pointer;
115
115
  color: var(--text-inverse);
116
116
  box-shadow: 0 10px 30px var(--primary-shadow);
117
+ -webkit-transition: var(--transition);
117
118
  transition: var(--transition);
118
119
  -webkit-transition: var(--transition);
119
120
  font-family: var(--font2);
@@ -131,6 +132,7 @@ button:not(.navbtn):hover {
131
132
 
132
133
  header {
133
134
  z-index: 10;
135
+ -webkit-transition: var(--transition);
134
136
  transition: var(--transition);
135
137
  -webkit-transition: var(--transition);
136
138
  justify-content: center;
@@ -0,0 +1,106 @@
1
+
2
+ <svg
3
+ width="496"
4
+ height="86.800003"
5
+ viewBox="0 0 496 86.800003"
6
+ fill="none"
7
+ version="1.1"
8
+ id="svg30"
9
+ sodipodi:docname="AWS-Marketplace_logos_RGB-mixed copy.svg"
10
+ inkscape:version="1.2 (dc2aeda, 2022-05-15)"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ xmlns:svg="http://www.w3.org/2000/svg">
15
+ <defs
16
+ id="defs34" />
17
+ <sodipodi:namedview
18
+ id="namedview32"
19
+ pagecolor="#ffffff"
20
+ bordercolor="#000000"
21
+ borderopacity="0.25"
22
+ inkscape:showpageshadow="2"
23
+ inkscape:pageopacity="0.0"
24
+ inkscape:pagecheckerboard="0"
25
+ inkscape:deskcolor="#d1d1d1"
26
+ showgrid="false"
27
+ inkscape:zoom="1.1841332"
28
+ inkscape:cx="512.61125"
29
+ inkscape:cy="90.361456"
30
+ inkscape:window-width="2114"
31
+ inkscape:window-height="858"
32
+ inkscape:window-x="2450"
33
+ inkscape:window-y="405"
34
+ inkscape:window-maximized="0"
35
+ inkscape:current-layer="svg30" />
36
+ <path
37
+ d="m 186.58485,50.237318 v -23.37296 c 0,-2.279107 -0.4375,-3.927822 -1.31251,-5.043129 -0.87502,-1.066816 -2.23613,-1.648715 -4.08341,-1.648715 -3.3056,0 -6.65983,1.018324 -10.01404,3.054972 0.0488,0.339441 0.0488,0.678883 0.0488,1.018324 0,0.339441 0,0.727374 0,1.066816 v 24.827709 h -6.7573 V 26.767374 c 0,-2.279106 -0.43747,-3.927821 -1.31248,-5.043128 -0.87505,-1.066816 -2.23616,-1.648715 -4.08341,-1.648715 -3.45143,0 -6.7571,1.018324 -9.91682,3.00648 v 27.009833 h -6.75711 V 15.662793 h 5.63899 l 0.68058,3.442905 c 4.37505,-3.00648 8.60431,-4.461229 12.73635,-4.461229 4.22924,0 7.09734,1.600224 8.55567,4.800671 4.47231,-3.200447 8.99322,-4.800671 13.46555,-4.800671 3.11114,0 5.54174,0.872849 7.19458,2.667039 1.70142,1.745699 2.52781,4.267263 2.52781,7.516201 v 25.264135 h -6.61125 z"
38
+ fill="#ffffff"
39
+ id="path2"
40
+ style="stroke-width:0.485518" />
41
+ <path
42
+ d="m 221.19656,50.237318 -0.53472,-3.539888 c -1.65284,1.406257 -3.45143,2.473073 -5.39591,3.248939 -1.99313,0.775866 -3.93759,1.163799 -5.88203,1.163799 -3.20843,0 -5.78486,-0.921341 -7.72934,-2.764023 -1.94445,-1.842681 -2.91671,-4.267262 -2.91671,-7.370726 0,-3.29743 1.16669,-5.964469 3.54869,-7.904134 2.38199,-1.988157 5.54177,-2.957989 9.52795,-2.957989 2.62504,0 5.49314,0.387933 8.55568,1.163799 v -4.461229 c 0,-2.424581 -0.5347,-4.170279 -1.65281,-5.140112 -1.11805,-1.018324 -3.01396,-1.50324 -5.6876,-1.50324 -3.84037,0 -7.82649,0.678883 -11.95856,2.08514 v -4.752179 c 1.65284,-0.872849 3.64593,-1.50324 5.97932,-1.988157 2.38199,-0.484916 4.76397,-0.727374 7.14596,-0.727374 4.32644,0 7.48624,0.872849 9.5279,2.667039 2.04173,1.79419 3.06258,4.509721 3.06258,8.195084 v 24.585251 z m -10.2085,-4.218771 c 3.06253,0 6.22235,-1.163798 9.38211,-3.442905 v -6.934301 c -2.382,-0.5819 -4.76399,-0.872849 -7.19458,-0.872849 -5.10424,0 -7.68067,1.988156 -7.68067,5.915977 0,1.697207 0.48608,3.054972 1.40976,3.976313 0.97223,0.872849 2.33332,1.357765 4.08338,1.357765 z"
43
+ fill="#ffffff"
44
+ id="path4"
45
+ style="stroke-width:0.485518" />
46
+ <path
47
+ d="m 234.51628,50.237318 v -34.42905 h 5.63893 l 0.72918,5.09162 c 1.26395,-1.357765 2.4306,-2.424581 3.54872,-3.151955 1.11805,-0.727374 2.18753,-1.309274 3.35422,-1.648715 1.11806,-0.339441 2.38199,-0.533408 3.69451,-0.533408 0.87498,0 1.79865,0.04849 2.77088,0.193967 v 6.109944 c -1.45837,-0.193967 -2.67363,-0.29095 -3.69454,-0.29095 -3.64586,0 -6.75703,1.066816 -9.33346,3.248938 v 25.409609 z"
48
+ fill="#ffffff"
49
+ id="path6"
50
+ style="stroke-width:0.485518" />
51
+ <path
52
+ d="M 258.43335,50.237318 V 0 h 6.75703 v 30.84067 l 14.6322,-14.98391 h 8.21546 l -16.33365,16.341676 17.40309,18.038882 h -8.50709 L 265.14177,33.944134 v 16.293184 z"
53
+ fill="#ffffff"
54
+ id="path8"
55
+ style="stroke-width:0.485518" />
56
+ <path
57
+ d="m 295.2812,34.477542 c 0.0972,3.87933 1.06947,6.788827 2.91674,8.631508 1.84724,1.842682 4.66676,2.764023 8.55566,2.764023 3.59733,0 7.24319,-0.678883 10.93774,-2.08514 v 4.80067 c -3.257,1.745699 -7.24319,2.667039 -11.95857,2.667039 -5.59037,0 -9.81961,-1.551731 -12.63907,-4.606703 -2.86813,-3.054973 -4.2779,-7.613185 -4.2779,-13.626146 0,-5.770502 1.40977,-10.231732 4.2779,-13.383687 2.86807,-3.151955 6.85426,-4.80067 11.95853,-4.80067 4.32647,0 7.63208,1.21229 9.91683,3.636871 2.33338,2.424581 3.45143,5.867486 3.45143,10.280224 0,2.133631 -0.19446,4.073296 -0.53472,5.770503 H 295.2812 Z m 9.38214,-14.595978 c -2.86815,0 -5.10425,0.872849 -6.65984,2.521564 -1.60423,1.697207 -2.4792,4.218771 -2.7223,7.564693 h 16.96558 c 0.0488,-0.339441 0.0488,-0.969832 0.0488,-1.745698 0,-2.764022 -0.63198,-4.849162 -1.94446,-6.255419 -1.26398,-1.357765 -3.15981,-2.08514 -5.68763,-2.08514 z"
58
+ fill="#ffffff"
59
+ id="path10"
60
+ style="stroke-width:0.485518" />
61
+ <path
62
+ d="m 344.76818,49.412961 c -2.23617,0.872849 -4.76398,1.309274 -7.53484,1.309274 -6.4654,0 -9.67378,-3.200447 -9.67378,-9.649833 V 21.093855 h -6.27097 v -4.364246 l 6.4654,-0.824358 1.02083,-9.7953069 h 5.49318 v 9.6498329 h 10.20853 v 5.285586 H 334.268 v 19.687598 c 0,1.697207 0.38892,2.861005 1.11807,3.539888 0.72915,0.678883 2.04171,1.018324 3.84037,1.018324 1.84726,0 3.6945,-0.242458 5.49313,-0.678882 v 4.80067 z"
63
+ fill="#ffffff"
64
+ id="path12"
65
+ style="stroke-width:0.485518" />
66
+ <path
67
+ d="M 349.38634,64.202905 V 15.808268 h 5.63895 l 0.63194,3.539888 c 3.4515,-3.054972 7.2918,-4.558212 11.52106,-4.558212 4.42369,0 7.87512,1.600224 10.40294,4.800671 2.52788,3.200446 3.79176,7.516201 3.79176,12.995754 0,5.576536 -1.36116,10.037765 -4.0348,13.383687 -2.67364,3.345922 -6.22232,5.043128 -10.69462,5.043128 -4.08341,0 -7.58345,-1.357765 -10.54879,-4.024804 v 17.263017 h -6.70844 z M 365.2338,20.221006 c -3.20839,0 -6.27089,1.018324 -9.13902,3.103463 v 18.960224 c 2.96534,2.182123 5.93063,3.248938 8.9932,3.248938 6.27096,0 9.38211,-4.218771 9.38211,-12.607821 0,-4.315754 -0.77776,-7.467709 -2.28475,-9.552849 -1.45836,-2.08514 -3.79174,-3.151955 -6.95154,-3.151955 z"
68
+ fill="#ffffff"
69
+ id="path14"
70
+ style="stroke-width:0.485518" />
71
+ <path
72
+ d="m 399.84556,49.752402 c -1.50699,0.533408 -3.11119,0.824358 -4.90982,0.824358 -2.38198,0 -4.22922,-0.678883 -5.49317,-2.08514 -1.2639,-1.357765 -1.89584,-3.345922 -1.89584,-5.915978 V 0 h 6.75704 v 42.139218 c 0,1.018324 0.19443,1.79419 0.63197,2.279106 0.43751,0.484916 1.16667,0.727374 2.13889,0.727374 0.92368,0 1.84727,-0.04849 2.77093,-0.193966 z"
73
+ fill="#ffffff"
74
+ id="path16"
75
+ style="stroke-width:0.485518" />
76
+ <path
77
+ d="m 425.90156,50.237318 -0.53475,-3.539888 c -1.65281,1.406257 -3.45143,2.473073 -5.39589,3.248939 -1.99313,0.775866 -3.93761,1.163799 -5.8821,1.163799 -3.20839,0 -5.78481,-0.921341 -7.72927,-2.764023 -1.94452,-1.842681 -2.91674,-4.267262 -2.91674,-7.370726 0,-3.29743 1.16672,-5.964469 3.54871,-7.904134 2.38199,-1.988157 5.54175,-2.957989 9.5279,-2.957989 2.62509,0 5.49318,0.387933 8.55574,1.163799 v -4.461229 c 0,-2.424581 -0.53475,-4.170279 -1.65281,-5.140112 -1.11808,-1.018324 -3.01396,-1.50324 -5.6876,-1.50324 -3.84036,0 -7.82654,0.678883 -11.95856,2.08514 v -4.752179 c 1.65281,-0.872849 3.64593,-1.50324 5.97925,-1.988157 2.38199,-0.484916 4.76398,-0.727374 7.14597,-0.727374 4.32648,0 7.48623,0.872849 9.52796,2.667039 2.04168,1.79419 3.06257,4.509721 3.06257,8.195084 v 24.585251 z m -10.20854,-4.218771 c 3.06256,0 6.22236,-1.163798 9.38214,-3.442905 v -6.934301 c -2.38199,-0.5819 -4.76398,-0.872849 -7.19458,-0.872849 -5.10424,0 -7.68066,1.988156 -7.68066,5.915977 0,1.697207 0.48608,3.054972 1.40969,3.976313 0.97227,0.872849 2.33338,1.357765 4.08341,1.357765 z"
78
+ fill="#ffffff"
79
+ id="path18"
80
+ style="stroke-width:0.485518" />
81
+ <path
82
+ d="m 463.28416,48.928045 c -2.62503,1.357765 -5.6876,2.036648 -9.13903,2.036648 -5.34734,0 -9.43075,-1.551732 -12.29885,-4.606704 -2.81949,-3.054972 -4.27787,-7.46771 -4.27787,-13.286704 0,-5.770503 1.45838,-10.18324 4.37512,-13.335196 2.91668,-3.151955 7.04869,-4.703687 12.39603,-4.703687 3.06254,0 5.88203,0.630391 8.55567,1.891173 v 4.800671 c -2.57642,-0.824358 -5.10424,-1.212291 -7.63205,-1.212291 -3.79172,0 -6.56261,0.969833 -8.21542,2.909498 -1.70144,1.939664 -2.52781,4.994636 -2.52781,9.213407 v 0.872849 c 0,4.121788 0.87501,7.128269 2.52781,9.067933 1.70142,1.939665 4.37506,2.909498 8.06956,2.909498 2.4306,0 5.10427,-0.436425 8.02101,-1.357766 v 4.800671 z"
83
+ fill="#ffffff"
84
+ id="path20"
85
+ style="stroke-width:0.485518" />
86
+ <path
87
+ d="m 472.86073,34.477542 c 0.0972,3.87933 1.06945,6.788827 2.91669,8.631508 1.84723,1.842682 4.66676,2.764023 8.5557,2.764023 3.59737,0 7.24335,-0.678883 10.93739,-2.08514 v 4.80067 c -3.25676,1.745699 -7.24301,2.667039 -11.95822,2.667039 -5.59036,0 -9.81962,-1.551731 -12.63911,-4.606703 -2.86815,-3.054973 -4.27784,-7.613185 -4.27784,-13.626146 0,-5.770502 1.40969,-10.231732 4.27784,-13.383687 2.8681,-3.151955 6.85425,-4.80067 11.95855,-4.80067 4.32621,0 7.6323,1.21229 9.9169,3.636871 2.3334,2.424581 3.45137,5.867486 3.45137,10.280224 0,2.133631 -0.19461,4.073296 -0.53488,5.770503 h -22.60439 z m 9.38207,-14.595978 c -2.8681,0 -5.10424,0.872849 -6.65981,2.521564 -1.60421,1.697207 -2.47921,4.218771 -2.72226,7.564693 h 16.96528 c 0.0488,-0.339441 0.0488,-0.969832 0.0488,-1.745698 0,-2.764022 -0.63174,-4.849162 -1.94432,-6.255419 -1.31257,-1.357765 -3.20848,-2.08514 -5.68769,-2.08514 z"
88
+ fill="#ffffff"
89
+ id="path22"
90
+ style="stroke-width:0.485518" />
91
+ <path
92
+ d="m 105.014,51.255642 c -2.18753,0 -4.32648,-0.242458 -6.416817,-0.727374 -2.090283,-0.484916 -3.69447,-1.018324 -4.81256,-1.648715 -0.680544,-0.387933 -1.118076,-0.775866 -1.263901,-1.163799 -0.194432,-0.387933 -0.24304,-0.775866 -0.24304,-1.163799 v -2.085139 c 0,-0.87285 0.291649,-1.309274 0.923613,-1.309274 0.243041,0 0.486082,0.04849 0.77779,0.145475 0.243041,0.09698 0.631969,0.242458 1.069453,0.436424 1.409754,0.630391 2.916739,1.115308 4.569548,1.454749 1.652764,0.339441 3.305604,0.484916 4.958414,0.484916 2.62503,0 4.61808,-0.436424 6.07646,-1.357765 1.40977,-0.921341 2.13895,-2.230615 2.13895,-3.927821 0,-1.163799 -0.38889,-2.133632 -1.11806,-2.909498 -0.72921,-0.775866 -2.13894,-1.50324 -4.18064,-2.182123 l -6.0279,-1.891173 c -3.06256,-0.969832 -5.250088,-2.376089 -6.659813,-4.218771 -1.361161,-1.842681 -2.090342,-3.830838 -2.090342,-6.012961 0,-1.745698 0.388924,-3.29743 1.118076,-4.606703 0.729171,-1.309274 1.750055,-2.473073 2.965318,-3.394414 1.215336,-0.921341 2.673703,-1.648715 4.326481,-2.133631 1.65284,-0.484916 3.40286,-0.727374 5.25009,-0.727374 0.92363,0 1.84724,0.04849 2.81946,0.193966 0.92369,0.145475 1.8473,0.29095 2.67372,0.484916 0.82639,0.193967 1.65279,0.387933 2.38199,0.630391 0.72918,0.242458 1.31248,0.484916 1.75001,0.727375 0.58336,0.339441 0.97223,0.678882 1.2153,1.018324 0.24307,0.339441 0.34029,0.775865 0.34029,1.357765 v 1.939665 c 0,0.872849 -0.29168,1.309273 -0.92361,1.309273 -0.34033,0 -0.87505,-0.145474 -1.6042,-0.484916 -2.38199,-1.066815 -5.05566,-1.600223 -7.97237,-1.600223 -2.38199,0 -4.22924,0.387933 -5.54179,1.163799 -1.31251,0.775866 -1.944442,1.988156 -1.944442,3.685363 0,1.163799 0.388863,2.133631 1.215262,2.957989 0.8264,0.775866 2.33338,1.551732 4.56955,2.279106 l 5.88203,1.891173 c 3.01397,0.969832 5.15284,2.279106 6.41679,3.976313 1.26387,1.697207 1.94449,3.636871 1.94449,5.818994 0,1.79419 -0.34029,3.394414 -1.06949,4.800671 -0.72918,1.406257 -1.75001,2.667039 -3.01395,3.685363 -1.26387,1.018324 -2.81947,1.79419 -4.61813,2.327598 -1.79866,0.484916 -3.74311,0.775865 -5.88203,0.775865 z M 51.686682,50.140335 c -0.729181,0 -1.263944,-0.145475 -1.604201,-0.387933 -0.340316,-0.242458 -0.631965,-0.824357 -0.875006,-1.648715 L 39.485164,16.050726 c -0.24306,-0.824357 -0.340282,-1.357765 -0.340282,-1.648715 0,-0.678883 0.340282,-1.018324 1.020848,-1.018324 h 4.083407 c 0.777791,0 1.312521,0.145475 1.652807,0.387933 0.291672,0.242458 0.583343,0.824358 0.826403,1.648715 l 7.000039,27.397766 6.368139,-27.397766 c 0.194433,-0.824357 0.437547,-1.357765 0.777804,-1.648715 0.340316,-0.242458 0.875006,-0.387933 1.652795,-0.387933 h 3.354227 c 0.77779,0 1.312538,0.145475 1.652795,0.387933 0.340331,0.242458 0.583372,0.824358 0.777804,1.648715 l 6.562601,27.785699 7.19458,-27.785699 c 0.243041,-0.824357 0.534763,-1.357765 0.826412,-1.648715 0.291708,-0.242458 0.875006,-0.387933 1.652795,-0.387933 h 3.840368 c 0.680544,0 1.02083,0.339441 1.02083,1.018324 0,0.193967 -0.0488,0.387933 -0.0488,0.630391 -0.0488,0.242458 -0.145825,0.5819 -0.291659,1.018324 L 79.054985,48.103687 c -0.24304,0.824358 -0.534689,1.357766 -0.874976,1.648715 -0.340286,0.242458 -0.875049,0.387933 -1.604231,0.387933 h -3.548645 c -0.777804,0 -1.312552,-0.145475 -1.652809,-0.436424 -0.340258,-0.29095 -0.583328,-0.824358 -0.77779,-1.648715 L 64.131135,21.384804 57.714344,48.055196 c -0.194432,0.824357 -0.437503,1.357765 -0.777789,1.648715 -0.340257,0.290949 -0.875006,0.436424 -1.65281,0.436424 z m -33.396336,-4.50972 c 1.361137,0 2.770885,-0.242459 4.277856,-0.775866 1.506967,-0.484917 2.819495,-1.406257 3.937566,-2.66704 0.680572,-0.775865 1.166691,-1.648715 1.409751,-2.667039 0.24306,-0.969832 0.388891,-2.182123 0.388891,-3.588379 v -1.745699 c -1.2153,-0.29095 -2.479208,-0.533408 -3.840343,-0.678883 -1.312523,-0.145474 -2.625045,-0.242458 -3.888955,-0.242458 -2.770886,0 -4.812587,0.533408 -6.173724,1.648715 -1.36113,1.115308 -2.041701,2.715531 -2.041701,4.800671 0,1.939665 0.486119,3.394413 1.506973,4.364246 1.118077,1.066815 2.527822,1.551732 4.423686,1.551732 z m 16.868355,-6.303911 c 0,1.551732 0.145831,2.764022 0.48612,3.685363 0.291669,0.921341 0.777788,1.891173 1.36113,2.957989 0.194452,0.339441 0.291674,0.630391 0.291674,0.921341 0,0.436424 -0.24306,0.824357 -0.777793,1.21229 l -2.673656,1.842682 c -0.388893,0.242458 -0.72918,0.339441 -1.069462,0.339441 -0.437509,0 -0.826406,-0.193966 -1.215299,-0.581899 -0.583347,-0.5819 -1.069467,-1.212291 -1.506971,-1.939665 -0.388897,-0.678883 -0.826403,-1.50324 -1.263915,-2.424581 -3.257,3.830838 -7.340404,5.722011 -12.201602,5.722011 -3.500061,0 -6.270939,-0.969832 -8.2640289,-2.957989 -2.0417057,-1.988156 -3.0625563,-4.655195 -3.0625563,-7.952626 0,-3.539888 1.2639105,-6.352402 3.7917359,-8.534525 2.5278213,-2.133631 5.9306593,-3.248938 10.1598963,-3.248938 1.409749,0 2.868108,0.09698 4.375075,0.339441 1.506974,0.193967 3.111171,0.533408 4.763976,0.921341 v -3.054972 c 0,-3.151955 -0.631957,-5.334078 -1.944479,-6.643352 -1.312523,-1.260782 -3.548676,-1.939665 -6.757063,-1.939665 -1.458359,0 -2.965327,0.193967 -4.4723,0.533408 -1.506968,0.339441 -3.013942,0.824357 -4.472302,1.406257 -0.680564,0.29095 -1.1666835,0.484916 -1.4583589,0.533408 -0.291671,0.04849 -0.4861198,0.09698 -0.631953,0.09698 -0.5833464,0 -0.8750174,-0.436425 -0.8750174,-1.309274 v -2.036648 c 0,-0.678883 0.097227,-1.163799 0.291671,-1.454748 0.1944488,-0.29095 0.5833464,-0.5819 1.1666883,-0.87285 1.458356,-0.727374 3.20839,-1.357765 5.250092,-1.891173 2.041702,-0.533408 4.18063,-0.775866 6.465391,-0.775866 4.958423,0 8.555704,1.115308 10.88908,3.394414 2.284762,2.230614 3.45145,5.625028 3.45145,10.18324 v 13.529162 z"
93
+ fill="#ffffff"
94
+ id="path24"
95
+ style="stroke-width:0.485518" />
96
+ <path
97
+ d="M 112.88913,71.379665 C 99.229148,81.465922 79.395492,86.8 62.332691,86.8 38.415654,86.8 16.880553,77.974525 0.54692389,63.281564 -0.71698678,62.117765 0.40108796,60.566034 1.9566707,61.438883 19.554212,71.670615 41.283758,77.780559 63.791068,77.780559 c 15.166891,0 31.840826,-3.151956 47.153572,-9.601341 2.28474,-0.969833 4.18065,1.551732 1.94449,3.200447 z"
98
+ fill="#ff9900"
99
+ id="path26"
100
+ style="stroke-width:0.485518" />
101
+ <path
102
+ d="m 118.57672,64.881788 c -1.75001,-2.230615 -11.56962,-1.066816 -15.99332,-0.533408 -1.31255,0.145475 -1.55562,-1.018324 -0.34028,-1.842682 7.82654,-5.479553 20.66005,-3.879329 22.16704,-2.085139 1.50697,1.842681 -0.38887,14.692961 -7.72927,20.802905 -1.11812,0.92134 -2.18756,0.436424 -1.70142,-0.824358 1.65281,-4.073296 5.34728,-13.238212 3.59725,-15.517318 z"
103
+ fill="#ff9900"
104
+ id="path28"
105
+ style="stroke-width:0.485518" />
106
+ </svg>
@@ -0,0 +1 @@
1
+ <svg width="179" height="32" viewBox="0 0 179 32" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="179" height="32" fill="#2E51ED" rx="6"/><path fill="#fff" d="M15.027 23.227h-.246l-1.225-1.178v-.236l1.873-1.802h1.298l.173.167v1.248l-1.873 1.801ZM13.556 9.9v-.236l1.225-1.179h.246l1.873 1.802v1.248l-.173.166h-1.298L13.556 9.9ZM24.343 19.429h-1.782l-.15-.143v-4.013c0-.714-.291-1.268-1.187-1.287-.46-.011-.988 0-1.551.021l-.085.084v5.193l-.149.143h-1.782l-.15-.143v-6.855l.15-.144h4.012c1.56 0 2.823 1.215 2.823 2.715v4.286l-.149.143ZM15.28 16.86H8.15L8 16.716v-1.718l.149-.143h7.131l.15.143v1.718l-.15.143ZM33.853 16.86h-7.131l-.15-.144v-1.718l.15-.143h7.131l.149.143v1.718l-.149.143ZM19.973 10.143V5l.149-.143h1.787l.148.143v5.143l-.148.144h-1.787l-.15-.144ZM19.973 26.714v-5.143l.149-.143h1.787l.148.143v5.143l-.148.143h-1.787l-.15-.143ZM155.15 10.64c-.43.42-.64 1-.64 1.75v1.04h-1.23v1.67h1.23v6.09h1.96V15.1h1.64v-1.67h-1.64v-1.05c0-.53.28-.8.83-.8h1.04V10h-1.4c-.76 0-1.35.21-1.78.64h-.01ZM150.93 10.13c-.36 0-.66.12-.88.35-.21.22-.32.5-.32.84 0 .34.11.63.32.87.22.23.52.35.88.35s.64-.12.85-.35c.22-.23.34-.52.34-.87s-.11-.62-.34-.84c-.22-.23-.5-.35-.85-.35ZM73.23 10.14h1.96v11.05h-1.96V10.14Z"/><path fill="#fff" fill-rule="evenodd" d="M47.32 10.63c1.17 0 2.17.21 3.01.64.84.42 1.48 1.03 1.92 1.82.45.79.67 1.74.67 2.83s-.22 2.04-.67 2.83c-.44.79-1.08 1.39-1.92 1.81-.84.42-1.84.63-3.01.63H44V10.63h3.32Zm-.09 8.59c1.08 0 1.93-.29 2.55-.87v.01c.63-.59.94-1.39.94-2.44s-.31-1.87-.94-2.45c-.62-.58-1.47-.87-2.55-.87h-1.12v6.62h1.12ZM58.16 13.29c.8 0 1.49.16 2.09.5l-.01-.01c.61.33 1.07.79 1.4 1.39.33.6.49 1.3.49 2.09v.66h-5.85c.03.26.08.52.19.74.16.3.38.53.67.7.29.17.64.25 1.05.25.41 0 .76-.07 1.04-.2s.49-.32.63-.55h2.1c-.16.47-.42.9-.77 1.27-.34.38-.78.66-1.3.87-.51.21-1.09.31-1.72.31-.79 0-1.49-.16-2.1-.49-.6-.33-1.06-.8-1.4-1.41-.33-.6-.49-1.31-.49-2.11 0-.8.16-1.5.49-2.1.33-.6.79-1.07 1.39-1.41.61-.33 1.3-.5 2.1-.5Zm0 1.7c-.36 0-.69.09-.98.27-.29.16-.52.4-.69.71-.08.17-.14.34-.18.52h3.74a1.713 1.713 0 0 0-.9-1.26c-.29-.16-.63-.24-.99-.24ZM70.16 13.74c-.52-.32-1.12-.48-1.81-.48s-1.29.16-1.78.48c-.29.19-.52.45-.71.73v-1.04H63.9v10.42h1.96v-3.69c.2.29.43.54.71.74.49.33 1.08.49 1.78.49s1.28-.16 1.81-.48c.52-.33.93-.79 1.22-1.4.29-.62.43-1.34.43-2.18 0-.84-.14-1.58-.43-2.18-.29-.62-.7-1.08-1.22-1.4v-.01Zm-.66 4.86c-.17.35-.4.62-.7.81-.29.19-.62.28-.99.28-.59 0-1.06-.21-1.41-.62-.35-.42-.53-.99-.53-1.72s.18-1.28.53-1.69c.35-.41.83-.62 1.41-.62.37 0 .7.1.99.29.3.19.53.46.7.81.17.35.25.75.25 1.2 0 .45-.08.89-.25 1.25v.01ZM82.85 13.79c-.62-.35-1.34-.53-2.17-.53-.83 0-1.55.18-2.17.53-.61.35-1.07.83-1.4 1.44-.33.62-.49 1.31-.49 2.09 0 .78.16 1.47.49 2.09.33.61.79 1.09 1.4 1.44.62.35 1.34.53 2.17.53.83 0 1.55-.18 2.17-.53.62-.35 1.08-.84 1.4-1.46.33-.62.49-1.31.49-2.07 0-.76-.16-1.47-.49-2.09-.32-.62-.78-1.1-1.4-1.44Zm-.42 4.7c-.16.34-.39.6-.7.78-.3.19-.65.28-1.05.28s-.77-.09-1.06-.28c-.3-.19-.53-.45-.7-.78-.16-.34-.24-.73-.24-1.18 0-.45.08-.85.24-1.19.17-.34.4-.59.7-.77.3-.19.65-.28 1.06-.28.41 0 .75.09 1.05.28.31.18.54.44.7.78.17.34.25.73.25 1.18 0 .45-.08.84-.25 1.18Z" clip-rule="evenodd"/><path fill="#fff" d="m87.11 13.43 2.04 5.07 2.11-5.07h1.89l-4.31 10.32h-1.89l1.19-2.85-3.01-7.47h1.98ZM102.71 10.98h-1.96v2.45h-1.49v1.67h1.49v6.09h1.96V15.1h1.68v-1.67h-1.68v-2.45Z"/><path fill="#fff" fill-rule="evenodd" d="M109.18 13.26c.83 0 1.55.18 2.17.53.62.34 1.08.82 1.4 1.44.33.62.49 1.33.49 2.09 0 .76-.16 1.45-.49 2.07-.32.62-.78 1.11-1.4 1.46-.62.35-1.34.53-2.17.53-.83 0-1.55-.18-2.17-.53-.61-.35-1.07-.83-1.4-1.44-.33-.62-.49-1.31-.49-2.09 0-.78.16-1.47.49-2.09.33-.61.79-1.09 1.4-1.44.62-.35 1.34-.53 2.17-.53Zm1.05 6.01c.31-.18.54-.44.7-.78.17-.34.25-.73.25-1.18 0-.45-.08-.84-.25-1.18-.16-.34-.39-.6-.7-.78-.3-.19-.64-.28-1.05-.28-.41 0-.76.09-1.06.28-.3.18-.53.43-.7.77-.16.34-.24.74-.24 1.19 0 .45.08.84.24 1.18.17.33.4.59.7.78.29.19.66.28 1.06.28s.75-.09 1.05-.28Z" clip-rule="evenodd"/><path fill="#fff" d="m126.91 16.02-4.69-5.39h-1.81v10.56h2.11v-6.93l4.39 5.05v1.88h2.11V10.63h-2.11v5.39Z"/><path fill="#fff" fill-rule="evenodd" d="M134.5 13.29c.8 0 1.49.16 2.09.5l-.01-.01c.61.33 1.07.79 1.4 1.39.33.6.49 1.3.49 2.09v.66h-5.85c.03.26.08.52.19.74.16.3.38.53.67.7.29.17.64.25 1.05.25.41 0 .76-.07 1.04-.2s.49-.32.63-.55h2.1c-.16.47-.42.9-.77 1.27-.34.38-.78.66-1.3.87-.51.21-1.09.31-1.72.31-.79 0-1.49-.16-2.1-.49-.6-.33-1.06-.8-1.4-1.41-.33-.6-.49-1.31-.49-2.11 0-.8.16-1.5.49-2.1.33-.6.79-1.07 1.39-1.41.61-.33 1.3-.5 2.1-.5Zm0 1.7c-.36 0-.69.09-.98.27-.29.16-.52.4-.69.71-.08.17-.14.34-.18.52h3.74a1.713 1.713 0 0 0-.9-1.26c-.29-.16-.63-.24-.99-.24Z" clip-rule="evenodd"/><path fill="#fff" d="M142.58 10.98h-1.96v2.45h-1.48v1.67h1.48v6.09h1.96V15.1h1.68v-1.67h-1.68v-2.45ZM145.92 10.14h1.96v11.05h-1.96V10.14ZM149.95 21.18v-7.92c.26.19.58.29.98.29s.73-.09.98-.29v7.92h-1.96ZM163.14 18.5l2.12-5.07h1.89l-4.31 10.32h-1.89l1.19-2.85-3.01-7.47h1.97l2.04 5.07Z"/></svg>
@@ -1,3 +1,5 @@
1
- <svg height="32" aria-hidden="true" viewBox="0 0 16 16" version="1.1" width="32" data-view-component="true" class="octicon octicon-mark-github v-align-middle">
2
- <path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/>
3
- </svg>
1
+ <svg height="32" aria-hidden="true" viewBox="0 0 16 16" version="1.1" width="32"
2
+ data-view-component="true" class="octicon octicon-mark-github v-align-middle">
3
+ <path fill-rule="evenodd"
4
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" />
5
+ </svg>
@@ -1,4 +1,4 @@
1
1
  import { RegisterWidgets } from "qcobjects";
2
2
 
3
3
  RegisterWidgets("layout-basic", "splash-screen", "github-grid", "octocat-icon", "lib-list");
4
- RegisterWidgets("gitpod-button", "netlify-button", "deploy-grid");
4
+ RegisterWidgets("gitpod-button", "netlify-button", "aws-button", "github-button", "codespaces-button", "deploy-grid");
package/src/js/init.ts CHANGED
@@ -25,4 +25,4 @@
25
25
  */
26
26
  import "./config";
27
27
  import "./packages/org.quickcorp.custom";
28
- import "./customWidgets";
28
+ import "./customWidgets";
@@ -2,6 +2,37 @@
2
2
  "use strict";
3
3
  import { Package, JSONService, Service, logger } from "qcobjects";
4
4
 
5
+ type Project = {
6
+ id: string;
7
+ description: string;
8
+ name: string;
9
+ html_url: string;
10
+ owner: { avatar_url: string },
11
+ forks_count:number,
12
+ stargazers_count:number,
13
+ watchers_count:number,
14
+ size:number
15
+ }
16
+
17
+ type StandardResponse = {
18
+ request: XMLHttpRequest;
19
+ service: Service;
20
+ };
21
+
22
+ type GitHubTagServiceResponse = {
23
+ total_count:number;
24
+ incomplete_results: boolean;
25
+ items:Array<Project>
26
+ };
27
+ type ItemProject = {
28
+ id:string;
29
+ description:string;
30
+ title:string;
31
+ url:string;
32
+ image:string;
33
+ };
34
+ type ItemsProject = Array<ItemProject>;
35
+
5
36
  Package("com.qcobjects.services.github", [
6
37
  class GitHubService extends JSONService {
7
38
  /**
@@ -65,9 +96,10 @@ Package("com.qcobjects.services.github", [
65
96
  * @param param0 this param has two properties, one is the native request call (XHR or Fetch object). The second property is the service object.
66
97
  * @returns Promise
67
98
  */
68
- done ({ request, service }: { request: XMLHttpRequest, service: Service }) {
69
- logger.debug(request);
70
- const result = JSON.parse(service.template).reverse().map(function (project: { id: string, description: string, name: string, html_url: string }) {
99
+ done({ request, service }: StandardResponse) {
100
+
101
+ const result:ItemsProject = (JSON.parse(service.template) as Array<Project>)
102
+ .reverse().map(function (project: Project) {
71
103
  return {
72
104
  id: project.id,
73
105
  description: project.description,
@@ -80,7 +112,7 @@ Package("com.qcobjects.services.github", [
80
112
  service.template = JSON.stringify({
81
113
  result
82
114
  });
83
- return super.done(...arguments);
115
+ return super.done({ request, service });
84
116
  }
85
117
  },
86
118
 
@@ -93,9 +125,10 @@ Package("com.qcobjects.services.github", [
93
125
  url = "https://api.github.com/search/repositories?q=qcobjects";
94
126
  withCredentials = false;
95
127
 
96
- done ({ request, service }: { request: XMLHttpRequest, service: Service }) {
128
+ done({ request, service }: StandardResponse) {
97
129
  logger.debug(request);
98
- const result = JSON.parse(service.template).items.map(function (project: { id: string, description: string, name: string, html_url: string }) {
130
+ const result:ItemsProject = (JSON.parse(service.template) as GitHubTagServiceResponse)
131
+ .items.map(function (project: Project) {
99
132
  return {
100
133
  id: project.id,
101
134
  description: project.description,
@@ -108,20 +141,20 @@ Package("com.qcobjects.services.github", [
108
141
  service.template = JSON.stringify({
109
142
  result
110
143
  });
111
- return super.done(...arguments);
144
+ return super.done({ request, service });
112
145
  }
113
146
  },
114
147
 
115
148
  class QCObjectsVersionService extends Service {
116
- name= "qcobjects_version_service";
117
- external= true;
118
- cached= false;
119
- method= "GET";
120
- headers= { "Content-Type": "application/json" };
121
- url= "https://api.github.com/repos/QuickCorp/QCObjects/tags";
122
- withCredentials= false;
123
-
124
- done ({ service }: { service: Service }) {
149
+ name = "qcobjects_version_service";
150
+ external = true;
151
+ cached = false;
152
+ method = "GET";
153
+ headers = { "Content-Type": "application/json" };
154
+ url = "https://api.github.com/repos/QuickCorp/QCObjects/tags";
155
+ withCredentials = false;
156
+
157
+ done({ service }: StandardResponse) {
125
158
  const latest = JSON.parse(service.template)[0];
126
159
  service.template = {
127
160
  version: latest.name
@@ -131,16 +164,16 @@ Package("com.qcobjects.services.github", [
131
164
  },
132
165
 
133
166
  class QCObjectsStarsForksService extends Service {
134
- name= "qcobjects_stars_forks_service";
135
- external= true;
136
- cached= false;
137
- method= "GET";
138
- headers= { "Content-Type": "application/json" };
139
- url= "https://api.github.com/repos/QuickCorp/QCObjects";
140
- withCredentials= false;
141
-
142
- done ({ service }: { service: Service }) {
143
- const repo = JSON.parse(service.template);
167
+ name = "qcobjects_stars_forks_service";
168
+ external = true;
169
+ cached = false;
170
+ method = "GET";
171
+ headers = { "Content-Type": "application/json" };
172
+ url = "https://api.github.com/repos/QuickCorp/QCObjects";
173
+ withCredentials = false;
174
+
175
+ done({ service }: StandardResponse) {
176
+ const repo:Project = (JSON.parse(service.template) as Project);
144
177
  service.template = {
145
178
  forks: repo.forks_count,
146
179
  stars: repo.stargazers_count,
@@ -150,5 +183,4 @@ Package("com.qcobjects.services.github", [
150
183
  }
151
184
 
152
185
  }
153
-
154
186
  ]);
@@ -14,7 +14,6 @@ Package("org.quickcorp.custom.components", [
14
14
  :host {
15
15
  margin:0 auto;
16
16
  justify-content: center;
17
- overflow-y: clip;
18
17
  }
19
18
  </style>
20
19
  $mapper(github-card,result)
@@ -27,10 +26,19 @@ Package("org.quickcorp.custom.components", [
27
26
  <style>
28
27
  $layout(landscape,css/desktop/components/deploy-grid.css)
29
28
  $layout(portrait,css/mobile/components/deploy-grid.css)
29
+ .deploy-grid{
30
+ display:inline-grid;
31
+ justify-content: space-evenly;
32
+ align-items: center;
33
+ justify-items: stretch;
34
+ }
30
35
  </style>
31
36
  <div class="deploy-grid">
32
- <netlify-button></netlify-button>
37
+ <aws-button></aws-button>
33
38
  <gitpod-button></gitpod-button>
39
+ <codespaces-button></codespaces-button>
40
+ <netlify-button></netlify-button>
41
+ <github-button></github-button>
34
42
  </div>
35
43
  `;
36
44
  }
@@ -0,0 +1,18 @@
1
+ <style>
2
+ .aws-button {
3
+ border-radius: 12px;
4
+ display: block;
5
+ margin: 0 auto;
6
+ padding: 10px;
7
+ align-content: center;
8
+ box-shadow: rgba(228, 228, 234, 0.22) 2px 6px 25px 0, rgba(228, 228, 234, 0.5) 1px 2px 23px 0;
9
+ transition: all 0.3s ease-in-out;
10
+ margin:10px;
11
+ }
12
+ .aws-button:hover {
13
+ box-shadow: rgba(228, 228, 234, 0.56) 0 22px 32px 0, rgba(228, 228, 234, 0.64) 0 9px 28px 0;
14
+ }
15
+ </style>
16
+ <a class="aws-button" href="https://aws.amazon.com/marketplace/pp/prodview-2dyjawccdmf3o">
17
+ <img width="100px" src="img/awsmplogo3.svg" alt="aws marketplace"/>
18
+ </a>
@@ -0,0 +1,27 @@
1
+ <style>
2
+ .codespaces-button {
3
+ cursor: pointer;
4
+ background-color: #636364;
5
+ color: white;
6
+ /* height: 50px; */
7
+ margin: 0 auto;
8
+ align-content: center;
9
+ box-shadow: rgba(228, 228, 234, 0.22) 2px 6px 25px 0, rgba(228, 228, 234, 0.5) 1px 2px 23px 0;
10
+ transition: all 0.3s ease-in-out;
11
+ border-radius: 12px;
12
+ width: 250px;
13
+ gap: 10px;
14
+ margin: 10px;
15
+ justify-content: start;
16
+ align-items: end;
17
+ justify-items: center;
18
+ }
19
+ .codespaces-button:hover {
20
+ box-shadow: rgba(228, 228, 234, 0.56) 0 22px 32px 0, rgba(228, 228, 234, 0.64) 0 9px 28px 0;
21
+ background-color: #a2a2a6;
22
+ }
23
+ </style>
24
+ <div class="codespaces-button">
25
+ <a href="https://github.com/codespaces/new?hide_repo_select=true&amp;ref=main&amp;repo=302519279"><img
26
+ src="https://github.com/codespaces/badge.svg" alt="Open in GitHub Codespaces" style="max-width: 100%;"></a>
27
+ </div>
@@ -8,5 +8,5 @@
8
8
  </style>
9
9
  <div>
10
10
  <p>Check out the code of this app in <a aria-label="GitHub" href="https://github.com/QuickCorp/qcobjects-new-app"><b>GitHub</b></a></p>
11
- <octocat-icon data-label="GitHub" data-url="https://github.com/QuickCorp/qcobjects-new-app"></octocat-icon>
11
+ <octocat-icon data-position="absolute" data-color="white" data-label="GitHub" data-url="https://github.com/QuickCorp/qcobjects-new-app"></octocat-icon>
12
12
  </div>
@@ -0,0 +1,31 @@
1
+ <style>
2
+ .github-button {
3
+ cursor: pointer;
4
+ background-color: #0d1116;
5
+ color: white;
6
+ /* height: 50px; */
7
+ display: grid;
8
+ grid-template-columns: 70% 30%;
9
+ margin: 0 auto;
10
+ align-content: center;
11
+ box-shadow: rgba(228, 228, 234, 0.22) 2px 6px 25px 0, rgba(228, 228, 234, 0.5) 1px 2px 23px 0;
12
+ transition: all 0.3s ease-in-out;
13
+ border-radius: 12px;
14
+ width: 250px;
15
+ gap: 10px;
16
+ margin: 10px;
17
+ justify-content: start;
18
+ align-items: end;
19
+ justify-items: center;
20
+ }
21
+ .github-button:hover {
22
+ box-shadow: rgba(228, 228, 234, 0.56) 0 22px 32px 0, rgba(228, 228, 234, 0.64) 0 9px 28px 0;
23
+ }
24
+ .github-button-p {
25
+ font-size: small;
26
+ }
27
+ </style>
28
+ <div class="github-button">
29
+ <p class="github-button-p">Generate in <a aria-label="GitHub" href="https://github.com/QuickCorp/qcobjects-new-app/generate"><b>GitHub</b></a></p>
30
+ <octocat-icon data-position="relative" data-label="GitHub" data-color="white" data-url="https://github.com/QuickCorp/qcobjects-new-app/generate"></octocat-icon>
31
+ </div>
@@ -1,22 +1,39 @@
1
1
  <style>
2
- .gitpod-button {
2
+ .gitpod-button {
3
3
  background-color: #191712;
4
4
  padding: 0.4em;
5
- max-width: 192px;
5
+ max-width: 232px;
6
6
  max-height: 51px;
7
7
  margin: 0 auto;
8
8
  border: 1px solid #2d2828;
9
9
  border-radius: 0.7em;
10
+ box-shadow: rgba(228, 228, 234, 0.22) 2px 6px 25px 0, rgba(228, 228, 234, 0.5) 1px 2px 23px 0;
11
+ transition: all 0.3s ease-in-out;
12
+ margin: 10px;
13
+ }
14
+ .gitpod-button:hover {
15
+ box-shadow: rgba(228, 228, 234, 0.56) 0 22px 32px 0, rgba(228, 228, 234, 0.64) 0 9px 28px 0;
10
16
  }
11
17
  .text-white{
12
18
  color: white;
13
19
  }
20
+ .text-small {
21
+ font-size: small;
22
+ }
23
+ .gitpod-button> a > span.logo {
24
+ vertical-align: middle;
25
+ }
26
+ .gitpod-button> a > span.text {
27
+ vertical-align: top;
28
+ }
29
+
14
30
  </style>
15
31
  <div class="gitpod-button">
16
32
  <a href="https://gitpod.io#https://github.com/QuickCorp/qcobjects-new-app"
17
33
  target="_blank"
18
- class="text-white inline-flex stroked after:dark:hover:bg-light-black after:!filter-none py-3 px-4 items-center justify-center bg-bg dark:bg-card rounded-2xl text-important dark:text-white shadow-light dark:shadow-none font-semibold hover:bg-card focus:bg-card dark:hover:bg-light-black dark:focus:bg-light-black svelte-1bcz8bs"
19
- rel="noopener noreferrer" data-analytics="{&quot;variant&quot;:&quot;open_in_gitpod&quot;}"><span>
34
+ class="text-small text-white inline-flex stroked after:dark:hover:bg-light-black after:!filter-none py-3 px-4 items-center justify-center bg-bg dark:bg-card rounded-2xl text-important dark:text-white shadow-light dark:shadow-none font-semibold hover:bg-card focus:bg-card dark:hover:bg-light-black dark:focus:bg-light-black svelte-1bcz8bs"
35
+ rel="noopener noreferrer" data-analytics="{&quot;variant&quot;:&quot;open_in_gitpod&quot;}">
36
+ <span class="logo">
20
37
  <svg
21
38
  viewBox="0 0 24 24" height="24" width="24" fill="none" xmlns="http://www.w3.org/2000/svg">
22
39
  <g clip-path="url(#clip0-textless-renderedOn)">
@@ -34,5 +51,6 @@
34
51
  <path fill="#fff" d="M0 0h24v24H0z"></path>
35
52
  </clipPath>
36
53
  </defs>
37
- </svg></span> <span class="ml-3">Edit in Gitpod</span></a>
54
+ </svg></span>
55
+ <span class="text">Edit in Gitpod</span></a>
38
56
  </div>
@@ -3,7 +3,6 @@
3
3
 
4
4
  :host {
5
5
  place-items: center;
6
- margin: -30px;
7
6
  }
8
7
  .header-logo {
9
8
  min-height:300px;
@@ -77,4 +77,4 @@
77
77
  <routing path="^#|/$" name="footer"></routing>
78
78
  <routing path="^$" name="footer"></routing>
79
79
  </quick-component>
80
- </footer>
80
+ </footer>
@@ -1,4 +1,19 @@
1
- <a style="margin:0 auto;"
1
+ <style>
2
+ .netlify-button{
3
+ margin: 0 auto;
4
+ box-shadow: rgba(228, 228, 234, 0.22) 2px 6px 25px 0, rgba(228, 228, 234, 0.5) 1px 2px 23px 0;
5
+ transition: all 0.3s ease-in-out;
6
+ align-items: center;
7
+ border-radius: 7px;
8
+ display: block;
9
+ background-color: #2d51ed;
10
+ margin: 10px;
11
+ }
12
+ .netlify-button:hover{
13
+ box-shadow: rgba(228, 228, 234, 0.56) 0 22px 32px 0, rgba(228, 228, 234, 0.64) 0 9px 28px 0;
14
+ }
15
+ </style>
16
+ <a class="netlify-button"
2
17
  href="https://app.netlify.com/start/deploy?repository=https://github.com/QuickCorp/qcobjects-new-app">
3
- <img src="https://www.netlify.com/img/deploy/button.svg" title="Deploy to Netlify">
18
+ <img src="img/netlify-button.svg" title="Deploy to Netlify">
4
19
  </a>
@@ -3,9 +3,11 @@
3
3
  margin: 1%;
4
4
  top: 0;
5
5
  right: 0;
6
- position: absolute;
6
+ position: {{position}};
7
7
  cursor: pointer;
8
+ fill: {{color}};
8
9
  }
10
+
9
11
  </style>
10
12
  <a aria-label="{{label}}" href="{{url}}"><quick-component name="../../img/octocat"
11
13
  tplextension="svg"></quick-component></a>
@@ -1,4 +1,9 @@
1
- <div style="position: absolute; top: 125px;margin: auto 30px; padding-bottom: 30px;">
1
+ <style>
2
+ .author {
3
+ top: 125px;margin:30px; padding-bottom: 30px;
4
+ }
5
+ </style>
6
+ <div class="author">
2
7
  <img src="https://qcobjects.dev/doc/img/jeanmachuca.png" alt="jeanmachuca">
3
8
  <h1 id="about-the-author">About the author:</h1>
4
9
  <ul>
@@ -1,4 +1,10 @@
1
1
  <style>
2
+ :host{
3
+ display: block;
4
+ transform: translate(0px, 0px);
5
+ opacity: 1;
6
+ margin: 2em 0 2em 0;
7
+ }
2
8
 
3
9
  /* FORM ELEMENTS FOR SIGNUP*/
4
10
 
File without changes