update landing page

make relative links (T-Pot home) dynamic to display them only if services are available
adjust dimensions for link container
correct github link
place attack-map link in the home container
This commit is contained in:
marco
2023-04-25 15:03:26 +02:00
parent 88ab453061
commit ff7c368c7f
19 changed files with 63 additions and 1099 deletions

View File

@ -5,6 +5,8 @@
// │ │ ││││├┤ ││ ┬│ │├┬┘├─┤ │ ││ ││││
// └─┘└─┘┘└┘└ ┴└─┘└─┘┴└─┴ ┴ ┴ ┴└─┘┘└┘
// Create link for Cockpit redirection (instead of cockpit.html), so we can create links dynamically in assets/js/lists.js
const redirectCockpit = window.location.protocol + '//' + window.location.hostname + ':64294'
const CONFIG = {
// ┌┐ ┌─┐┌─┐┬┌─┐┌─┐
// ├┴┐├─┤└─┐││ └─┐
@ -32,9 +34,13 @@ const CONFIG = {
// Links
lists: {
firstList: [
{
name: 'Attack Map',
link: '/map/',
},
{
name: 'Cockpit',
link: '/cockpit.html',
link: redirectCockpit,
},
{
name: 'Cyberchef',
@ -54,17 +60,13 @@ const CONFIG = {
},
],
secondList: [
{
name: 'Attack Map',
link: '/map/',
},
{
name: 'SecurityMeter',
link: 'https://sicherheitstacho.eu',
},
{
name: 'T-Pot @ GitHub',
link: 'https://github.com/dtag-dev-sec/tpotce/',
link: 'https://github.com/telekom-security/tpotce/',
},
{
name: 'T-Pot ReadMe',