Giter Site home page Giter Site logo

logux.org's People

Contributors

ai avatar arhelmus avatar cyberap avatar dependabot[bot] avatar dmfilipenko avatar grawl avatar myshov avatar shvedovskiy avatar theseally 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

Watchers

 avatar  avatar  avatar  avatar

logux.org's Issues

use Pug filters to generate code highlighting output HTML

instead of copying code highlighting output HTML into Pug template,

https://github.com/logux/logux.io/blob/master/src/uikit.pug#L162

we can use Pug filters like this:

:md
  ```js
  const { Server } = require('@logux/server')

  function usersReducers (state = { }, action) {
    if (action.type === 'user/name') {
      return { ...state, name: action.name }
    } else {
      return state
    }
  }

  server.auth((userId, token) => {
    // Allow only local users until we will have a proper authentication
    return process.env.NODE_ENV === 'development'
  })

to do this, we have to add custom Pug filter and render Markdown using the same way it renders markdown files like this

How can I run it locally with nginx

I'm trying to run static server (not uikit.html) locally with nginx, cuz i detect nginx.conf file.

  • I included local nginx.conf in main config.
  • I ran build.js.

My directories structures:

projects/
  logux-*
  logux.io

Root nginx config have:

# ...
listen       8080;
server_name  localhost;
# ....
location / {
            root   "C:\projects";
            index  index.html index.htm;
}
# ...

And http://localhost:8080/logux.io/ cannot reachable

Which steps i miss?
I'm on windows 10, but can switch to linux.

Thanks

Problem with JSX highlighting

When I see Client Example, there is a problem with JSX highlighting:

изображение

With github theme in 9.17.1 version it should look like this:

изображение

I created a Codepen sandbox to see how it should work.

I checked out what version of Highlight.js is used in project and it's latest one:

➜ cat node_modules/highlight.js/package.json | grep version
  "version": "9.17.1",

To use backdrop-filter on iOS and Safari on macOS it must be prefixed

For now, we have this:

@supports (backdrop-filter: blur(15px)) {
    @media (width < 1024px) {
        .layout_aside {
            background: transparent;
            backdrop-filter: blur(15px);
        }
    }
}

But backdrop-filter works on Mobile Safari and Safari on macOS, it should be prefixed:

@supports ((-webkit-backdrop-filter: blur(15px)) or (backdrop-filter: blur(15px))) {
    @media (width < 1024px) {
        .layout_aside {
            background: transparent;
            -webkit-backdrop-filter: blur(15px);
                    backdrop-filter: blur(15px);
        }
    }
}

Accessibility

screenshot

Inactive examples are not available when navigating from the keyboard, as on all button elements, except the selected one, dynamically set "tabindex = -1".

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.