Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.

Add front page notice box for subscribing to newsletter#58

Open
tewson wants to merge 4 commits into
DublinInquirer:mainfrom
tewson:front-newsletter-subscribe-notice
Open

Add front page notice box for subscribing to newsletter#58
tewson wants to merge 4 commits into
DublinInquirer:mainfrom
tewson:front-newsletter-subscribe-notice

Conversation

@tewson

@tewson tewson commented Oct 27, 2020

Copy link
Copy Markdown

@brianflanagan I was asked to add a floating dismissible notice for people to subscribe to the newsletter to the front page similar to https://thecurrentla.com/. This PR is sort of my proposal for you to review on how to add it.

Basically, I added a new layout partial for a container element that's fixed to the bottom. I then made a copy of the cookie notice because the existing one is used elsewhere. I put this cookie notice copy and a new newsletter subscribe box to the fixed-bottom container.

I also added a new cookie to make the subscribe box appear only once every 24 hours if the user is not logged in.

I still have to add the actual subscription form to the box, but I just wanted to see what you think first.

Base automatically changed from master to main January 19, 2021 20:19
@brianflanagan

Copy link
Copy Markdown
Member

Oh jeez -- completely forgot about this and just accidentally closed along with a few dependabots. Will look! So sorry!

@brianflanagan brianflanagan reopened this Sep 9, 2021
@tewson

tewson commented Sep 14, 2021

Copy link
Copy Markdown
Author

Hey! No worries @brianflanagan. Not sure if the requirements are outdated now but let me know what you think.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants