Hippo
3eca0be184
Rearrange assets to make templates more sensible
...
Parcel has been removed since we didn't need it anymore (Tailwind
does the purging by itself anyway). Instead, we've told Express
to serve all static assets from src/assets/ and use twig templates
from src/ directly.
Meanwhile, Nodemon now watches for changes in .css and .twig files
too!
2022-01-06 16:15:24 +05:30
Hippo
831a1fff7d
Add meta tag to make page resize properly in mobile
2022-01-06 15:20:57 +05:30
Hippo
fb76433250
Start sending verification emails
...
Finally!
2022-01-06 14:39:46 +05:30
Hippo
a381077b83
Set up "email verification" workflow (minus the email itself)
...
We'll start sending out the email in the next step, when the setup
of nodemailer is complete. Right now, everything else works:
creating a verification link, processing it when clicked on, and
even updating (instead of appending) a pledge when the same email
submits multiple times. No pretty error messages though; that's
another thing to be worked on :P
WARNING: Don't deploy this commit live; people will be told about a
verification email but they won't actually get it yet!
2022-01-05 23:43:58 +05:30
Hippo
a33ba1dc9c
Use nodemon for auto-reload of Express server
...
This is so that we don't have to keep restarting the server every
time we make a change. Parcel was taking care of this for the
static files like HTML and CSS, but not for the Express server
itself: that required calling in Nodemon to do the job.
2022-01-05 22:09:46 +05:30
Hippo
bf58eab258
Standardise variable names between page and database
...
This is, again, so the validation function can be used for both
datasets rather than having to process each one differently.
2022-01-05 19:37:21 +05:30
Hippo
5a4d97b1bd
Validate submit button in view (not in validation function)
...
This is so the validation function can also be used in other
places, such as while processing an already saved pledge.
2022-01-05 19:36:13 +05:30
Hippo
1bf1e3a55e
Add "unverified pledges" table
...
Pledges will now be saved in the "unverified pledges" table until
they are verified by email.
2022-01-05 19:21:10 +05:30
Hippo
87afc8688e
Move pledge validation into new function
...
This is so we can reuse it in two places: while saving a pledge,
and while validating/verifying it.
2022-01-05 19:10:01 +05:30
Hippo
3e0e775af9
Save reminder count properly
...
Earlier, it wasn't being checked at all so everything was being
set to the default of 10.
2022-01-05 18:56:13 +05:30
Hippo
9530362baf
Activate "hand" pointer when hovering over FAQs
2022-01-05 18:55:39 +05:30
7efbfd5432
Fill in remaining FAQs
...
Thanks to Dee, Akil, Anjali for drafting them on Notion!
2021-12-31 12:38:42 +00:00
bfdf693854
Remove dark styles for now
...
They don't work because stuff like "white on white" happens, so we'll
do them all properly later.
2021-12-31 06:48:16 +00:00
Hippo
9a62cf3fc8
Add proper links and sample PDF in "about" sections
2021-12-29 23:54:20 +05:30
Hippo
2c41252a81
Add "I have another question..." option to FAQ
2021-12-29 23:27:59 +05:30
Hippo
a22013a934
Change name placeholder text
...
Because "Some One" looks weird
2021-12-29 23:27:46 +05:30
Hippo
680c3cf278
Use "send" instead of "end" at end of requests
...
This is so that they show as pages and the browser doesn't try to
download them instead.
2021-12-29 23:20:30 +05:30
Hippo
349d9ae8a4
Update "Thanks" message to be more friendly
2021-12-29 22:52:51 +05:30
Hippo
e5d0a41e69
Add SQLite databases to .gitignore
2021-12-29 22:37:27 +05:30
Hippo
ca1654ccde
Add "overseas" option
...
Because they need to pay more for shipping
2021-12-29 22:36:40 +05:30
Hippo
cb376b91ec
Save and accept incoming pledges
2021-12-29 22:35:25 +05:30
Hippo
8e312b3ac5
Set up Twing with basic counting (current goals details!)
2021-12-29 19:45:21 +05:30
Hippo
afdd4dca1c
Set up basic Express server
2021-12-29 17:22:17 +05:30
Hippo
aa804a4b56
Set up database: knex and bookshelf
2021-12-29 17:05:51 +05:30
Hippo
1d7bcaf821
Explicitly add dotenv to dependencies
...
We'll be needing it in a bit!
2021-12-29 09:46:00 +05:30
Hippo
25bd7acca2
Move timeline up and remove redundant description
...
The "help us to..." section was redundant since everything has
already been explained in a more visual way!
2021-12-28 22:56:10 +05:30
Hippo
faa1b2d132
Adjust image styling so the aspect ratio isn't messed up
2021-12-28 22:55:36 +05:30
Hippo
ed182d4f20
Underline links so people know they exist
2021-12-28 22:39:51 +05:30
Hippo
2804a2454b
Add all the puppy pics!
2021-12-28 22:39:43 +05:30
Hippo
13d0bfc182
Update header to have third puppy holding up magazine
2021-12-28 21:57:21 +05:30
Hippo
b43e182d8e
Set up FAQ and timeline sections
2021-12-28 19:13:46 +05:30
Hippo
0946ac3b96
Fix typo in 750 tier
...
Thanks, Dee :)
2021-12-28 19:12:55 +05:30
Hippo
c751e975e8
Remove random heading colours
...
Let's keep it simple!
2021-12-28 19:12:41 +05:30
Hippo
394eb69983
Add submission form (doesn't work yet though)
2021-12-28 18:45:38 +05:30
Hippo
410d7dd828
Make donation option boxes responsive
2021-12-28 18:04:10 +05:30
Hippo
e2682cc1f8
Add tier selection tiles
2021-12-28 17:58:37 +05:30
Hippo
ebedadd38d
Rearrange page to have floating donation box
2021-12-27 23:17:20 +05:30
Hippo
8bc309a936
Switch to new fonts: Fanwood Text, Didact Gothic
2021-12-27 22:18:32 +05:30
Hippo
d3500615ab
Add netlify.toml
2021-12-27 22:10:59 +05:30
Hippo
154caab594
Add main page content
2021-12-27 22:09:42 +05:30
Hippo
378a0cb060
Set up Tailwind (with PostCSS)
2021-12-27 18:22:54 +05:30
Hippo
14b1cd87b5
Initial Parcel project
2021-12-27 17:44:02 +05:30