Initial commit

This commit is contained in:
amir houieh 2023-04-05 11:46:17 +02:00 committed by GitHub
commit a258a1fe6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 360 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.DS_Store
.idea

86
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,86 @@
pipeline {
agent { label 'linux' }
options {
disableConcurrentBuilds()
/* Necessary for logos-side-builder local_folder source type. */
checkoutToSubdirectory('src')
/* manage how many builds we keep */
buildDiscarder(logRotator(
numToKeepStr: '20',
daysToKeepStr: '30',
))
}
environment {
/* Mode of logos-site-builder for copying site source from already checked out repo.
* TODO: Avoid copying anything at all, make checkout site of into `docs` folder work. */
CONTENT_SOURCE_TYPE = 'local_folder'
CONTENT_SOURCE_URL = '../src'
GIT_COMMITTER_NAME = 'status-im-auto'
GIT_COMMITTER_EMAIL = 'auto@status.im'
/* dev page settings
* TODO: update DEV_SITE env var and uncomment it before the build */
// DEV_SITE = 'dev.domain.com'
DEV_HOST = 'jenkins@node-01.do-ams3.sites.misc.statusim.net'
SCP_OPTS = 'StrictHostKeyChecking=no'
}
stages {
stage('Clone Builder') {
steps {
dir('builder') {
checkout([$class: 'GitSCM',
branches: [[name: 'v0']],
userRemoteConfigs: [[url: 'https://github.com/acid-info/logos-site-builder']]])
}
}
}
stage('Install') {
steps {
dir('builder') {
sh 'yarn install'
}
}
}
stage('Build') {
steps {
dir('builder') {
sh 'yarn build'
}
}
}
stage('Publish Prod') {
when { expression { env.GIT_BRANCH ==~ /.*master/ } }
steps {
dir('src') {
sh 'cp -r ../builder/out ./'
sshagent(credentials: ['status-im-auto-ssh']) {
sh "ghp-import -p out"
}
}
}
}
stage('Publish Devel') {
when { expression { env.GIT_BRANCH ==~ /.*develop/ } }
steps {
dir('builder') {
sshagent(credentials: ['jenkins-ssh']) {
sh """
rsync -e 'ssh -o ${SCP_OPTS}' -r --delete out/. \
${env.DEV_HOST}:/var/www/${env.DEV_SITE}/
"""
}
}
}
}
}
post {
cleanup { cleanWs() }
}
}

13
README.md Normal file
View File

@ -0,0 +1,13 @@
## Description
Content of `[your-site]` website
## Practical notes
- Please keep this repo clean and for markdown content ONLY
- In case you have any issue with rendering, how website looks (design), etc, please file an issue on [logos website builder](https://github.com/acid-info/logos-site-builder/issues). And/or feel free to contact Amir.
## Process
1. Clone this repo for a new website (click on use this template)
2. Adjust the Jekinfile: Update DEV_SITE environment variable in the Jenkinsfile in the clone logos site-builder content template with your domain, such as dev.domain.com and uncomment it before the build.
3. Add your domain name to CNAME file located in `/statis-assets/`CNAME`
4. Create a issue and assign to @serhanwbahar to take care of deployment

32
about.md Normal file
View File

@ -0,0 +1,32 @@
---
title: About
category: page
---
## Quod per
Differt intrat purpura: habitandae sic! Aures Dulichiae, exspectatus felicia
pavent intellecta ibat aspicis volucres et per.
> Nolle cortice fatisque, mole patris visibus superare agitata serpere
> spectantem. Funera loca mihi sed [urnam
> ulterius](http://tectus.net/additisveniam) sunt Peleu soluto; Augusto via.
> Tibi vix et nec sua poma accingitur; ipsas culpam cornus: paludes Tereus!
> Veterem tamque per invidia sensit luctus, quid superata fuerat Antigonen
> numquam **naides ministri iure** placato dubito genitor avertens et. Pomo
> surgit et et esset et modo.
## Mitia prospectet fugit vel tutaeque abiit opus
## Si Libys transformat fuerat dederatque mergor
Lorem markdownum Euboico quis si hac aemulus, corporis intus; illi times
[mercede](http://quamvis.org/indeproxima.html). Hunc nato conclamat Pulchrior
quo. Qui tandem Venus, inque quos urbe durasse bracchia suo. Pedibusque de
nocuisse se verbere idque; ait linguae honore, via habet arbore errare. Erat ubi
dum regna sceleri: meus obsidis felix undas adopertaque ortu.
1. Convaluit esse vipereasque tibi fortis sponte
2. Partibus tendentem poenam sumpsisse ab nisi
3. Limina quodcunque saepe cum bracchia patremque tale
4. Credidit in auras murum

66
config.json Normal file
View File

@ -0,0 +1,66 @@
{
"theme": {
"palettes": {
"dark": {
"background": "#1F1E42",
"text": "#F3DDC3",
"accentActive": "#7187FF",
"accentMute": "#49445C"
},
"light": {
"background": "#F3DDC3",
"text": "#1F1E42",
"accentActive": "#7187FF",
"accentMute": "#C9B7A9"
}
},
"fontFamily": "monospace",
"codeTheme": "prism/duotone-dark"
},
"template": "default",
"static_assets_folder": "static-assets",
"navigation": {
"home": "main.md",
"fileOrdersInSidenav": [
"main.md",
"about.md"
],
"folderOrdersInSidenav": [],
"external_links": [
{
"text": "Blog",
"url": "https://vac.dev/research",
"category": "Links"
}
]
},
"ds_id": "waku",
"seo": {
"title": "title of your site",
"description": "description of your site",
"image": "your-site-preview-image.png",
"url": "https://yoursitedomain.org",
"social_media": [
{
"provider": "twitter",
"handler": "your_tw_handler"
},
{
"provider": "discord",
"handler": "your_dsc_handler"
},
{
"provider": "github",
"handler": "your_gh_handler"
},
{
"provider": "telegram",
"handler": "waku_org"
},
{
"provider": "discourse",
"handler": "your_disc_address"
}
]
}
}

70
index.md Normal file
View File

@ -0,0 +1,70 @@
```ascii
+--------------------------------------------------------+ +------------------------------------------------------+
| | | |
| | | |
| VAC | | CODEX |
| | | +--------------+ |
| | | | | |
| +----------------+ +------------------+ | | | | |
| | | | | | | | | |
| | | | PROTOCOL | | +-----+--------+ RESEARCH | |
| | PRINCIPLES +-----+----+ DEVELOPMENT | | | | | | |
| | | | | PROCESS | | | | | | +-------------+ |
| | | | | | | | | | | | | |
| +----------------+ | +------------------+ | | | +--------------+ | | |
| | | | | | OPINIATED | |
| | | | | +------> PRODUCTS | |
| | | | | | | | |
| | | | | +--------------+ | | | |
| +-------------v---------------+ | | | | | | | | |
| | <------------+----+ | | | | +-------------+ |
| | | | | | +-----+ |
| | AGNOSTIC SPECIFICATIONS | | | | ENGINEERING | |
| | +------------+----------+--------> | |
| | | | | | | |
| +-------------+---------------+ | | | | |
| | | | +--------------+ |
| | | | |
| | | | |
+---------------------------+----------------------------+ +------------------------------------------------------+
|
|
|
|
v
+----------------------------+
| |
| |
| UNOPINIONATED PROTOCOLS |
| |
| |
+----------------------------+
```
Normal textNormal textNormal textNormal textNormal textNormal textNormal textNormal textNormal textNormal textNormal textNormal textNormal textNormal text.
```paragraph
The Pyramid of Sahure (Ancient Egyptian: Ḫꜥỉ-bꜣ Sꜣḥw-Rꜥ, lit.'Rising of the ba of Sahure'; Arabic: هرم ساحورع, romanized: Haram Sahawrae) is a pyramid complex built in the late 26th to 25th century BC for the Egyptian pharaoh Sahure of the Fifth Dynasty.[10][a] It introduced a period of pyramid building by Sahure's successors in Abusir, on a location earlier used by Userkaf for his sun temple. The site was first thoroughly excavated by Ludwig Borchardt between March 1907 and 1908, who wrote the standard work Das Grabdenkmal des Königs Sahu-Re (English: The Funerary Monument of King Sahure) between 1910 and 1913.
The pyramid complex's layout was adopted by succeeding kings of the Fifth and Sixth Dynasties, marking a milestone in pyramid complex construction. Compared to the preceding Fourth Dynasty, the immensity of the constructions was dramatically reduced but, in tandem, the decorative programme proliferated and temples were augmented by enlarged storeroom complexes. The complex is estimated to.
```
```mermaid
sequenceDiagram
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```
![Drag Racing](./static-assets/image-1.jpeg)
```tsx
const sum = (a, b) => {
return a+b;
}
console.log(sum(2+2));
```

36
research/index.md Normal file
View File

@ -0,0 +1,36 @@
---
title: research
---
# Saepe ne iura
Differt intrat purpura: habitandae sic! Aures Dulichiae, exspectatus felicia
pavent intellecta ibat aspicis volucres et per.
> Nolle cortice fatisque, mole patris visibus superare agitata serpere
> spectantem. Funera loca mihi sed [urnam
> ulterius](http://tectus.net/additisveniam) sunt Peleu soluto; Augusto via.
> Tibi vix et nec sua poma accingitur; ipsas culpam cornus: paludes Tereus!
> Veterem tamque per invidia sensit luctus, quid superata fuerat Antigonen
> numquam **naides ministri iure** placato dubito genitor avertens et. Pomo
> surgit et et esset et modo.
## Mitia prospectet fugit vel tutaeque abiit opus
Ira ducum, requiescit conatur **occupat sacros adigitque** oculos fontem.
Ferventibus pretium cuius. Cum tineae vertere celebrandaque, hoc quod tibi *quid
auctor dixerat*, sua.
Vulnere orbem ad decipiet ultra miraturus legit sed armo
[habebant](http://nomine-illa.io/non-qua.php)! Et rumpunt ferro est fetum, in
est expellitque lateat! Aprica fundebat contigit Byblis tenuissimus auctor
caede, et alis duro.
Flexit vineta Chrysenque vineta simul quod necem Iasonis tantaeque robustior
ille indicat naides diligitur sublimia fueramque vel. Nomen est in sed praeterit
veras tempora, Iove hausta? Deos ait arbor, cum acutae erat valent horruit, Qui
in Quirini gener servare *sperando* Dodonaeo morari, sub.
Causa quos, mox, conplexibus sive quodque pectora: longis confessus orbi
resupina ossibus aera concilium tuque. Vulnus flumina. Prima ut Phineus anum
cornibus sentite tonitribus super. Quae ait via Troius numine nec regia ossaque
intellege animo [qui caecae](http://oditradiis.com/) motamque, erat **colubras
dicta** dies.

54
research/research-a.md Normal file
View File

@ -0,0 +1,54 @@
---
title: An amazing blog post
category: research
---
# Saepe ne iura
## Si Libys transformat fuerat dederatque mergor
Lorem markdownum Euboico quis si hac aemulus, corporis intus; illi times
[mercede](http://quamvis.org/indeproxima.html). Hunc nato conclamat Pulchrior
quo. Qui tandem Venus, inque quos urbe durasse bracchia suo. Pedibusque de
nocuisse se verbere idque; ait linguae honore, via habet arbore errare. Erat ubi
dum regna sceleri: meus obsidis felix undas adopertaque ortu.
1. Convaluit esse vipereasque tibi fortis sponte
2. Partibus tendentem poenam sumpsisse ab nisi
3. Limina quodcunque saepe cum bracchia patremque tale
4. Credidit in auras murum
## Quod per
Differt intrat purpura: habitandae sic! Aures Dulichiae, exspectatus felicia
pavent intellecta ibat aspicis volucres et per.
> Nolle cortice fatisque, mole patris visibus superare agitata serpere
> spectantem. Funera loca mihi sed [urnam
> ulterius](http://tectus.net/additisveniam) sunt Peleu soluto; Augusto via.
> Tibi vix et nec sua poma accingitur; ipsas culpam cornus: paludes Tereus!
> Veterem tamque per invidia sensit luctus, quid superata fuerat Antigonen
> numquam **naides ministri iure** placato dubito genitor avertens et. Pomo
> surgit et et esset et modo.
## Mitia prospectet fugit vel tutaeque abiit opus
Ira ducum, requiescit conatur **occupat sacros adigitque** oculos fontem.
Ferventibus pretium cuius. Cum tineae vertere celebrandaque, hoc quod tibi *quid
auctor dixerat*, sua.
Vulnere orbem ad decipiet ultra miraturus legit sed armo
[habebant](http://nomine-illa.io/non-qua.php)! Et rumpunt ferro est fetum, in
est expellitque lateat! Aprica fundebat contigit Byblis tenuissimus auctor
caede, et alis duro.
Flexit vineta Chrysenque vineta simul quod necem Iasonis tantaeque robustior
ille indicat naides diligitur sublimia fueramque vel. Nomen est in sed praeterit
veras tempora, Iove hausta? Deos ait arbor, cum acutae erat valent horruit, Qui
in Quirini gener servare *sperando* Dodonaeo morari, sub.
Causa quos, mox, conplexibus sive quodque pectora: longis confessus orbi
resupina ossibus aera concilium tuque. Vulnus flumina. Prima ut Phineus anum
cornibus sentite tonitribus super. Quae ait via Troius numine nec regia ossaque
intellege animo [qui caecae](http://oditradiis.com/) motamque, erat **colubras
dicta** dies.

1
static-assets/CNAME Normal file
View File

@ -0,0 +1 @@
<your-domain>.<ttl>

BIN
static-assets/image-1.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB