Commit Graph

6 Commits

Author SHA1 Message Date
SWB c1dcf59684
add jenkinsfile and CNAME file (#102)
The current implementation of the site builder requires content
repo to be submited as a zip file for production using env vars
`CONTENT_SOURCE_TYPE=git` and `CONTENT_SOURCE_URL=repo-link.zip`
which is not considered a best practice. Due to this, a race
condition may occur during the build process if another commit
is made while the build is in progress which may lead a security
flow. To work around this,first, we checkout into `src` using
`checkoutToSubdirectory('src')`. Then, we use `local_folder`
mode using `CONTENT_SOURCE_TYPE=local_folder` and
`CONTENT_SOURCE_URL=..src` env vars, just like a local develop.
`local_folder` mode copies the website files from `src` into
`docs` because the site builder is incapable of copying it.
We checkout the builder into the `builder` directory and run
the `install` and `build` commands inside of that directory.
Finally, for publish stages, we copy the `out` directory into
the site repo, since the out directory is in the wrong repo.
2023-03-16 12:04:50 +01:00
amir houieh 92668b43b3
Staging (#67)
* init commit

* Update config.json

* Update README.md

* add image assets

* adjust images src format

* fix image links

* Add files via upload

* add cc footer

* add video media

* fix(staging): content changes and fixes

* cleanup math included pages

* Add principles

* fixing date formats to ISO

* minor updates

* enabling data endpoints

* add author profile ascii for test

* add hanno ascii

* editorial adj

* add team

* init

Co-authored-by: amirhouieh <amir@status.im>
Co-authored-by: Hanno Cornelius <hanno@status.im>
2022-06-10 13:52:01 +01:00
amir houieh 2187fbbe11
Revert "Staging - migration to new site builder (#64)" (#65)
This reverts commit f4b4f332f8.
2022-06-06 12:53:57 +02:00
amir houieh f4b4f332f8
Staging - migration to new site builder (#64)
* init commit

* Update config.json

Co-authored-by: amirhouieh <amir@status.im>
2022-06-06 12:53:09 +02:00
Jakub Sokołowski 3829bf9524 ci: drop --ignore-optional flag from yarn
Fixes image compression step:
```
Starting 'images'...
gulp-imagemin: Couldn't load default plugin "optipng"
'images' errored after 23 ms
  TypeError in plugin "gulp-imagemin"
Message:
    fn is not a function
Details:
    fileName: /home/jenkins/workspace/website/dev.vac.dev/assets/img/arrow-peach.svg
    domainEmitter: [object Object]
    domainThrown: false
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-13 00:02:14 +09:00
Maria Rushkova 59b95cdc98 New design (#42) (#45)
* Add new design

* Use yarn instead of npm

* Add 404 page style

* Update "See VAC Openings" CTA

* Change VAC to Vac

* Change specs link

* Keep post categories

* Change code formatting

* Update images

* Update media links

* Add media image default

* Update package.json

* Add twitter cards meta data

* Add media section back

* Remove images

* Comment script for form

* Change media urls to https

* Import font locally

* Add Anonymous font

* Change inner page layout

* Change pre code style

* Add font preloading

* Change post content styles

* Add alt attribute

* Change footer research links

* Update gitignore

* Add Fathom analytics

* Update links

* Change gif to video

* Add work cards links back

* Change footer spacing

* Change logo size

* Fix header

* Centered section join

* Make cards clickable

* Align left section join

* Remove graphic & video section about

* Return logo size

* Add post for Waku v1 vs Waku v2 bandwidth comparison (#43)

* Add post for Waku v1 vs Waku v2 bandwidth comparison

* Addressing PR comments

* Added future work. Minor changes to intro.

(cherry picked from commit 007696cfc9)

* Add <code> styles

* Add Hanno page

* Add opinion piece on ethics in surveillance tech (#44)

* Add opinion piece on ethics in surveillance tech

* Change published date. Added preface.

* wrong date - today is 3rd

(cherry picked from commit c64f5a889e)

* Add circe page

Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
Co-authored-by: thecirce <95408261+thecirce@users.noreply.github.com>

Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
Co-authored-by: thecirce <95408261+thecirce@users.noreply.github.com>
2022-01-13 00:02:14 +09:00