elegantframework / elegant-cli

✨ Build SEO-friendly websites, super fast full-stack web applications, and much more with Elegant. 💜 Built with Next.js, TipTap, Tailwind CSS, and more.
https://www.elegantframework.com
Other
175 stars 20 forks source link

As a developer, I need an 'Admin' page layout component for a content creation portal. #77

Closed Bowens20832 closed 1 year ago

Bowens20832 commented 1 year ago

I am actively R&Ding #49, and I have a solution.

The new content creation portal needs a different header that has different nav items for site admin users.

The current header and content portal do not jive.

Removing items and playing with Outstatic really seem to create something 'elegant'.

MicrosoftTeams-image (12)

Bowens20832 commented 1 year ago

I have been exploring this further.

I full "Admin" layout may not be needed. We may be able to just use the existing layout props instead.

Outstatic.layoutProps = {
    meta: {
        title: MetaTitle(Config('app.name'), Config('app.tagline'))
    },
    stickyHeader: true
};

I have also been playing around with the sticky header, and turning the beams background off/on in the admin panel.

Screenshot 2023-06-13 213356

Screenshot 2023-06-13 213540

SaxenaShiv commented 1 year ago

I think turning on the beams background is more "elegant"

Bowens20832 commented 1 year ago

I think turning on the beams background is more "elegant"

Hey @Shiv-2712 thank you for the feedback! It's greatly appreciated 😄

I ran it by some other smart minds, and the general consensus is that the beams are going to stay ❤️

Bowens20832 commented 1 year ago

I have dived further into developing the CMS panel, and this issue is not relevant anymore.

I am closing this in favor of the innovations made here: https://github.com/elegantframework/elegant-cli/tree/feature%2Foutstanding