Browse Source

onionは値に

dev-master
parent
commit
fb42f6fcd4
  1. 9
      .env.example
  2. 2
      resources/views/theme/techsuwa/component/navbar.blade.php
  3. 12
      resources/views/theme/techsuwa/component/servicemenu.blade.php

9
.env.example

@ -3,6 +3,7 @@ APP_ENV=local
APP_KEY=
APP_DEBUG=false
APP_URL=http://localhost
ONION_HOST=jkdasfhfdhndsfnklhjfdsknjfdgsjk.onion
SESSION_SECURE_COOKIE=false
SESSION_HTTP_ONLY=true
THEME="techsuwa"
@ -43,10 +44,4 @@ GMO_SECRET=""
CONOHA_DENANT_ID=""
CONOHA_DENANT_NAME=""
CONOHA_USER_NAME=""
CONOHA_USER_PASS=""
YOUTUBE_API=""
LBRY_URI=""
PEER_URI=""
PEER_USER=""
PEER_PASS=""
CONOHA_USER_PASS=""

2
resources/views/theme/techsuwa/component/navbar.blade.php

@ -3,7 +3,7 @@
<a href="#" class="navbar-brand"><img src="/img/favicon.jpeg" style="border-radius: 4px;" width="30" height="30" alt="favicon" /></a>
<ul class="navbar-nav mr-auto">
<li class="nav-item"><a class="nav-link{{ (strpos($_SERVER['REQUEST_URI'], '/blog') !== false || $_SERVER['REQUEST_URI'] == '/' ? ' active' : '') }}" href="/">{{ __('site.top') }}</a></li>
<li class="nav-item"><a class="nav-link" href="http://pk2eikktauonfty6fx77w5m3ubd526jrysogsa7gobp3hnablrrfpead.onion">Tor</a></li>
<li class="nav-item"><a class="nav-link" href="http://{{ env('ONION_HOST') }}">Tor</a></li>
</ul>
<ul class="navbar-nav ml-auto">
@if ($user)

12
resources/views/theme/techsuwa/component/servicemenu.blade.php

@ -3,13 +3,13 @@
<div class="nav-link barm">サービス</div>
<a href="https://xmpp.076.ne.jp" target="_blank" class="nav-link bar">XMPP</a>
<a href="https://irc.076.ne.jp" target="_blank" class="nav-link bar">IRC</a>
<a href="{{ $_SERVER['HTTP_HOST'] == 'pk2eikktauonfty6fx77w5m3ubd526jrysogsa7gobp3hnablrrfpead.onion' ? 'http://msayer2a7qhte7zjslhgemov55ak5f55usdqpd2w7eoz5di2dhez4lad.onion/' : 'https://search.076.ne.jp' }}" target="_blank" class="nav-link bar">Searx</a>
<a href="{{ $_SERVER['HTTP_HOST'] == 'pk2eikktauonfty6fx77w5m3ubd526jrysogsa7gobp3hnablrrfpead.onion' ? 'http://ynu63ffyabr5ihebrrkiexhber7ztxzchzwhhao27bikquqrebngp3yd.onion/' : 'https://video.076.ne.jp' }}" target="_blank" class="nav-link bar">Peertube</a>
<a href="{{ $_SERVER['HTTP_HOST'] == env('ONION_HOST') ? 'http://msayer2a7qhte7zjslhgemov55ak5f55usdqpd2w7eoz5di2dhez4lad.onion/' : 'https://search.076.ne.jp' }}" target="_blank" class="nav-link bar">Searx</a>
<a href="{{ $_SERVER['HTTP_HOST'] == env('ONION_HOST') ? 'http://ynu63ffyabr5ihebrrkiexhber7ztxzchzwhhao27bikquqrebngp3yd.onion/' : 'https://video.076.ne.jp' }}" target="_blank" class="nav-link bar">Peertube</a>
<a href="https://social.076.ne.jp" target="_blank" class="nav-link bar">Pleroma</a>
<a href="{{ $_SERVER['HTTP_HOST'] == 'pk2eikktauonfty6fx77w5m3ubd526jrysogsa7gobp3hnablrrfpead.onion' ? 'http://kiskupavvvynhltedrye3ozm72lgcrmnszemo4tg5spc3ycxxzdqyoad.onion/' : 'https://git.076.ne.jp' }}" target="_blank" class="nav-link bar">Gitea</a>
<a href="{{ $_SERVER['HTTP_HOST'] == 'pk2eikktauonfty6fx77w5m3ubd526jrysogsa7gobp3hnablrrfpead.onion' ? 'http://dpp5nkyrcaxsxt7gz4jfdy3xwaewrsicz2kitab3m36n24wd4jovi7yd.onion/' : 'https://youtube.076.ne.jp' }}" target="_blank" class="nav-link bar">Invidious</a>
<a href="{{ $_SERVER['HTTP_HOST'] == 'pk2eikktauonfty6fx77w5m3ubd526jrysogsa7gobp3hnablrrfpead.onion' ? 'http://bxhz24ogbhrivoo63msbjg2qdkgpaxby44ok2pr666ogsqdphx34hbad.onion/' : 'https://twitter.076.ne.jp/' }}" target="_blank" class="nav-link bar">Nitter</a>
<a href="{{ $_SERVER['HTTP_HOST'] == 'pk2eikktauonfty6fx77w5m3ubd526jrysogsa7gobp3hnablrrfpead.onion' ? 'http://vrimj2zil3qppljt64npjf4sp3s5j73zr7g6cdlc2vaulzlkz22ydgid.onion/' : 'https://odysee.076.ne.jp/' }}" target="_blank" class="nav-link bar">Librarian</a>
<a href="{{ $_SERVER['HTTP_HOST'] == env('ONION_HOST') ? 'http://kiskupavvvynhltedrye3ozm72lgcrmnszemo4tg5spc3ycxxzdqyoad.onion/' : 'https://git.076.ne.jp' }}" target="_blank" class="nav-link bar">Gitea</a>
<a href="{{ $_SERVER['HTTP_HOST'] == env('ONION_HOST') ? 'http://dpp5nkyrcaxsxt7gz4jfdy3xwaewrsicz2kitab3m36n24wd4jovi7yd.onion/' : 'https://youtube.076.ne.jp' }}" target="_blank" class="nav-link bar">Invidious</a>
<a href="{{ $_SERVER['HTTP_HOST'] == env('ONION_HOST') ? 'http://bxhz24ogbhrivoo63msbjg2qdkgpaxby44ok2pr666ogsqdphx34hbad.onion/' : 'https://twitter.076.ne.jp/' }}" target="_blank" class="nav-link bar">Nitter</a>
<a href="{{ $_SERVER['HTTP_HOST'] == env('ONION_HOST') ? 'http://vrimj2zil3qppljt64npjf4sp3s5j73zr7g6cdlc2vaulzlkz22ydgid.onion/' : 'https://odysee.076.ne.jp/' }}" target="_blank" class="nav-link bar">Librarian</a>
<a href="https://videolite.076.ne.jp" target="_blank" class="nav-link bar">SimpleerTube</a>
<a href="https://sociallite.076.ne.jp" target="_blank" class="nav-link bar">Bloat</a>
</div>

Loading…
Cancel
Save