11import React , { Component } from "react" ;
22import PropTypes from "prop-types" ;
33import { connect } from "react-redux" ;
4- import {
5- licensing as LicensingActions
6- } from "../../actions" ;
4+ import { licensing as LicensingActions } from "../../actions" ;
75import resx from "../../resources" ;
86import styles from "./style.module.less" ;
97
10- import dnnTechnologyEditorialIcon from "./../svg/dnn_technology_editorial.svg?raw " ;
11- import githubIcon from "./../svg/github.svg?raw " ;
12- import dnnIcon from "./../svg/dnn_logo_primary.svg?raw " ;
13- import docsIcon from "./../svg/dnn_docs_logo.svg?raw " ;
8+ import DnnTechnologyEditorialIcon from "./../svg/dnn_technology_editorial.svg" ;
9+ import GithubIcon from "./../svg/github.svg" ;
10+ import DnnIcon from "./../svg/dnn_logo_primary.svg" ;
11+ import DocsIcon from "./../svg/dnn_docs_logo.svg" ;
1412
1513class Platform extends Component {
1614 constructor ( ) {
@@ -39,21 +37,21 @@ class Platform extends Component {
3937 < div className = "links-wrapper" >
4038 < div className = "link-docs-wrapper" title = { resx . get ( "Docs.Header" ) } onClick = { this . onDocsClick . bind ( this ) } >
4139 < div className = "link-docs" >
42- < div className = "docs-icon" dangerouslySetInnerHTML = { { __html : docsIcon } } / >
40+ < div className = "docs-icon" > < DocsIcon /> </ div >
4341 < div className = "link-docs-header" > { resx . get ( "Docs.Header" ) } </ div >
4442 < div className = "link-docs-desc" > { resx . get ( "Docs" ) } </ div >
4543 </ div >
4644 </ div >
4745 < div className = "link-community-wrapper" >
4846 < div className = "link-community" title = { resx . get ( "Community.Header" ) } onClick = { this . onCommunityClick . bind ( this ) } >
49- < div className = "dnn-icon" dangerouslySetInnerHTML = { { __html : dnnIcon } } / >
47+ < div className = "dnn-icon" > < DnnIcon /> </ div >
5048 < div className = "link-community-header" > { resx . get ( "Community.Header" ) } </ div >
5149 < div className = "link-community-desc" > { resx . get ( "Community" ) } </ div >
5250 </ div >
5351 </ div >
5452 < div className = "link-github-wrapper" >
5553 < div className = "link-github" title = { resx . get ( "GitHub.Header" ) } onClick = { this . onGitHubClick . bind ( this ) } >
56- < div className = "github-icon" dangerouslySetInnerHTML = { { __html : githubIcon } } / >
54+ < div className = "github-icon" > < GithubIcon /> </ div >
5755 < div className = "link-github-header" > { resx . get ( "GitHub.Header" ) } </ div >
5856 < div className = "link-github-desc" > { resx . get ( "GitHub" ) } </ div >
5957 </ div >
@@ -74,7 +72,7 @@ class Platform extends Component {
7472 < div >
7573 { this . renderVersion ( ) }
7674 < div className = "intro" >
77- < div className = "dnn-technology-editorial-icon" dangerouslySetInnerHTML = { { __html : dnnTechnologyEditorialIcon } } / >
75+ < div className = "dnn-technology-editorial-icon" > < DnnTechnologyEditorialIcon /> </ div >
7876 < div className = "intro-header" > { resx . get ( "Intro.Header" ) } </ div >
7977 < div className = "intro-body" > { resx . get ( "Intro" ) } </ div >
8078 </ div >
0 commit comments