diff --git a/config/config.default.php b/config/config.default.php index ffd57be7..93c6b3d2 100644 --- a/config/config.default.php +++ b/config/config.default.php @@ -104,3 +104,39 @@ // set server to maintenance mode //$_config['maintenance']=1; + +$_config['homepage_apps'] = [ + "explorer" => [ + "title" => "Explorer", + "url" => "/apps/explorer", + "icon" => "fas fa-binoculars", + "condition" => true + ], + "miner" => [ + "title" => "Miner", + "url" => "/apps/miner", + "icon" => "fas fa-hammer", + "condition" => "miner_enabled" + ], + "dapps" => [ + "title" => "Dapps", + "url" => "/dapps.php?url={dapps_id}", + "icon" => "fas fa-cubes", + "condition" => "dapps_enabled", + "tooltip" => "Decentralized apps" + ], + "exchange" => [ + "title" => "Exchange", + "url" => "https://klingex.io/trade/PHP-USDT?ref=3436CA42", + "icon" => "https://klingex.io/symbol.svg", + "target" => "_blank", + "condition" => true, + "tooltip" => "Exchange" + ], + "docs" => [ + "title" => "Docs", + "url" => "/apps/docs", + "icon" => "fas fa-file-alt", + "condition" => true + ] +]; diff --git a/web/index.php b/web/index.php index 4dc692e8..9423a22b 100755 --- a/web/index.php +++ b/web/index.php @@ -114,45 +114,53 @@