This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export async function action(context: ActionFunctionArgs) { | |
return await serverAction(context, ["subscribeToBeNotified"]); | |
} | |
export default function Route(){ | |
function handleSubmit(event) { | |
try { | |
const formdata = new FormData(event.currentTarget); // where event.currentTarget is a form | |
validateFormdata(formdata, subscribeToBeNotifiedSchema); | |
// submit form to server if it validates |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/stylesheets/partials/_basics.sass b/app/stylesheets/partials/_b | |
index a03f1bf..5f5b08d 100644 | |
--- a/app/stylesheets/partials/_basics.sass | |
+++ b/app/stylesheets/partials/_basics.sass | |
@@ -19,8 +19,8 @@ ul,ol | |
body | |
:background | |
// CHANGEME use variable instead of hardcoded colour | |
- :color #E0E658 | |
- :image= image_url("bkgr/bkgr_body.png") |