sentier-dev / dds_registration

Django app for event registration and billing
MIT License
0 stars 1 forks source link

Create a landing content for the main page #39

Closed lilliputten closed 7 months ago

lilliputten commented 7 months ago

To check: do we need a redirect from main page to user's profile if the user is already logged in? Or it could be useful for users to get to that main page sometimes (for some reason)?

cmutel commented 7 months ago

If the user isn't logged in, then something like:

Screenshot 2024-03-21 at 13 02 49

Where:

If the user is logged in, then something like:

Screenshot 2024-03-21 at 13 05 58

Where:

cmutel commented 7 months ago

You can play with the layout, I am not a designer!

lilliputten commented 7 months ago

What's this: 'B is a reminder for users who aren't members that they can join DdS (with a button to /membership)'? Do we need to add another column like is_member? Or it's about the membership on a different site? Shouldn't it be data-driven (we just show this block, not trying to determine if the current user is a member or not; just like a simple advertisement)?

UP: I see #50 (Feature: DdS membership) -- probably, there is enough information on it?

cmutel commented 7 months ago

UP: I see https://github.com/Depart-de-Sentier/dds_registration/issues/50 (Feature: DdS membership) -- probably, there is enough information on it?

Yes, I need to close this issue first. For now it can be a link to example.com.

lilliputten commented 7 months ago

Do we have to use an active property for events, to show if an event is available for registration and/or to be listed on site?

Mb, one more property: closed to show that registrations are finished?

cmutel commented 7 months ago

Better to just use can_register from https://github.com/Depart-de-Sentier/dds_registration/commit/b983e89bef553bc5b775f70571ff6a5d2931575e

cmutel commented 7 months ago

We already have public - this is also needed to be listed on the homepage.

lilliputten commented 7 months ago

Are these texts for the part 'B' (membership texts for anonymous and logged users) already ready? M.b, I can use some drafts?

cmutel commented 7 months ago

Part B text:

Become a member! Membership is for one calendar year, and costs €25 for academics and €50 for everyone else. Members get a newsletter, a vote at the General Assembly, and discounts on selected DdS events.

lilliputten commented 7 months ago

Is it for non-logged users? Or for logged ones too?

No links/buttons there?

cmutel commented 7 months ago

It is for everyone who isn't a member (see https://github.com/Depart-de-Sentier/dds_registration/pull/57/files#diff-ba495e5b9a7a2a85ab521cb77e5cfc5da5e8e53c92657ad40a5e83a9919546c3R113).

"Become a member" links to the membership view (you need to write this).

lilliputten commented 7 months ago

I'm going to use the same text for logged users too. It's possible to change it later.

lilliputten commented 7 months ago

Probably, to use a button for 'Become...' is more 'clickable' option?

Here are some probes (ca lickable title and a button):

2024-03-25-17-56-48

cmutel commented 7 months ago

Yes to the button. We only need the button then, not the link as well. I think with the picture the way it is this needs to be on a white or off-white background. Same text for anyone who isn't a member, regardless of whether they are logged in or not.