Browse Source

Afficher le domaine à l'accueil

master
Miraty 3 months ago
parent
commit
1ff769e82a
2 changed files with 31 additions and 18 deletions
  1. +22
    -4
      pages/index.md
  2. +9
    -14
      style.less

+ 22
- 4
pages/index.md View File

@@ -46,7 +46,26 @@ $urlService = array(
'etherpad' => 'https://pad.antopie.org',
'diagrams' => 'https://draw.antopie.org',
'opensondage' => clearnetOrOnion('https://sondage.antopie.org', 'http://antaskuzziqjodxfighsptanvhrwmb7h5nsgjwei2dvvtsuqgjsaxvad.onion'),
'iprefua' => 'https://ip.antopie.org',
'iprefua' => clearnetOrOnion('https://ip.antopie.org', 'http://antipr353qn3siq2ttnlk43fye4uhd5lc4cxubv5umfglzxqy37cmmyd.onion'),
);

$domService = array(
'plume' => clearnetOrOnion('<code>blog.antopie.org</code>', '<strong>antblog</strong>n2vnc4hncjiow4jn7yidxe64l2o2qhj2tyla33jjhrrf5v2ad.onion'),
'peertube' => '<code>video.antopie.org</code>',
'gitea' => clearnetOrOnion('<code>code.antopie.org</code>', '<strong>antcode</strong>5h4tntfei362x7eydifyxdjskjisv5pezk2othlh7oho2zhyd.onion'),
'libreqr' => clearnetOrOnion('<code>qr.antopie.org</code>', '<strong>libreqr</strong>h5gsyzaaexx4vwyp6k2sd5keg5svyj2gpbkhg7zzyjvswiiyd.onion'),
'bitwarden' => clearnetOrOnion('<code>mdp.antopie.org</code>', '<strong>antmdp</strong>izuaquzfz5kzv3tz3k2funlcgma5gxtujxs5sl6z7wyk76x3qd.onion'),
'nextcloud' => '<code>nuage.antopie.org</code>',
'synapse' => '<code>matrix.antopie.org</code>',
'element' => '<code>riot.antopie.org</code>',
'privatebin' => clearnetOrOnion('<code>texte.antopie.org</code>', '<strong>anttxt</strong>2u75lbrpl23szr6qtgzx5kkcz7larjmg24udwypceuslzel5qd.onion'),
'jirafeau' => clearnetOrOnion('<code>up.antopie.org</code>', '<strong>antuplo4</strong>vcln7ftoatr5iualwb3py7ccii6t32gemzannhu4blj2xqid.onion'),
'rssbridge' => clearnetOrOnion('<code>rss.antopie.org</code>', '<strong>antrss</strong>v5553pjemejxyszija6ceii4soc5ozk6pdj7y3vauzioavdkid.onion'),
'searx' => clearnetOrOnion('<code>searx.antopie.org</code>', '<strong>antsrx</strong>huvxylfgvu6c33m6gzlp3dsrxfnil7z3ppfya2vqvs4hkuy7qd.onion'),
'etherpad' => '<code>pad.antopie.org</code>',
'diagrams' => '<code>draw.antopie.org</code>',
'opensondage' => clearnetOrOnion('<code>sondage.antopie.org</code>', '<strong>antask</strong>uzziqjodxfighsptanvhrwmb7h5nsgjwei2dvvtsuqgjsaxvad.onion'),
'iprefua' => clearnetOrOnion('<code>ip.antopie.org</code>', '<strong>antipr3</strong>53qn3siq2ttnlk43fye4uhd5lc4cxubv5umfglzxqy37cmmyd.onion'),
);

$nomService = array(
@@ -193,10 +212,9 @@ echo '<a class="icon-home metaService" aria-label="Site officiel" title="Site of
} ?>
<a class="icon-git metaService" aria-label="Code source" title="Code source de <?php echo $nomService[$codeService]; ?>" href="https://<?php echo $gitService[$codeService]; ?>"></a>
<a class="icon-ynh metaService" aria-label="Paquet YunoHost" title="Paquet YunoHost de <?php echo $nomService[$codeService]; ?>" href="https://<?php echo$paquetYnhService[$codeService]; ?>"></a></div>
<!--<div class="urlService"><?php echo $urlService[$codeService]; ?></div>-->

<div class="descService"><?php echo $descService; ?></div>
<?php if (isset($aboutService[$codeService])) { ?><div><a class="petit-bouton icon-doc-text-inv" href="<?= $aboutService[$codeService] ?>.html">Présentation</span></a></div><?php } ?>
<div class="domService"><?php echo $domService[$codeService]; ?></div>
<?php if (isset($aboutService[$codeService])) { ?><div><a class="petit-bouton icon-doc-text-inv" href="<?= formerUrlLocale($aboutService[$codeService]) ?>">Présentation</span></a></div><?php } ?>
<div><a class="petit-bouton" href="<?php echo $urlService[$codeService]; ?><?php if ($codeService == 'synapse') { echo '/_matrix/static/'; } ?>"><?php echo $actionService[$codeService]; ?><span class="icon-right-open"></span></a></div>

</div>


+ 9
- 14
style.less View File

@@ -152,24 +152,11 @@ p {

}

.zoneLien {
display: flex;
flex-direction: row;
justify-content: center;
}

.titreService {
font-size: 1.3em;
text-align: center;
}

.urlService {
margin-top: -6px;
font-size: 0.8em;
color: grey;
text-align: center;
}

.metaService {
text-decoration: none;
font-size: 28px;
@@ -199,6 +186,14 @@ p {
text-align: left;
}

.domService {
font-family: "Ubuntu Mono", monospace;
overflow-wrap: anywhere;
margin-top: -6px;
font-size: 0.8em;
color: #eeeeee;
}

main {
background-color: @fond;
margin: 0px;
@@ -262,7 +257,7 @@ article {

.traitinterlude {
border-top: 2px gray dashed;
width: 250px;
width: 450px;
}

footer {


Loading…
Cancel
Save