lustre-labs / lustre

An Elm-inspired framework for building HTML templates, single page applications, and server-rendered components in Gleam!
https://hexdocs.pm/lustre
MIT License
715 stars 50 forks source link

Feat: Lustre Site #145

Open versecafe opened 1 week ago

versecafe commented 1 week ago

Lustre Framework Site

In the same vein as nextjs.org, nuxt.com, and phoenixframework.org a site for the Lustre framework obviously built on Lustre, to provide a both information on the framework but also an example of it in use.

Very early small demo page

image

Also lustre doesn't really have release logs so idk where I'd get the side data from so right now I'm just using lorem, also the whole UI is just a mock up more wondering if there's interest in the idea at all

hayleigh-dot-dev commented 1 week ago

Yeah! A site is on my long list of things to do 😔 We have lustre.build as a domain ready ^.^

versecafe commented 1 week ago

Is there any idea how hosting would be done since Gleam isn't exactly suitable for shoving on a Lamda and into Vercel for free hosting?

Also any idea on theme or styling to get something unique?

hayleigh-dot-dev commented 1 week ago

If we build a full stack thing (eg maybe to show off server components) then we can host on fly, if not we can host a static site on GitHub pages or netlify no problem.

I was just throwing together something generic, but anyone with a design eye would be very appreciated ^.^

https://github.com/lustre-labs/lustre/assets/9001354/e13ac491-cc43-4059-93ea-6de6e6a3b2c6

versecafe commented 1 week ago

I think it would be nice to show off Server components, it's one of the unique features that makes lustre more of a full framework then a UI library, I'd be happy to help with the UI side since I spend far more time on front end web work than I have with Gleam or really FP and MVC control as a whole

hayleigh-dot-dev commented 1 week ago

Not making any promises or commitments but I am very open to more suggestions / designs ^.^

versecafe commented 1 week ago

I'm thinking of trying to pull in some design elements around the beam VMs name just since it could give a fun design element with light rays, probably something around pink-300 for tailwind colours to match with gleam as a base. The main thing I'm worried about is doing animations for interactivity maybe ffi to framer motion could solve it since that opens up a lot of options

hayleigh-dot-dev commented 3 days ago

That sounds like a fun idea!