diff --git a/.env.dist b/.env.dist index 108b00b6..e143643b 100644 --- a/.env.dist +++ b/.env.dist @@ -1 +1,2 @@ BASE_URL=http://localhost:3000 +SECRET=secret diff --git a/.gitignore b/.gitignore index e8f682ba..48370ec6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +/data/db.sqlite + +/daemonise.json +/daemonise.log + # Created by .ignore support plugin (hsz.mobi) ### Node template # Logs diff --git a/README.md b/README.md index b1948141..10085c23 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ $ yarn install # configure environment $ cp .env.dist .env $ nano .env +$ node server/initDb.js # serve with hot reload at localhost:3000 $ yarn dev diff --git a/assets/style.scss b/assets/style.scss index c8e6fc1c..44e5394e 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -13,6 +13,11 @@ $container-max-widths: ( ) !default; +$nouns: #0F3974; +$theme-colors: ( + "nouns": $nouns, +); + @import "~bootstrap/scss/functions"; @import "~bootstrap/scss/variables"; @import "~bootstrap/scss/mixins"; @@ -86,3 +91,11 @@ code { padding: .2em; border-radius: $border-radius-sm; } + +@for $columns from 1 through 12 { + .table-fixed-#{$columns} { + th, td { + width: (100% / $columns); + } + } +} diff --git a/components/NounForm.vue b/components/NounForm.vue new file mode 100644 index 00000000..3f31b00a --- /dev/null +++ b/components/NounForm.vue @@ -0,0 +1,49 @@ + + + diff --git a/components/NounSubmitForm.vue b/components/NounSubmitForm.vue new file mode 100644 index 00000000..972aa7a4 --- /dev/null +++ b/components/NounSubmitForm.vue @@ -0,0 +1,181 @@ + + + diff --git a/components/Separator.vue b/components/Separator.vue index 3565a841..dee543f1 100644 --- a/components/Separator.vue +++ b/components/Separator.vue @@ -1,5 +1,5 @@