Giter Club home page Giter Club logo

Comments (16)

mdo avatar mdo commented on May 2, 2024

Netlify has been enabled for this repo. You should be able to setup the right build process whenever we're ready.

from icons.

XhmikosR avatar XhmikosR commented on May 2, 2024

@mdo would be easier for me if I actually had access to the Netlify project (same for the other projects BTW). Right now I can't see why it fails nor change any settings.

from icons.

mdo avatar mdo commented on May 2, 2024

You should have permissions on Netlify now. I setup a few things after comparing against Bootstrap's main repo, but might need more help.

from icons.

XhmikosR avatar XhmikosR commented on May 2, 2024

Cool, I'll check it out later or tomorrow morning.

How are we going to do production deployments? Via Actions CI or are we going to use Netlify?

from icons.

XhmikosR avatar XhmikosR commented on May 2, 2024

BTW the failures are normal due to the symlink. All this will be fixed in the Hugo branch. Maybe I should merge it for now so that we can move on?

from icons.

mdo avatar mdo commented on May 2, 2024

Working on new Actions access for other repos—I'd like to use that for our deployments. I know we can trigger events on either tag/release, so we could do that and kickoff the workflow for a push to the gh-pages branch.

from icons.

mdo avatar mdo commented on May 2, 2024

Going to want to document some stuff around SVGs:

from icons.

mdo avatar mdo commented on May 2, 2024

Split the todos and removed some. Much of this isn't a blocker IMO—this is intended to be an alpha release, so there's absolutely no rush to do everything in a particular way at all.

from icons.

XhmikosR avatar XhmikosR commented on May 2, 2024

Updated. After we have Actions CI we can proceed with automating more stuff.

from icons.

XhmikosR avatar XhmikosR commented on May 2, 2024

Updated. We should really stop inlining the icons. We might need to do some lazyloading though, we'll see how it goes in a PR which will tackle this.

from icons.

mdo avatar mdo commented on May 2, 2024

We should really stop inlining the icons.

This is a pretty common practice with SVGs (including with GitHub). What are the disadvantages other than file size of the page? Advantages I know are that it allows currentColor usage and it allows folks to inspect and copy the code.

from icons.

XhmikosR avatar XhmikosR commented on May 2, 2024

We can inline them when we need to, but currently the HTML size has gone like ~180 KB. If we keep adding more and more icons everything will be sluggier because there's just too many DOM elements.

from icons.

Johann-S avatar Johann-S commented on May 2, 2024

Maybe we can load them using XMLHttpRequest?

from icons.

XhmikosR avatar XhmikosR commented on May 2, 2024

Not sure if this would help a lot. Neither lazyloading, although it should help.

Maybe we should see how other icon libraries with many icons do it?

from icons.

XhmikosR avatar XhmikosR commented on May 2, 2024

This is something to consider along with dropping width/height https://codesandbox.io/s/scale-svg-icon-with-font-size-u88nz

With width and height, the SVG is not responsive by default, it will just use the dimensions set up there IIRC.

from icons.

XhmikosR avatar XhmikosR commented on May 2, 2024

@mdo should we close this issue now?

from icons.

Related Issues (20)

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.