Coder Social home page Coder Social logo

payloadcms / website Goto Github PK

View Code? Open in Web Editor NEW
335.0 8.0 79.0 23.84 MB

The official Next.js website for payloadcms.com

Home Page: https://payloadcms.com

License: MIT License

JavaScript 0.88% TypeScript 79.75% SCSS 19.38%
graphql nextjs payloadcms react

website's People

Contributors

58bits avatar adityadeshpande09 avatar alessiogr avatar ashokasec avatar danribbens avatar denolfe avatar elliot67 avatar jacobsfletch avatar jarrodmflesch avatar jesschowdhury avatar jmikrut avatar maxmorozoff avatar patrikkozak avatar paulpopus avatar tylandavis avatar zubricks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

website's Issues

Refine `FormHero` and `FormBlock` styles

Slight CSS refinements need to be made to both of the components so they more closely align with the mockups, namely:

  • Background texture pattern (see image below)
  • Custom rich text bullets (see image below)
  • Adjustments to background color (see mockups)
  • Leader text above the form (see image below)

Screen Shot 2022-11-02 at 6 15 58 PM
Screen Shot 2022-11-02 at 6 15 29 PM
Screen Shot 2022-11-02 at 6 17 51 PM

Header

  • Build out main menu header
  • Integrate new grid/gutter layout

Implement Content Grid block

Data is all built out and already fetched on frontend for this block.

The only tricky part might be to render it on either a light or dark background. In the dark mode, you need to use <ThemeProvider theme="dark"> and then manually apply the dark background color (var(--theme-bg)).

Build banner component

One reusable component Banner to be re-used inside the BannerBlock, which will also be used in the docs and possibly elsewhere.

Refinements to HoverHighlights

  • Reduce the vertical padding of each hover highlight
  • Make the media hover about 200px to the right of the cursor, not directly on it
  • Need to reduce the space between the row indices and headings. Either center in the available open space, position: absolute and hug it closer to heading, or break the entire component away from the grid and just use display: flex with appropriate spacing / sizing
  • Animate the intro / outro of the hovered media. Maybe a subtle transform: scale and opacity
  • If you load the site, and don't move your mouse at all, and scroll down the page, MouseInfoProvider will not have initialized and the images will appear in the top left corner

Build forms

This should include form context (Form) and all fields (Text, etc), but does the FormBlock component. For that, see this ticket.

Importantly, fields should be able to be used outside of the form context.

Footer

  • Build out the footer in its entirety
  • Integrate with new grid layout

Ensure Mailchimp form in footer works

I believe it may redirect to a "thank you" page or similar. Double-check how it works on the live site and ensure that we have everything replicated accordingly.

Tooling

Configure lint tools for consistency

Setup ISR

  • [] Open an API route to securely handle regeration requests using the secret key
  • [] Fire NextJS revalidate method with the given URL

Related to this issue

Setup preview

We need to setup NextJS preview mode so that editors can make changes without going immediately live. Here's a brief step-by-step of this process:

  • Open preview API route and set preview mode
  • Handle preview mode in getStaticProps
  • Install payload-admin-bar
  • Handle preview exit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.