Code Monkey home page Code Monkey logo

kontent-custom-element-font-awesome-selector-codename's Introduction

Font Awesome Icon Codename Selector

Stack Overflow Netlify Status

A custom element for Kentico Kontent

This is a custom element for Kentico Kontent that allows you to pick Font Awesome Icon.

Font Awesome Icon Codename Selector

The custom element is storing the code of the picked icon. Internally it is a wrapper over the fontawesome-iconpicker selector.

💡 If you want to take a look to another approach that stores icon SVG, take a look to the sibling repository kontent-custom-element-font-awesome-selector-svg.

Stored value

{
  ...
  "elements": {
      "custom_element": {
        "type": "custom",
        "name": "Custom element",
        "value": "fas fa-arrow-circle-right"
      }
    }
  ...
},

Setup

  1. Deploy the code to a secure public host
  2. Follow the instructions in the Kentico Kontent documentation to add the element to a content model.
    • The Hosted code URL is where you deployed to in step 1
    • No JSON parameters are necessary

Deploying

Netlify has made this easy. If you click the deploy button below, it will guide you through the process of deploying it to Netlify and leave you with a copy of the repository in your GitHub account as well.

Deploy to Netlify

Development

You can use following to set up the development environment

Prerequisites:

npm i -g serve
git clone https://github.com/Simply007/kontent-custom-element-font-awesome-selector-codename
cd kontent-custom-element-font-awesome-selector-codename
serve . # serving the index.html locally on http://localhost:5000
ngrok # forwarding the request using ngrok proxy - see actual url in console output

Team

This project was part of Kentico Kontent Consulting and DevRel hackaton!


Ondřej Chrastina
Github
Twitter

Richard Šustek
Github
 

Yuriy Sountsov
Github
Twitter

Rui Wang
Github
Twitter

kontent-custom-element-font-awesome-selector-codename's People

Contributors

simply007 avatar

Watchers

 avatar  avatar

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.