Browse Source

Start moving site in packages and prepare for netlify

pull/478/head
Guillaume Vincent 5 years ago
parent
commit
e488713eff
96 changed files with 4284 additions and 12274 deletions
  1. BIN
      containers/frontend/dist/674f50d287a8c48dc19ba404d20fe713.eot
  2. BIN
      containers/frontend/dist/af7ae505a9eed503f8b8e6982036873e.woff2
  3. BIN
      containers/frontend/dist/android-chrome-144x144.png
  4. BIN
      containers/frontend/dist/android-chrome-192x192.png
  5. BIN
      containers/frontend/dist/android-chrome-256x256.png
  6. BIN
      containers/frontend/dist/android-chrome-36x36.png
  7. BIN
      containers/frontend/dist/android-chrome-384x384.png
  8. BIN
      containers/frontend/dist/android-chrome-48x48.png
  9. BIN
      containers/frontend/dist/android-chrome-512x512.png
  10. BIN
      containers/frontend/dist/android-chrome-72x72.png
  11. BIN
      containers/frontend/dist/android-chrome-96x96.png
  12. BIN
      containers/frontend/dist/apple-touch-icon-1024x1024.png
  13. BIN
      containers/frontend/dist/apple-touch-icon-114x114.png
  14. BIN
      containers/frontend/dist/apple-touch-icon-120x120.png
  15. BIN
      containers/frontend/dist/apple-touch-icon-144x144.png
  16. BIN
      containers/frontend/dist/apple-touch-icon-152x152.png
  17. BIN
      containers/frontend/dist/apple-touch-icon-167x167.png
  18. BIN
      containers/frontend/dist/apple-touch-icon-180x180.png
  19. BIN
      containers/frontend/dist/apple-touch-icon-57x57.png
  20. BIN
      containers/frontend/dist/apple-touch-icon-60x60.png
  21. BIN
      containers/frontend/dist/apple-touch-icon-72x72.png
  22. BIN
      containers/frontend/dist/apple-touch-icon-76x76.png
  23. BIN
      containers/frontend/dist/apple-touch-icon-precomposed.png
  24. BIN
      containers/frontend/dist/apple-touch-icon.png
  25. BIN
      containers/frontend/dist/apple-touch-startup-image-1182x2208.png
  26. BIN
      containers/frontend/dist/apple-touch-startup-image-1242x2148.png
  27. BIN
      containers/frontend/dist/apple-touch-startup-image-1496x2048.png
  28. BIN
      containers/frontend/dist/apple-touch-startup-image-1536x2008.png
  29. BIN
      containers/frontend/dist/apple-touch-startup-image-320x460.png
  30. BIN
      containers/frontend/dist/apple-touch-startup-image-640x1096.png
  31. BIN
      containers/frontend/dist/apple-touch-startup-image-640x920.png
  32. BIN
      containers/frontend/dist/apple-touch-startup-image-748x1024.png
  33. BIN
      containers/frontend/dist/apple-touch-startup-image-750x1294.png
  34. BIN
      containers/frontend/dist/apple-touch-startup-image-768x1004.png
  35. BIN
      containers/frontend/dist/b06871f281fee6b241d60582ae9369b9.ttf
  36. +0
    -15
      containers/frontend/dist/browserconfig.xml
  37. BIN
      containers/frontend/dist/coast-228x228.png
  38. BIN
      containers/frontend/dist/favicon-16x16.png
  39. BIN
      containers/frontend/dist/favicon-32x32.png
  40. BIN
      containers/frontend/dist/favicon.ico
  41. BIN
      containers/frontend/dist/fee66e712a8a08eef5805a46892932ad.woff
  42. BIN
      containers/frontend/dist/firefox_app_128x128.png
  43. BIN
      containers/frontend/dist/firefox_app_512x512.png
  44. BIN
      containers/frontend/dist/firefox_app_60x60.png
  45. +0
    -2671
      containers/frontend/dist/fontawesome-webfont.svg
  46. +0
    -9240
      containers/frontend/dist/lesspass.min.css
  47. +0
    -1
      containers/frontend/dist/lesspass.min.css.map
  48. +0
    -32
      containers/frontend/dist/lesspass.min.js
  49. +0
    -59
      containers/frontend/dist/manifest.json
  50. +0
    -14
      containers/frontend/dist/manifest.webapp
  51. BIN
      containers/frontend/dist/mstile-144x144.png
  52. BIN
      containers/frontend/dist/mstile-150x150.png
  53. BIN
      containers/frontend/dist/mstile-310x150.png
  54. BIN
      containers/frontend/dist/mstile-310x310.png
  55. BIN
      containers/frontend/dist/mstile-70x70.png
  56. BIN
      containers/frontend/dist/yandex-browser-50x50.png
  57. +0
    -9
      containers/frontend/dist/yandex-browser-manifest.json
  58. BIN
      containers/frontend/images/HowItWorks.png
  59. +0
    -154
      containers/frontend/images/LessPass-icon-white.svg
  60. BIN
      containers/frontend/images/LessPassDatabase.png
  61. BIN
      containers/frontend/images/counter.png
  62. +0
    -1
      containers/frontend/images/cover.original.txt
  63. BIN
      containers/frontend/images/demo.gif
  64. BIN
      containers/frontend/images/double-blue-cover.png
  65. BIN
      containers/frontend/images/favicon.png
  66. BIN
      containers/frontend/images/fingerprint.png
  67. BIN
      containers/frontend/images/options.png
  68. +0
    -17
      containers/frontend/server.js
  69. +2
    -0
      netlify.toml
  70. +1
    -0
      packages/lesspass-site/.gitignore
  71. +0
    -0
      packages/lesspass-site/Dockerfile
  72. +4
    -4
      packages/lesspass-site/gulpfile.js
  73. +0
    -0
      packages/lesspass-site/images/HowItWorks.png
  74. +0
    -0
      packages/lesspass-site/images/LessPass-icon-white.svg
  75. +0
    -0
      packages/lesspass-site/images/LessPassDatabase.png
  76. +0
    -0
      packages/lesspass-site/images/counter.png
  77. +0
    -0
      packages/lesspass-site/images/cover.original.txt
  78. +0
    -0
      packages/lesspass-site/images/demo.gif
  79. +0
    -0
      packages/lesspass-site/images/double-blue-cover.png
  80. +0
    -0
      packages/lesspass-site/images/favicon.png
  81. +0
    -0
      packages/lesspass-site/images/fingerprint.png
  82. +0
    -0
      packages/lesspass-site/images/options.png
  83. +38
    -56
      packages/lesspass-site/index.html
  84. +1
    -1
      packages/lesspass-site/package.json
  85. +14
    -0
      packages/lesspass-site/server.js
  86. +0
    -0
      packages/lesspass-site/svg/fa-globe.svg
  87. +0
    -0
      packages/lesspass-site/svg/fa-lock.svg
  88. +0
    -0
      packages/lesspass-site/svg/fa-sliders.svg
  89. +0
    -0
      packages/lesspass-site/svg/fa-user.svg
  90. +0
    -0
      packages/lesspass-site/svg/favicons.svg
  91. +0
    -0
      packages/lesspass-site/svg/features.svg
  92. +0
    -0
      packages/lesspass-site/svg/hero-cover.svg
  93. +0
    -0
      packages/lesspass-site/svg/how-it-works.svg
  94. +0
    -0
      packages/lesspass-site/svg/logo-white.svg
  95. +0
    -0
      packages/lesspass-site/svg/logo.svg
  96. +4224
    -0
      packages/lesspass-site/yarn.lock

BIN
containers/frontend/dist/674f50d287a8c48dc19ba404d20fe713.eot View File


BIN
containers/frontend/dist/af7ae505a9eed503f8b8e6982036873e.woff2 View File


BIN
containers/frontend/dist/android-chrome-144x144.png View File

Before After
Width: 144  |  Height: 144  |  Size: 2.8 KiB

BIN
containers/frontend/dist/android-chrome-192x192.png View File

Before After
Width: 192  |  Height: 192  |  Size: 3.9 KiB

BIN
containers/frontend/dist/android-chrome-256x256.png View File

Before After
Width: 256  |  Height: 256  |  Size: 5.7 KiB

BIN
containers/frontend/dist/android-chrome-36x36.png View File

Before After
Width: 36  |  Height: 36  |  Size: 734 B

BIN
containers/frontend/dist/android-chrome-384x384.png View File

Before After
Width: 384  |  Height: 384  |  Size: 10 KiB

BIN
containers/frontend/dist/android-chrome-48x48.png View File

Before After
Width: 48  |  Height: 48  |  Size: 971 B

BIN
containers/frontend/dist/android-chrome-512x512.png View File

Before After
Width: 512  |  Height: 512  |  Size: 16 KiB

BIN
containers/frontend/dist/android-chrome-72x72.png View File

Before After
Width: 72  |  Height: 72  |  Size: 1.4 KiB

BIN
containers/frontend/dist/android-chrome-96x96.png View File

Before After
Width: 96  |  Height: 96  |  Size: 1.8 KiB

BIN
containers/frontend/dist/apple-touch-icon-1024x1024.png View File

Before After
Width: 1024  |  Height: 1024  |  Size: 46 KiB

BIN
containers/frontend/dist/apple-touch-icon-114x114.png View File

Before After
Width: 114  |  Height: 114  |  Size: 2.2 KiB

BIN
containers/frontend/dist/apple-touch-icon-120x120.png View File

Before After
Width: 120  |  Height: 120  |  Size: 2.3 KiB

BIN
containers/frontend/dist/apple-touch-icon-144x144.png View File

Before After
Width: 144  |  Height: 144  |  Size: 2.8 KiB

BIN
containers/frontend/dist/apple-touch-icon-152x152.png View File

Before After
Width: 152  |  Height: 152  |  Size: 3.0 KiB

BIN
containers/frontend/dist/apple-touch-icon-167x167.png View File

Before After
Width: 167  |  Height: 167  |  Size: 3.3 KiB

BIN
containers/frontend/dist/apple-touch-icon-180x180.png View File

Before After
Width: 180  |  Height: 180  |  Size: 3.6 KiB

BIN
containers/frontend/dist/apple-touch-icon-57x57.png View File

Before After
Width: 57  |  Height: 57  |  Size: 1.1 KiB

BIN
containers/frontend/dist/apple-touch-icon-60x60.png View File

Before After
Width: 60  |  Height: 60  |  Size: 1.2 KiB

BIN
containers/frontend/dist/apple-touch-icon-72x72.png View File

Before After
Width: 72  |  Height: 72  |  Size: 1.4 KiB

BIN
containers/frontend/dist/apple-touch-icon-76x76.png View File

Before After
Width: 76  |  Height: 76  |  Size: 1.5 KiB

BIN
containers/frontend/dist/apple-touch-icon-precomposed.png View File

Before After
Width: 180  |  Height: 180  |  Size: 3.6 KiB

BIN
containers/frontend/dist/apple-touch-icon.png View File

Before After
Width: 180  |  Height: 180  |  Size: 3.6 KiB

BIN
containers/frontend/dist/apple-touch-startup-image-1182x2208.png View File

Before After
Width: 1182  |  Height: 2208  |  Size: 63 KiB

BIN
containers/frontend/dist/apple-touch-startup-image-1242x2148.png View File

Before After
Width: 1242  |  Height: 2148  |  Size: 67 KiB

BIN
containers/frontend/dist/apple-touch-startup-image-1496x2048.png View File

Before After
Width: 1496  |  Height: 2048  |  Size: 87 KiB

BIN
containers/frontend/dist/apple-touch-startup-image-1536x2008.png View File

Before After
Width: 1536  |  Height: 2008  |  Size: 91 KiB

BIN
containers/frontend/dist/apple-touch-startup-image-320x460.png View File

Before After
Width: 320  |  Height: 460  |  Size: 8.4 KiB

BIN
containers/frontend/dist/apple-touch-startup-image-640x1096.png View File

Before After
Width: 640  |  Height: 1096  |  Size: 24 KiB

BIN
containers/frontend/dist/apple-touch-startup-image-640x920.png View File

Before After
Width: 640  |  Height: 920  |  Size: 24 KiB

BIN
containers/frontend/dist/apple-touch-startup-image-748x1024.png View File

Before After
Width: 768  |  Height: 1024  |  Size: 31 KiB

BIN
containers/frontend/dist/apple-touch-startup-image-750x1294.png View File

Before After
Width: 750  |  Height: 1294  |  Size: 32 KiB

BIN
containers/frontend/dist/apple-touch-startup-image-768x1004.png View File

Before After
Width: 768  |  Height: 1004  |  Size: 31 KiB

BIN
containers/frontend/dist/b06871f281fee6b241d60582ae9369b9.ttf View File


+ 0
- 15
containers/frontend/dist/browserconfig.xml View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square70x70logo src="dist/mstile-70x70.png"/>
<square150x150logo src="dist/mstile-150x150.png"/>
<wide310x150logo src="dist/mstile-310x150.png"/>
<square310x310logo src="dist/mstile-310x310.png"/>
<TileColor>#555555</TileColor>

</tile>

</msapplication>

</browserconfig>

BIN
containers/frontend/dist/coast-228x228.png View File

Before After
Width: 228  |  Height: 228  |  Size: 4.8 KiB

BIN
containers/frontend/dist/favicon-16x16.png View File

Before After
Width: 16  |  Height: 16  |  Size: 348 B

BIN
containers/frontend/dist/favicon-32x32.png View File

Before After
Width: 32  |  Height: 32  |  Size: 673 B

BIN
containers/frontend/dist/favicon.ico View File

Before After

BIN
containers/frontend/dist/fee66e712a8a08eef5805a46892932ad.woff View File


BIN
containers/frontend/dist/firefox_app_128x128.png View File

Before After
Width: 128  |  Height: 128  |  Size: 2.8 KiB

BIN
containers/frontend/dist/firefox_app_512x512.png View File

Before After
Width: 512  |  Height: 512  |  Size: 18 KiB

BIN
containers/frontend/dist/firefox_app_60x60.png View File

Before After
Width: 60  |  Height: 60  |  Size: 1.3 KiB

+ 0
- 2671
containers/frontend/dist/fontawesome-webfont.svg
File diff suppressed because it is too large
View File


+ 0
- 9240
containers/frontend/dist/lesspass.min.css
File diff suppressed because it is too large
View File


+ 0
- 1
containers/frontend/dist/lesspass.min.css.map
File diff suppressed because it is too large
View File


+ 0
- 32
containers/frontend/dist/lesspass.min.js
File diff suppressed because it is too large
View File


+ 0
- 59
containers/frontend/dist/manifest.json View File

@@ -1,59 +0,0 @@
{
"name": "LessPass",
"short_name": "LessPass",
"description": "Next-Gen Open Source Password Manager",
"dir": "auto",
"lang": "en-US",
"display": "standalone",
"orientation": "portrait",
"start_url": "/?homescreen=1",
"background_color": "#555555",
"theme_color": "#fff",
"icons": [
{
"src": "dist/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image/png"
},
{
"src": "dist/android-chrome-48x48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "dist/android-chrome-72x72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "dist/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "dist/android-chrome-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "dist/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "dist/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "dist/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src": "dist/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}

+ 0
- 14
containers/frontend/dist/manifest.webapp View File

@@ -1,14 +0,0 @@
{
"version": 1,
"name": "LessPass",
"description": "Next-Gen Open Source Password Manager",
"icons": {
"60": "dist/firefox_app_60x60.png",
"128": "dist/firefox_app_128x128.png",
"512": "dist/firefox_app_512x512.png"
},
"developer": {
"name": "Guillaume Vincent",
"url": null
}
}

BIN
containers/frontend/dist/mstile-144x144.png View File

Before After
Width: 144  |  Height: 144  |  Size: 2.8 KiB

BIN
containers/frontend/dist/mstile-150x150.png View File

Before After
Width: 270  |  Height: 270  |  Size: 6.2 KiB

BIN
containers/frontend/dist/mstile-310x150.png View File

Before After
Width: 558  |  Height: 270  |  Size: 6.7 KiB

BIN
containers/frontend/dist/mstile-310x310.png View File

Before After
Width: 558  |  Height: 558  |  Size: 18 KiB

BIN
containers/frontend/dist/mstile-70x70.png View File

Before After
Width: 128  |  Height: 128  |  Size: 2.5 KiB

BIN
containers/frontend/dist/yandex-browser-50x50.png View File

Before After
Width: 50  |  Height: 50  |  Size: 994 B

+ 0
- 9
containers/frontend/dist/yandex-browser-manifest.json View File

@@ -1,9 +0,0 @@
{
"version": 1,
"api_version": 1,
"layout": {
"logo": "dist/yandex-browser-50x50.png",
"color": "#555555",
"show_title": true
}
}

BIN
containers/frontend/images/HowItWorks.png View File

Before After
Width: 1236  |  Height: 370  |  Size: 55 KiB

+ 0
- 154
containers/frontend/images/LessPass-icon-white.svg View File

@@ -1,154 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg3039"
version="1.1"
inkscape:version="0.91 r13725"
width="180"
height="180"
sodipodi:docname="LessPass-icon-white.svg">
<metadata
id="metadata3045">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs3043">
<filter
id="filter5169"
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow">
<feFlood
id="feFlood5171"
flood-opacity="0.4"
flood-color="rgb(0,0,0)"
result="flood" />
<feComposite
id="feComposite5173"
in2="SourceGraphic"
in="flood"
operator="in"
result="composite1" />
<feGaussianBlur
id="feGaussianBlur5175"
stdDeviation="2"
result="blur" />
<feOffset
id="feOffset5177"
dx="4"
dy="4"
result="offset" />
<feComposite
id="feComposite5179"
in2="offset"
in="SourceGraphic"
operator="over"
result="composite2" />
</filter>
<filter
id="filter3013"
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow">
<feFlood
id="feFlood3015"
flood-opacity="0.4"
flood-color="rgb(0,0,0)"
result="flood" />
<feComposite
id="feComposite3017"
in2="SourceGraphic"
in="flood"
operator="in"
result="composite1" />
<feGaussianBlur
id="feGaussianBlur3019"
stdDeviation="1"
result="blur" />
<feOffset
id="feOffset3021"
dx="4"
dy="4"
result="offset" />
<feComposite
id="feComposite3023"
in2="offset"
in="SourceGraphic"
operator="over"
result="composite2" />
</filter>
<filter
id="filter3097"
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow">
<feFlood
id="feFlood3099"
flood-opacity="0.4"
flood-color="rgb(0,0,0)"
result="flood" />
<feComposite
id="feComposite3101"
in2="SourceGraphic"
in="flood"
operator="in"
result="composite1" />
<feGaussianBlur
id="feGaussianBlur3103"
stdDeviation="2"
result="blur" />
<feOffset
id="feOffset3105"
dx="4"
dy="4"
result="offset" />
<feComposite
id="feComposite3107"
in2="offset"
in="SourceGraphic"
operator="over"
result="composite2" />
</filter>
</defs>
<sodipodi:namedview
pagecolor="#b1b1b1"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1871"
inkscape:window-height="1056"
id="namedview3041"
showgrid="false"
inkscape:zoom="2.814285"
inkscape:cx="83.115942"
inkscape:cy="134.0767"
inkscape:window-x="49"
inkscape:window-y="24"
inkscape:window-maximized="1"
inkscape:current-layer="svg3039"
showguides="true"
inkscape:guide-bbox="true"
inkscape:showpageshadow="false" />
<path
style="opacity:0.9;fill:#ffffff;fill-opacity:1;stroke:none;filter:url(#filter3097)"
d="m 88.85937,15.01627 c -5.751278,0.27568 -11.432799,2.6203 -15.843752,7.031248 L 22.046868,73.01626 c -9.410033,9.41003 -9.410033,24.55872 0,33.96875 l 50.96875,50.96875 c 9.410033,9.41003 24.558722,9.41003 33.968752,0 l 50.96875,-50.96875 c 9.41003,-9.41003 9.41003,-24.55872 0,-33.96875 L 106.98437,22.047518 C 101.98529,17.04844 95.37748,14.70383 88.85937,15.01627 Z m 0,30 c 0.38173,-0.0196 0.76987,0 1.15625,0 12.364,0 22.46875,10.13598 22.46875,22.49999 0,10.2795 -7.00683,18.97639 -16.46875,21.625 l 0,20.625 6.21875,0 c 0.126,0 0.21875,0.0928 0.21875,0.21875 l 0,10.25 c 0,0.1259 -0.0928,0.21875 -0.21875,0.21875 l -6.21875,0 0,3.875 6.21875,0 c 0.12098,-0.035 0.21875,0.0928 0.21875,0.21875 l 0,10.21875 c 0,0.1259 -0.0928,0.25 -0.21875,0.25 l -6.21875,0 -7.8125,0 -4.218752,0 0,-45.875 c -9.46194,-2.64861 -16.46875,-11.34551 -16.46875,-21.625 0,-11.97763 9.510121,-21.89377 21.343752,-22.49999 z m 1.15625,8.8125 c -7.596242,0 -13.656252,6.09122 -13.656252,13.68749 0,7.59632 6.06001,13.625 13.656252,13.625 7.59627,0 13.625,-6.02868 13.625,-13.625 0,-7.59627 -6.02873,-13.68749 -13.625,-13.68749 z"
id="rect3044"
inkscape:connector-curvature="0" />
</svg>

BIN
containers/frontend/images/LessPassDatabase.png View File

Before After
Width: 475  |  Height: 329  |  Size: 14 KiB

BIN
containers/frontend/images/counter.png View File

Before After
Width: 326  |  Height: 306  |  Size: 20 KiB

+ 0
- 1
containers/frontend/images/cover.original.txt View File

@@ -1 +0,0 @@
https://www.pexels.com/photo/grey-and-white-snow-covered-mountains-and-white-cloud-bank-65125/

BIN
containers/frontend/images/demo.gif View File

Before After
Width: 470  |  Height: 290  |  Size: 47 KiB

BIN
containers/frontend/images/double-blue-cover.png View File

Before After
Width: 2067  |  Height: 1280  |  Size: 18 KiB

BIN
containers/frontend/images/favicon.png View File

Before After
Width: 280  |  Height: 280  |  Size: 4.9 KiB

BIN
containers/frontend/images/fingerprint.png View File

Before After
Width: 329  |  Height: 309  |  Size: 20 KiB

BIN
containers/frontend/images/options.png View File

Before After
Width: 329  |  Height: 309  |  Size: 22 KiB

+ 0
- 17
containers/frontend/server.js View File

@@ -1,17 +0,0 @@
var express = require('express');
var app = express();

app.get('/robots.txt', function(req, res) {
res.type('text/plain');
res.send("User-agent: *\nAllow: /");
});

app.use('/dist', express.static(__dirname + '/dist'));

app.get('/', function(req, res) {
res.sendFile(__dirname + '/index.html');
});

app.listen(8080, function() {
console.log('frontend listening on port 8080');
});

+ 2
- 0
netlify.toml View File

@@ -0,0 +1,2 @@
[build]
base = "packages/lesspass-site"

+ 1
- 0
packages/lesspass-site/.gitignore View File

@@ -0,0 +1 @@
build

containers/frontend/Dockerfile → packages/lesspass-site/Dockerfile View File


containers/frontend/gulpfile.js → packages/lesspass-site/gulpfile.js View File

@@ -2,11 +2,11 @@ const { src, dest, parallel } = require("gulp");
const favicons = require("gulp-favicons");

function js() {
return src(["node_modules/lesspass-pure/dist/**/*"]).pipe(dest("dist/"));
return src(["node_modules/lesspass-pure/dist/**/*"]).pipe(dest("build/"));
}

function images() {
return src(["images/**/*"]).pipe(dest("dist/"));
return src(["images/**/*"]).pipe(dest("build/"));
}

function favicon() {
@@ -17,7 +17,7 @@ function favicon() {
appDescription: "Next-Gen Open Source Password Manager",
developerName: "Guillaume Vincent",
background: "#555555",
path: "dist/",
path: "/",
url: "https://lesspass.com/",
display: "standalone",
orientation: "portrait",
@@ -30,7 +30,7 @@ function favicon() {
replace: true
})
)
.pipe(dest("dist/"));
.pipe(dest("build/"));
}

exports.js = js;

containers/frontend/dist/HowItWorks.png → packages/lesspass-site/images/HowItWorks.png View File


containers/frontend/dist/LessPass-icon-white.svg → packages/lesspass-site/images/LessPass-icon-white.svg View File


containers/frontend/dist/LessPassDatabase.png → packages/lesspass-site/images/LessPassDatabase.png View File


containers/frontend/dist/counter.png → packages/lesspass-site/images/counter.png View File


containers/frontend/dist/cover.original.txt → packages/lesspass-site/images/cover.original.txt View File


containers/frontend/dist/demo.gif → packages/lesspass-site/images/demo.gif View File


containers/frontend/dist/double-blue-cover.png → packages/lesspass-site/images/double-blue-cover.png View File


containers/frontend/dist/favicon.png → packages/lesspass-site/images/favicon.png View File


containers/frontend/dist/fingerprint.png → packages/lesspass-site/images/fingerprint.png View File


containers/frontend/dist/options.png → packages/lesspass-site/images/options.png View File


containers/frontend/index.html → packages/lesspass-site/index.html View File

@@ -8,56 +8,56 @@
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<link rel="stylesheet" href="dist/lesspass.min.css" />
<link rel="manifest" href="dist/manifest.json" />
<link rel="manifest" href="dist/manifest.json" />
<link rel="stylesheet" href="lesspass.min.css" />
<link rel="manifest" href="manifest.json" />
<link rel="manifest" href="manifest.json" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="#555555" />
<meta name="application-name" content="LessPass" />
<link
rel="apple-touch-icon"
sizes="57x57"
href="dist/apple-touch-icon-57x57.png"
href="apple-touch-icon-57x57.png"
/>
<link
rel="apple-touch-icon"
sizes="60x60"
href="dist/apple-touch-icon-60x60.png"
href="apple-touch-icon-60x60.png"
/>
<link
rel="apple-touch-icon"
sizes="72x72"
href="dist/apple-touch-icon-72x72.png"
href="apple-touch-icon-72x72.png"
/>
<link
rel="apple-touch-icon"
sizes="76x76"
href="dist/apple-touch-icon-76x76.png"
href="apple-touch-icon-76x76.png"
/>
<link
rel="apple-touch-icon"
sizes="114x114"
href="dist/apple-touch-icon-114x114.png"
href="apple-touch-icon-114x114.png"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="dist/apple-touch-icon-120x120.png"
href="apple-touch-icon-120x120.png"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="dist/apple-touch-icon-144x144.png"
href="apple-touch-icon-144x144.png"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="dist/apple-touch-icon-152x152.png"
href="apple-touch-icon-152x152.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="dist/apple-touch-icon-180x180.png"
href="apple-touch-icon-180x180.png"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta
@@ -69,83 +69,70 @@
rel="icon"
type="image/png"
sizes="228x228"
href="dist/coast-228x228.png"
/>
<link
rel="yandex-tableau-widget"
href="dist/yandex-browser-manifest.json"
href="coast-228x228.png"
/>
<link rel="yandex-tableau-widget" href="yandex-browser-manifest.json" />
<meta name="msapplication-TileColor" content="#555555" />
<meta name="msapplication-TileImage" content="dist/mstile-144x144.png" />
<meta name="msapplication-config" content="dist/browserconfig.xml" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="dist/favicon-32x32.png"
/>
<meta name="msapplication-TileImage" content="mstile-144x144.png" />
<meta name="msapplication-config" content="browserconfig.xml" />
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="192x192"
href="dist/android-chrome-192x192.png"
href="android-chrome-192x192.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="dist/favicon-16x16.png"
/>
<link rel="shortcut icon" href="dist/favicon.ico" />
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
<link rel="shortcut icon" href="favicon.ico" />
<link
rel="apple-touch-startup-image"
media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)"
href="dist/apple-touch-startup-image-320x460.png"
href="apple-touch-startup-image-320x460.png"
/>
<link
rel="apple-touch-startup-image"
media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)"
href="dist/apple-touch-startup-image-640x920.png"
href="apple-touch-startup-image-640x920.png"
/>
<link
rel="apple-touch-startup-image"
media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)"
href="dist/apple-touch-startup-image-640x1096.png"
href="apple-touch-startup-image-640x1096.png"
/>
<link
rel="apple-touch-startup-image"
media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)"
href="dist/apple-touch-startup-image-750x1294.png"
href="apple-touch-startup-image-750x1294.png"
/>
<link
rel="apple-touch-startup-image"
media="(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)"
href="dist/apple-touch-startup-image-1182x2208.png"
href="apple-touch-startup-image-1182x2208.png"
/>
<link
rel="apple-touch-startup-image"
media="(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)"
href="dist/apple-touch-startup-image-1242x2148.png"
href="apple-touch-startup-image-1242x2148.png"
/>
<link
rel="apple-touch-startup-image"
media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)"
href="dist/apple-touch-startup-image-748x1024.png"
href="apple-touch-startup-image-748x1024.png"
/>
<link
rel="apple-touch-startup-image"
media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)"
href="dist/apple-touch-startup-image-768x1004.png"
href="apple-touch-startup-image-768x1004.png"
/>
<link
rel="apple-touch-startup-image"
media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)"
href="dist/apple-touch-startup-image-1496x2048.png"
href="apple-touch-startup-image-1496x2048.png"
/>
<link
rel="apple-touch-startup-image"
media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)"
href="dist/apple-touch-startup-image-1536x2008.png"
href="apple-touch-startup-image-1536x2008.png"
/>
<style>
* {
@@ -163,8 +150,7 @@

#fold {
background-size: cover;
background: #3398eb url(dist/double-blue-cover.png) no-repeat center
center;
background: #3398eb url(double-blue-cover.png) no-repeat center center;
min-height: 100%;
}

@@ -227,7 +213,7 @@
<div class="container d-none d-md-block py-sm-3 text-center">
<a class="navbar-brand" href="https://lesspass.com">
<img
src="dist/LessPass-icon-white.svg"
src="LessPass-icon-white.svg"
width="60"
height="60"
class="d-inline-block align-top"
@@ -280,11 +266,7 @@
</p>
</div>
<div class="col-12 col-sm-6">
<img
src="dist/HowItWorks.png"
class="img-fluid"
alt="LessPass demo"
/>
<img src="HowItWorks.png" class="img-fluid" alt="LessPass demo" />
</div>
</div>
<div class="row air">
@@ -294,7 +276,7 @@
length, etc...)
</p>
<img
src="dist/options.png"
src="options.png"
class="img-fluid my-1"
alt="LessPass options"
/>
@@ -305,7 +287,7 @@
Increment the counter field in your options.
</p>
<img
src="dist/counter.png"
src="counter.png"
class="img-fluid my-1"
alt="LessPass counter"
/>
@@ -318,7 +300,7 @@
"<i>I like to eat in this luxury liner</i>".
</p>
<img
src="dist/fingerprint.png"
src="fingerprint.png"
class="img-fluid my-1"
alt="LessPass fingerprint"
/>
@@ -336,7 +318,7 @@
</div>
<div class="col-12 col-sm-7">
<img
src="dist/LessPassDatabase.png"
src="LessPassDatabase.png"
class="img-fluid"
alt="LessPass Database"
/>
@@ -467,6 +449,6 @@
</div>
</div>
</div>
<script src="dist/lesspass.min.js"></script>
<script src="lesspass.min.js"></script>
</body>
</html>

containers/frontend/package.json → packages/lesspass-site/package.json View File

@@ -6,7 +6,7 @@
"author": "Guillaume Vincent <guillaume@oslab.fr>",
"repository": "lesspass/frontend",
"scripts": {
"build": "rm -rf dist && gulp && rm dist/index.html",
"build": "rm -rf build && gulp && cp index.html build/index.html",
"start": "NODE_ENV=production node server.js",
"test": "echo 0"
},

+ 14
- 0
packages/lesspass-site/server.js View File

@@ -0,0 +1,14 @@
var path = require("path");
var express = require("express");

var app = express();

app.use(express.static(path.join(__dirname, "build")));

app.get("/", function(req, res) {
res.sendFile(path.join(__dirname, "build", "index.html"));
});

app.listen(8080, function() {
console.log("frontend listening on port 8080");
});

containers/frontend/svg/fa-globe.svg → packages/lesspass-site/svg/fa-globe.svg View File


containers/frontend/svg/fa-lock.svg → packages/lesspass-site/svg/fa-lock.svg View File


containers/frontend/svg/fa-sliders.svg → packages/lesspass-site/svg/fa-sliders.svg View File


containers/frontend/svg/fa-user.svg → packages/lesspass-site/svg/fa-user.svg View File


containers/frontend/svg/favicons.svg → packages/lesspass-site/svg/favicons.svg View File


containers/frontend/svg/features.svg → packages/lesspass-site/svg/features.svg View File


containers/frontend/svg/hero-cover.svg → packages/lesspass-site/svg/hero-cover.svg View File


containers/frontend/svg/how-it-works.svg → packages/lesspass-site/svg/how-it-works.svg View File


containers/frontend/svg/logo-white.svg → packages/lesspass-site/svg/logo-white.svg View File


containers/frontend/svg/logo.svg → packages/lesspass-site/svg/logo.svg View File


+ 4224
- 0
packages/lesspass-site/yarn.lock
File diff suppressed because it is too large
View File


Loading…
Cancel
Save