diff --git a/server/index.js b/server/index.js index 185faf7..943a224 100644 --- a/server/index.js +++ b/server/index.js @@ -37,6 +37,7 @@ knex.schema.hasTable('pledges').then(function(exists) { t.boolean('was_robot').defaultTo(true) t.integer('amount').notNullable() + t.boolean('overseas') t.string('name', 128) t.boolean('anonymous') t.string('email', 128) @@ -144,6 +145,7 @@ router.post('/pledge', async (req, res) => { let phone = req.body.phone let newsletter = req.body.newsletter == 'yes' ? true : false + let overseas = req.body.overseas == 'yes' ? true : false let messages = req.body.messages if (!!errors.length) { @@ -155,6 +157,7 @@ router.post('/pledge', async (req, res) => { let pledge = new Pledge() pledge.set('was_robot', robo) pledge.set('amount', amount) + pledge.set('overseas', overseas) pledge.set('name', name) pledge.set('anonymous', anonymous) pledge.set('email', email) diff --git a/src/index.htm b/src/index.htm index 45e8b21..9965778 100644 --- a/src/index.htm +++ b/src/index.htm @@ -16,7 +16,7 @@
Snipette -

Analog for Everyone

+

Analog for Everyone

@@ -218,6 +218,13 @@

You get: all the perks from the next lowest level

+
diff --git a/src/style.css b/src/style.css index 94bddb5..01aad88 100644 --- a/src/style.css +++ b/src/style.css @@ -11,7 +11,7 @@ a { } .donate-option > li { - @apply row-auto text-center inline-block p-10 bg-white rounded-md text-black border-2 border-white hover:border-green-500 hover:cursor-pointer h-full w-full; + @apply text-center inline-block p-10 bg-white rounded-md text-black border-2 border-white hover:border-green-500 hover:cursor-pointer h-full w-full; } .donate-option > input:checked + li {