Giter Club home page Giter Club logo

mdb-theme-fse's People

Contributors

mdibella-dev avatar rdg-dibella avatar

Watchers

 avatar

mdb-theme-fse's Issues

Modernize the UI

  • Create a Footer which contains the buttons to the social media profiles, links to the imprint and to the mail address
  • Restore the ability of the navbar to become a sidebar on larger displays
  • Add the scroll to top link to the sidebar
  • Add a scroll to bottom link to the sidebar
  • Add a jump to home link to the sidebar (with a "Home" icon)
  • Remove the mdb logo

Get rid of normalize?

Experiences with a new theme have shown that some settings set by normalize may collide with those of theme.json or hamonize badly.

Better section transition

Bildschirmfoto 2022-12-05 um 09 49 37 (2)

Should a shadow be added to the preceding element (alternatively: a gradient or a darker background color to the following element?) to achieve more plasticity?

Change font family slugs to primary, secondary

The website currently uses two fonts

  • Inter
  • Roboto Slab

The fonts are included via theme.json with the name of the font family. This name also corresponds to the slug, which has the consequence that Gutenberg constructs selectors like the following from it: --wp--preset--font-family--roboto-slab

It seems better to designate the fonts as primary (Inter) or secondary (Roboto Slab) according to their use.

The corresponding selectors would then be --wp--preset--font-family--primary and --wp--preset--font-family--secondary.

Advantage: The fonts could be exchanged in the theme.json without having to adjust the style sheet.

Use <div> instead <header> at navbar wrapper element

Currently, the wrapper element that comprises the navbar is tagged

.

Due to the variable display of the navbar - sometimes as a header, sometimes as a sidebar - this tag seems misleading.

Suggestion: tag the wrapper element with the

.

Bildschirmfoto 2023-07-01 um 12 13 47 (2)

Replace #app with wp-site-blocks?

The #app container serves as a wrapper for the entire website.

At the same time Gutenberg adds its own wrapper (.wp-site-blocks) which includes all templates and blocks and with that also #app.

The idea: transfer the settings made by #app to .wp-site-block to remove the unnecessary double strictures and reduce DOM depth.

Bildschirmfoto 2023-07-01 um 12 02 07

Code cleanup: Use Gutenberg related classes instead of HTML tags (wherever possible)

Sample: _embed.scss

.wp-block-image.is-style-shaded {
    // spacing
    margin-top: calc(2.5 * #{$base--gap});
    margin-bottom: calc(2.5 * #{$base--gap});

    &:first-child {
        margin-top: 0;
    }

    &:last-child {
        margin-bottom: 0;
    }

    figcaption {
        margin-top: 1.3rem;
    }

    img {
        //background: cssvar(background-universal);
        box-shadow: 0 8px 10px 0 rgba(0,0,0,.35);
        border-radius: $base--border-radius;
    }
}

can be changed into:

.wp-block-image.is-style-shaded {
    // spacing
    margin-top: calc(2.5 * #{$base--gap});
    margin-bottom: calc(2.5 * #{$base--gap});

    &:first-child {
        margin-top: 0;
    }

    &:last-child {
        margin-bottom: 0;
    }

    .wp-element-caption {
        margin-top: 1.3rem;
    }

    img {
        //background: cssvar(background-universal);
        box-shadow: 0 8px 10px 0 rgba(0,0,0,.35);
        border-radius: $base--border-radius;
    }
}

Remove arrow icon next to external links?

Is there still a need to highlight external links?

Apart from display errors (the arrow can slip into the next line if the actual link ends on the right-hand side of the text), this provides the user with additional information that is not of any real or necessary benefit. Furthermore, the reading flow can be disturbed.

Show an animated 404 page

Just for fun: The 404 lettering could vary and/or be animated

Additionally, funny sayings could be displayed, for example:

"This is not the page you are looking for" - Yoda

Perhaps this could also lead to the development of a "quote generator block"

UI/UX: More consistency and simplicity needed

Recent changes to the design of links and buttons have introduced a number of inconsistencies that unnecessarily complicate the user experience and future developments.

1. Missing hover effect

Ohne Titel-1
Ohne Titel-2

There is no hover effect for the loadmore element publikationsliste and for the block element wp-block-navigation (style: pagenavigation).

In the absence of any other style markup, it may not be possible for the user to recognize that these are elements that can be activated.


2. Inconsistent hover effect

E.g.: Links in the text (additionally marked with an underscore) and in the main navigation are highlighted differently.

Ohne Titel-3
Ohne Titel-4
Unbenannt-2


3. Three different "button" styles

Unbenannt-1

.wp-block-image.is-style-transparent should be merged with .wp-block-image

.wp-block-image.is-style-transparent is basically just .wp-block-image with some spacing.

This results in the possibility of merging the two styles. The prerequisite is that the possibility to set the spacing manually by the author is activated via the theme.json in the block editor.

After this, it would be necessary to consider whether the new style (probably: wp-block-image) already carries a default spacing or not.

Post tags look unfinished

Ohne Titel

Problem 1: There is no visible demarcation between the post tags and the upstream design element (paragraph, image, etc.), such as increased spacing, a heading, a separator line, etc.

Problem 2: The question arises whether the use of buttons as post tag references is at all purposeful. Perhaps a term list (as provided in the WordPress core block element) should rather be used.

This list should then perhaps be designed with the Inconsolata font to emphasize that this is a secondary navigation element.

"Jump up" overlaps content

Currently, the "Jump up" button is positioned at the bottom right of the screen.

Problem: The button is hard to find in mobile and very small windows because it overlaps the body text.

Bildschirm­foto 2022-12-07 um 12 24 10 (2)

Bildschirm­foto 2022-12-07 um 12 24 48 (2)

Anchor styling

Should links in paragraphs be highlighted with an underscore (disappears when hovering over it), i.e. exactly the opposite behavior as currently.

Unaffected by this would be especially the links in the slideout menu as well as in the teasers

Correction of list indentation causes display errors

The following code corrected the indentation of list items (see image).

ol > li, ul > li {
  padding-left: .5rem;
  margin-left: 1.5rem;
}

Bildschirmfoto 2022-12-05 um 10 05 35 (2)

Unfortunately, this has caused display errors in various places.

wp-block-navigation

Bildschirmfoto 2022-12-05 um 09 57 28 (2)

Code fragment for solving the problem:

.wp-block-navigation ul > li {
margin-left: 0;
}

post button tags

Bildschirmfoto 2022-12-05 um 10 14 51 (2)

Code fragment for solving the problem:

.tags ul > li {
  padding-left: 0;
  margin-left: 0;
}

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.