Project setup and first section

This commit is contained in:
Pawel 2021-07-30 08:13:23 +02:00
commit 9a53b2ee4a
14 changed files with 137647 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
.DS_Store
node_modules
/dist
.idea

1
README.md Normal file
View File

@ -0,0 +1 @@
Status Waku

1
_config.yml Normal file
View File

@ -0,0 +1 @@
theme: jekyll-theme-slate

118761
assets/css/styles.css Normal file

File diff suppressed because it is too large Load Diff

46
gulpfile.js Normal file
View File

@ -0,0 +1,46 @@
const { watch, series, src, dest } = require("gulp");
var browserSync = require("browser-sync").create();
var postcss = require("gulp-postcss");
const imagemin = require("gulp-imagemin");
// Task for compiling our CSS files using PostCSS
function cssTask(cb) {
return src("./src/*.css") // read .css files from ./src/ folder
.pipe(postcss()) // compile using postcss
.pipe(dest("./assets/css")) // paste them in ./assets/css folder
.pipe(browserSync.stream());
cb();
}
// Task for minifying images
function imageminTask(cb) {
return src("./assets/images/*")
.pipe(imagemin())
.pipe(dest("./assets/images"));
cb();
}
function browsersyncServe(cb) {
browserSync.init({
server: {
baseDir: "./",
},
});
cb();
}
function browsersyncReload(cb) {
browserSync.reload();
cb();
}
// Watch Files & Reload browser after tasks
function watchTask() {
watch("./**/*.html", browsersyncReload);
watch(["./src/*.css"], series(cssTask, browsersyncReload));
}
// Default Gulp Task
exports.default = series(cssTask, browsersyncServe, watchTask);
exports.css = cssTask;
exports.images = imageminTask;

BIN
img/arrow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

21
img/logo.svg Normal file
View File

@ -0,0 +1,21 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<path d="M2.4392 28.756C2.14474 28.756 1.85027 28.6034 1.68537 28.3335C1.43802 27.9109 1.56759 27.371 1.99161 27.1246C2.05051 27.0894 7.17418 24.0025 11.2496 20.0354C7.00928 15.9039 2.07406 12.9344 2.01517 12.8992C1.59114 12.6527 1.46158 12.1128 1.70893 11.6903C1.95628 11.2678 2.49809 11.1386 2.92212 11.3851C3.14591 11.526 8.59939 14.7889 13.1341 19.4133C13.4639 19.7537 13.4639 20.3053 13.1341 20.6457C8.8114 25.0706 3.14591 28.4861 2.89856 28.6386C2.75722 28.7091 2.6041 28.756 2.4392 28.756Z" fill="#242424"/>
<path d="M37.5868 28.756C37.4337 28.756 37.2806 28.7208 37.1275 28.6269C36.8919 28.4861 31.2146 25.0706 26.8919 20.634C26.5621 20.2936 26.5621 19.742 26.8919 19.4016C31.4149 14.7772 36.8683 11.5143 37.1039 11.3734C37.5279 11.1269 38.0697 11.256 38.3171 11.6786C38.5644 12.1011 38.4349 12.641 38.0108 12.8875C37.9637 12.9227 33.0167 15.8805 28.7765 20.0236C32.8518 23.9908 37.9873 27.0894 38.0344 27.1128C38.4467 27.3593 38.588 27.8992 38.3406 28.3218C38.1757 28.6035 37.8813 28.756 37.5868 28.756Z" fill="#242424"/>
<path d="M19.9883 13.4043C19.7645 13.4043 19.5407 13.3222 19.3758 13.1578C14.9353 8.85032 11.5077 3.20478 11.3546 2.9583C11.1072 2.53577 11.2486 1.99586 11.6608 1.74938C12.0731 1.50291 12.6149 1.63201 12.874 2.05455C12.9093 2.11323 16.0071 7.21887 19.9883 11.2799C24.1343 7.05455 27.1143 2.13671 27.1496 2.07802C27.397 1.65549 27.9388 1.52638 28.3628 1.77286C28.7751 2.01934 28.9164 2.55924 28.6691 2.98178C28.5277 3.21652 25.2533 8.63906 20.6125 13.1578C20.4358 13.3104 20.2121 13.4043 19.9883 13.4043Z" fill="#242424"/>
<path d="M12.1202 38.3915C11.9671 38.3915 11.8139 38.3562 11.6608 38.2623C11.2486 38.0159 11.1072 37.476 11.3546 37.0534C11.4959 36.8187 14.9353 31.1614 19.3758 26.8539C19.7174 26.5253 20.2709 26.5253 20.6125 26.8539C25.2533 31.3609 28.5277 36.7952 28.6691 37.03C28.9164 37.4525 28.7869 37.9924 28.3628 38.2389C27.9506 38.4854 27.397 38.3562 27.1496 37.9337C27.1143 37.8868 24.1461 32.9572 19.9883 28.7318C16.0071 32.7929 12.8976 37.9102 12.874 37.9572C12.7091 38.2389 12.4146 38.3915 12.1202 38.3915Z" fill="#242424"/>
<path d="M39.081 18.6031C38.5157 18.6031 32.3201 18.5679 26.2188 16.9834C25.7595 16.866 25.4768 16.3965 25.5828 15.9271C26.9844 9.91766 30.0704 4.06085 30.2118 3.82611C30.4356 3.39184 30.9774 3.23926 31.4014 3.46226C31.8372 3.68527 32.0021 4.22517 31.7665 4.64771C31.743 4.70639 28.9515 9.98808 27.5145 15.4928C33.2742 16.8543 38.9986 16.8425 39.1164 16.8543C39.5993 16.8543 39.9998 17.2416 39.9998 17.7346C39.9998 18.2275 39.6111 18.6148 39.1164 18.6148C39.1046 18.6031 39.0928 18.6031 39.081 18.6031Z" fill="#242424"/>
<path d="M9.05772 36.6549C8.91637 36.6549 8.77503 36.6197 8.64547 36.5493C8.20966 36.3263 8.05654 35.7864 8.28033 35.3638C8.30389 35.3169 11.0012 30.223 12.4971 24.507C6.97291 23.216 1.00118 23.1925 0.895171 23.1925C0.400471 23.1925 0 22.7934 0 22.3122C0 21.831 0.388693 21.4319 0.883392 21.4319C1.17786 21.3967 7.79741 21.4319 13.7927 23.0047C14.2521 23.1221 14.5347 23.5916 14.4287 24.061C12.9446 30.3521 9.97644 35.9507 9.84688 36.1854C9.68198 36.4789 9.37574 36.6549 9.05772 36.6549Z" fill="#242424"/>
<path d="M23.7695 14.4014C23.3808 14.4014 23.0275 14.1431 22.9215 13.7558C21.2489 7.81685 21.1311 1.20887 21.1311 0.927175C21.1193 0.445954 21.508 0.0468933 22.0027 0.0351562H22.0145C22.4974 0.0351562 22.8861 0.42248 22.8979 0.903701C22.8979 0.962386 23.0039 6.93657 24.4056 12.4413C30.1182 10.8685 35.1829 8.09854 35.2301 8.06332C35.6541 7.82858 36.1959 7.98116 36.4315 8.4037C36.667 8.82624 36.5139 9.36614 36.0899 9.60088C35.8543 9.72999 30.2831 12.7816 23.9933 14.3661C23.9109 14.3896 23.8402 14.4014 23.7695 14.4014Z" fill="#242424"/>
<path d="M18.0335 39.9533C17.5506 39.9533 17.1619 39.566 17.1502 39.0848C17.1502 39.0261 17.0559 33.2749 15.5954 27.5472C10.0948 29.0731 4.84155 31.9369 4.79444 31.9604C4.37041 32.1951 3.8286 32.0425 3.59303 31.62C3.35746 31.1975 3.51058 30.6576 3.9346 30.4228C4.18195 30.2937 10.0006 27.113 16.0076 25.6224C16.4788 25.505 16.9499 25.7867 17.0677 26.2444C18.7991 32.4651 18.9052 38.8031 18.9052 39.0731C18.9169 39.5425 18.5282 39.9416 18.0335 39.9533Z" fill="#242424"/>
<path d="M16.3727 14.3195C16.2903 14.3195 16.2196 14.3077 16.1372 14.2842C10.1654 12.6411 4.41749 9.34293 4.18192 9.20209C3.75789 8.95561 3.61655 8.4157 3.8639 7.99317C4.09947 7.58237 4.64128 7.42979 5.06531 7.67627C5.12421 7.71148 10.3068 10.6927 15.7602 12.3476C17.3504 6.65514 17.5741 0.915705 17.5859 0.845283C17.6095 0.364062 18.0335 -0.0349991 18.5047 0.000212159C18.9876 0.0119492 19.3763 0.422747 19.3527 0.915705C19.3409 1.17392 19.0936 7.51195 17.209 13.6974C17.103 14.073 16.7496 14.3195 16.3727 14.3195Z" fill="#242424"/>
<path d="M21.5543 39.9999C21.5426 39.9999 21.5308 39.9999 21.519 39.9999C21.0361 39.9764 20.6474 39.5773 20.6709 39.0844C20.6827 38.8027 20.9536 32.2064 22.7675 26.3027C22.9089 25.8449 23.3918 25.5867 23.8512 25.7158C30.0938 27.4412 35.5944 30.6219 35.83 30.7628C36.254 31.0092 36.3953 31.5492 36.148 31.9717C35.9006 32.3942 35.3588 32.5351 34.9348 32.2886C34.8877 32.2534 29.8936 29.3778 24.2163 27.6642C22.6969 33.1337 22.4495 39.1078 22.4377 39.1665C22.4259 39.6243 22.0255 39.9999 21.5543 39.9999Z" fill="#242424"/>
<path d="M0.918728 18.5207C0.895171 18.5207 0.883392 18.5207 0.871614 18.5207C0.388693 18.5207 0 18.1216 0 17.6404C0 17.1592 0.388693 16.7836 0.883392 16.7601C0.895171 16.7601 6.93757 16.7601 12.4971 15.4808C11.0247 9.75308 8.33922 4.65918 8.31567 4.61224C8.08009 4.17796 8.24499 3.64979 8.6808 3.41505C9.11661 3.19205 9.64664 3.35637 9.87044 3.7789C10 4.01364 12.9564 9.62397 14.417 15.9151C14.523 16.3845 14.2403 16.8423 13.7809 16.9714C7.97409 18.4855 1.55477 18.5207 0.918728 18.5207Z" fill="#242424"/>
<path d="M30.9304 36.6781C30.6124 36.6781 30.3061 36.502 30.153 36.2086C30.0234 35.9621 26.9492 30.1053 25.5594 24.0959C25.4534 23.6264 25.736 23.1687 26.1954 23.0513C32.4734 21.4433 38.8456 21.4668 39.0929 21.4551C39.5759 21.4551 39.9763 21.8541 39.9763 22.3354C39.9763 22.8166 39.5759 23.2156 39.0929 23.2156C39.0929 23.2156 39.0929 23.2156 39.0694 23.2156C38.6925 23.2156 33.0859 23.2391 27.4793 24.5419C28.9045 30.0349 31.6842 35.3401 31.7078 35.387C31.9316 35.8213 31.7667 36.3495 31.3426 36.5725C31.2131 36.6429 31.0717 36.6781 30.9304 36.6781Z" fill="#242424"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="40" height="40" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 6.3 KiB

21
img/symbol-pink.svg Normal file
View File

@ -0,0 +1,21 @@
<svg width="192" height="192" viewBox="0 0 192 192" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<path d="M11.7039 138.028C10.2904 138.028 8.877 137.296 8.08549 136C6.89821 133.972 7.52011 131.38 9.55545 130.197C9.83814 130.028 34.4318 115.211 53.9936 96.1689C33.6403 76.338 9.95121 62.0844 9.66852 61.9154C7.63319 60.7323 7.01128 58.1408 8.19856 56.1126C9.38584 54.0844 11.9865 53.4647 14.0219 54.6478C15.0961 55.3239 41.2728 70.9859 63.0396 93.183C64.6226 94.8168 64.6226 97.4647 63.0396 99.0985C42.2904 120.338 15.0961 136.732 13.9088 137.465C13.2304 137.803 12.4954 138.028 11.7039 138.028Z" fill="#FDB4C4"/>
<path d="M180.41 138.029C179.675 138.029 178.94 137.86 178.205 137.409C177.074 136.733 149.823 120.339 129.074 99.0429C127.491 97.4091 127.491 94.7612 129.074 93.1274C150.784 70.9302 176.961 55.2682 178.092 54.5922C180.127 53.4091 182.728 54.0288 183.915 56.057C185.102 58.0851 184.48 60.6767 182.445 61.8598C182.219 62.0288 158.473 76.226 138.12 96.1133C157.682 115.156 182.332 130.029 182.558 130.141C184.537 131.325 185.215 133.916 184.028 135.944C183.237 137.296 181.823 138.029 180.41 138.029Z" fill="#FDB4C4"/>
<path d="M95.944 64.3376C94.8698 64.3376 93.7956 63.9432 93.0041 63.1545C71.6896 42.4784 55.2373 15.3798 54.5023 14.1967C53.3151 12.1686 53.9935 9.57702 55.9723 8.39392C57.9511 7.21082 60.5518 7.83054 61.7956 9.85871C61.9652 10.1404 76.8345 34.6474 95.944 54.1404C115.845 33.8587 130.149 10.2531 130.319 9.97139C131.506 7.94322 134.107 7.3235 136.142 8.5066C138.121 9.6897 138.799 12.2812 137.612 14.3094C136.933 15.4362 121.216 41.4643 98.9405 63.1545C98.0924 63.8869 97.0182 64.3376 95.944 64.3376Z" fill="#FDB4C4"/>
<path d="M58.1773 184.282C57.4423 184.282 56.7073 184.113 55.9723 183.662C53.9935 182.479 53.3151 179.888 54.5023 177.86C55.1808 176.733 71.6896 149.578 93.0041 128.902C94.6437 127.324 97.3009 127.324 98.9405 128.902C121.216 150.536 136.933 176.62 137.612 177.747C138.799 179.775 138.177 182.367 136.142 183.55C134.163 184.733 131.506 184.113 130.319 182.085C130.149 181.86 115.902 158.198 95.944 137.916C76.8345 157.409 61.9087 181.972 61.7956 182.198C61.0041 183.55 59.5907 184.282 58.1773 184.282Z" fill="#FDB4C4"/>
<path d="M187.59 89.2951C184.876 89.2951 155.137 89.1261 125.851 81.5205C123.646 80.9571 122.289 78.7035 122.798 76.45C129.526 47.605 144.339 19.4923 145.017 18.3655C146.092 16.281 148.692 15.5486 150.728 16.6191C152.819 17.6895 153.611 20.281 152.48 22.3092C152.367 22.5909 138.968 47.943 132.07 74.3655C159.717 80.9007 187.194 80.8444 187.759 80.9007C190.077 80.9007 192 82.7599 192 85.1261C192 87.4923 190.134 89.3514 187.759 89.3514C187.703 89.2951 187.646 89.2951 187.59 89.2951Z" fill="#FDB4C4"/>
<path d="M43.477 175.943C42.7986 175.943 42.1201 175.774 41.4982 175.436C39.4064 174.366 38.6714 171.774 39.7456 169.746C39.8587 169.521 52.8057 145.07 59.9859 117.634C33.47 111.436 4.80565 111.324 4.29682 111.324C1.92226 111.324 0 109.408 0 107.098C0 104.789 1.86572 102.873 4.24028 102.873C5.65371 102.704 37.4276 102.873 66.2049 110.422C68.4099 110.986 69.7668 113.239 69.2579 115.493C62.1343 145.69 47.8869 172.563 47.265 173.69C46.4735 175.098 45.0035 175.943 43.477 175.943Z" fill="#FDB4C4"/>
<path d="M114.091 69.1267C112.226 69.1267 110.529 67.8873 110.021 66.0281C101.992 37.5211 101.427 5.80275 101.427 4.45064C101.37 2.14078 103.236 0.225283 105.611 0.168945H105.667C107.985 0.168945 109.851 2.0281 109.908 4.33796C109.908 4.61965 110.416 33.2957 117.144 59.7182C144.565 52.1689 168.876 38.8732 169.102 38.7042C171.137 37.5774 173.738 38.3098 174.869 40.338C175.999 42.3661 175.264 44.9577 173.229 46.0844C172.098 46.7042 145.356 61.352 115.166 68.9577C114.77 69.0704 114.431 69.1267 114.091 69.1267Z" fill="#FDB4C4"/>
<path d="M86.5583 191.774C84.2403 191.774 82.3745 189.915 82.318 187.605C82.318 187.323 81.8657 159.718 74.8551 132.225C48.4523 139.549 23.2367 153.295 23.0106 153.408C20.9752 154.535 18.3745 153.802 17.2438 151.774C16.113 149.746 16.848 147.154 18.8834 146.028C20.0706 145.408 48 130.14 76.8339 122.985C79.0954 122.422 81.3569 123.774 81.9222 125.971C90.2332 155.83 90.742 186.253 90.742 187.549C90.7986 189.802 88.9328 191.718 86.5583 191.774Z" fill="#FDB4C4"/>
<path d="M78.5876 68.732C78.1918 68.732 77.8526 68.6757 77.4568 68.563C48.7925 60.6757 21.2024 44.8447 20.0717 44.1687C18.0363 42.9856 17.3579 40.394 18.5452 38.3658C19.6759 36.394 22.2766 35.6616 24.3119 36.8447C24.5946 37.0137 49.471 51.3236 75.6476 59.2673C83.2802 31.9433 84.3544 4.39402 84.4109 4.05599C84.524 1.74613 86.5593 -0.169363 88.8208 -0.00034882C91.1388 0.0559892 93.0045 2.02782 92.8915 4.39402C92.8349 5.63345 91.6477 36.056 82.6017 65.7461C82.0929 67.5489 80.3968 68.732 78.5876 68.732Z" fill="#FDB4C4"/>
<path d="M103.464 192C103.407 192 103.351 192 103.294 192C100.976 191.887 99.1106 189.972 99.2236 187.606C99.2802 186.254 100.581 154.592 109.287 126.254C109.966 124.056 112.284 122.817 114.489 123.437C144.453 131.718 170.856 146.986 171.987 147.662C174.022 148.845 174.701 151.437 173.513 153.465C172.326 155.493 169.725 156.169 167.69 154.986C167.464 154.817 143.492 141.014 116.241 132.789C108.948 159.042 107.761 187.718 107.704 188C107.648 190.197 105.725 192 103.464 192Z" fill="#FDB4C4"/>
<path d="M4.40989 88.9012C4.29682 88.9012 4.24028 88.9012 4.18375 88.9012C1.86572 88.9012 0 86.9857 0 84.6759C0 82.366 1.86572 80.5632 4.24028 80.4505C4.29682 80.4505 33.3004 80.4505 59.9859 74.3097C52.9187 46.8167 40.0283 22.366 39.9152 22.1407C38.7845 20.0562 39.576 17.521 41.6678 16.3942C43.7597 15.3238 46.3039 16.1125 47.3781 18.1407C48 19.2674 62.1908 46.197 69.2014 76.3942C69.7102 78.6477 68.3533 80.8449 66.1484 81.4646C38.2756 88.7322 7.4629 88.9012 4.40989 88.9012Z" fill="#FDB4C4"/>
<path d="M148.466 176.057C146.939 176.057 145.469 175.212 144.734 173.803C144.113 172.62 129.356 144.507 122.685 115.662C122.176 113.409 123.533 111.212 125.738 110.648C155.872 102.93 186.459 103.043 187.646 102.986C189.964 102.986 191.886 104.902 191.886 107.212C191.886 109.522 189.964 111.437 187.646 111.437C187.646 111.437 187.646 111.437 187.533 111.437C185.724 111.437 158.812 111.55 131.9 117.803C138.741 144.169 152.084 169.634 152.197 169.86C153.272 171.944 152.48 174.479 150.445 175.55C149.823 175.888 149.144 176.057 148.466 176.057Z" fill="#FDB4C4"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="192" height="192" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 6.2 KiB

68
index.html Normal file
View File

@ -0,0 +1,68 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="assets/css/styles.css" rel="stylesheet" />
<title>Waku</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,700;1,500&family=Open+Sans:wght@300;400;600;700&display=swap" rel="stylesheet">
</head>
<body class="font-body">
<header class="flex justify-between items-center px-6 py-4 bg-white">
<a href="">
<img src="./img/logo.svg" alt="">
</a>
<div class="flex flex-col justify-center items-center h-8 w-8">
<span class="block bg-gray w-7 h-0.5"></span>
<span class="block bg-gray w-7 h-0.5 my-2"></span>
<span class="block bg-gray w-7 h-0.5"></span>
</div>
</header>
<main>
<!-- Hero -->
<div class="container max-w-screen-xl mx-auto">
<section class="flex flex-col items-center bg-gray py-8 px-6 md:flex-row md:px-16 py-20 lg:px-32 lg:py-36">
<div class="mb-10 min-w-max md:mb-0 md:mr-12 lg:mr-32">
<img src="./img/symbol-pink.svg" alt="">
</div>
<div class="lg:max-w-2xl">
<h1 class="font-special font-medium text-white text-2xl">
<span class="text-pink font-bold">Waku</span> is a modular, privacy-preserving, peer-to-peer messaging protocol designed for resource restricted devices.
</h1>
<a class="block pl-3 mt-8 text-blue text-xs lg:mt-16" href="">Try WAKU</a>
</div>
</section>
<!-- What is waku -->
<section class="bg-pink py-10 px-6 md:flex md:p-0">
<div class="flex items-center justify-center md:w-4/12 md:bg-white md:justify-start md:pl-16 lg:pl-32">
<h2 class="font-special text-2xl md:w-28">What is Waku?</h2>
</div>
<div class="mt-10 md:w-8/12 md:px-16 md:py-11 md:mt-0 lg:px-28">
<p class="text-sm mb-8 leading-relaxed md:max-w-sm lg:max-w-none">Waku is a fork of the p2p Whisper protocol designed for <b>greater scalability.</b> </p>
<p class="text-sm mb-8 leading-relaxed md:max-w-sm lg:max-w-none">Waku is a gossip based protocol that <b>removes centralized third parties</b> from our messaging and enables private, secure, censorship communication. </p>
<p class="text-sm mb-8 leading-relaxed md:max-w-sm lg:max-w-none">Waku is designed for <b>generalized messaging,</b> enabling both human-to-human or machine-to-machine communication.</p>
<a class="block text-blue text-xs pl-3" href="">Learn more about Waku</a>
</div>
</section>
<!-- How it works -->
<section class="py-10 px-6 md:flex md:p-0">
<div class="flex items-center justify-center md:justify-start md:w-4/12 md:pl-16 lg:pl-32">
<h2 class="font-special text-2xl md:w-28">How it works?</h2>
</div>
<div class="mt-10 md:w-8/12 md:pr-16 md:py-11 md:mt-0">
<p class="text-sm font-bold mb-8 leading-relaxed">Waku implements PubSub over libp2p and adds capabilities on top of it. These capabilities are:</p>
<ul class="text-sm mb-8 leading-relaxed">
<li>1. Retrieving historical messages for mostly-offline devices.</li>
<li>2. Adaptive nodes, allowing for heterogeneous nodes to contribute.</li>
<li>3. Bandwidth preservation for light nodes. This makes it ideal for running a p2p protocol on mobile and in similarly restricted environments.</li>
</ul>
<p class="text-sm mb-8 leading-relaxed md:max-w-sm lg:max-w-none">This makes it ideal for running a p2p protocol on mobile and in similarly restricted environments.</p>
<a class="block text-blue text-xs pl-3" href="">Learn more about Waku</a>
</div>
</section>
</div>
</main>
</body>
</html>

18664
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

20
package.json Normal file
View File

@ -0,0 +1,20 @@
{
"name": "status-waku",
"version": "1.0.0",
"description": "",
"main": "index.html",
"scripts": {
"dev": "gulp",
"build": "NODE_ENV=production gulp css",
"build-images": "gulp images"
},
"devDependencies": {
"autoprefixer": "^10.2.4",
"browser-sync": "^2.26.14",
"gulp": "^4.0.2",
"gulp-imagemin": "^7.1.0",
"gulp-postcss": "^9.0.0",
"postcss": "^8.2.6",
"tailwindcss": "^2.0.3"
}
}

6
postcss.config.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

3
src/styles.css Normal file
View File

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

31
tailwind.config.js Normal file
View File

@ -0,0 +1,31 @@
module.exports = {
purge: ["./src/**/*.css", "./**/*.html"],
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
'body': ['"Open Sans"'],
'special': ['"IBM Plex Mono"']
},
colors: {
white: '#fff',
black: '#000',
blue: '#3A71F9',
green: '#18B088',
pink: '#FDB4C4',
gray: '#242424',
},
screens: {
'none': '100%',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1340px',
'2xl': '1700px'
},
extend: {},
},
variants: {
extend: {},
},
plugins: [],
};