showeed's picture
Upload 124 files
9a65320 verified
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}AI Tools{% endblock %}</title>
<link rel="icon" type="image/png" href="/static/yuru_customkun.png" />
<script src="https://cdn.tailwindcss.com"></script>
<style>
/* 背景画像 */
body {
background-image: url('/static/HP1.png');
background-size: cover;
background-attachment: fixed;
background-position: center;
}
/* 雪アニメーション */
.snow {
color: snow;
font-size: 15px;
position: fixed;
top: -5%;
left: -50px;
pointer-events: none;
z-index: 1;
user-select: none;
opacity: 0.5;
text-shadow:
5vw -100px 2px,
10vw -400px 3px,
20vw -500px 4px,
30vw -580px 1px,
39vw -250px 2px,
42vw -340px 5px,
56vw -150px 2px,
63vw -180px 0,
78vw -220px 4px,
86vw -320px 9px,
94vw -170px 7px;
animation: roll 10s linear infinite;
}
.snow2nd { animation: anim 8s linear infinite; }
@keyframes roll {
0% { transform: rotate(0deg); }
90% { opacity: 1; }
100% { transform: rotate(20deg); top: 100%; opacity: 0; }
}
@keyframes anim {
100% { color: transparent; top: 150%; }
}
</style>
{% block head %}{% endblock %}
</head>
<body class="min-h-screen text-gray-800">
<!-- 雪エフェクト -->
<span class="snow" aria-hidden="true"></span>
<span class="snow snow2nd" aria-hidden="true"></span>
<!-- ナビゲーションヘッダー -->
<header class="bg-navy-900 shadow-lg relative z-50">
<div class="max-w-7xl mx-auto px-6 py-3 flex items-center gap-6">
<!-- ロゴ -->
<a href="/" class="flex items-center gap-2.5 text-white font-bold text-3xl tracking-tight shrink-0">
<img src="/static/Flag_of_Japan_Customs.svg.png" alt="日本税関" class="h-9 w-auto rounded shadow-sm" />
AI Tools
</a>
<!-- ナビリンク -->
<nav class="flex items-center gap-1 text-sm">
<a href="/translation"
class="flex items-center text-lg font-bold gap-1.5 px-3 py-2 rounded-lg text-indigo-200 hover:text-white hover:bg-indigo-700 transition-colors
{% if request.blueprint == 'translation' %}bg-indigo-700 text-white{% endif %}">
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M3 5h12M9 3v2m1.048 9.5A18.022 18.022 0 016.412 9m6.088 9h7M11 21l5-10 5 10M12.751 5C11.783 10.77 8.07 15.61 3 18.129" />
</svg>
多言語翻訳
</a>
<a href="/ocr"
class="flex items-center text-lg font-bold gap-1.5 px-3 py-2 rounded-lg text-indigo-200 hover:text-white hover:bg-indigo-700 transition-colors
{% if request.blueprint == 'ocr' %}bg-indigo-700 text-white{% endif %}">
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z" />
<path stroke-linecap="round" stroke-linejoin="round" d="M15 13a3 3 0 11-6 0 3 3 0 016 0z" />
</svg>
OCR と翻訳
</a>
<a href="/ledger"
class="flex items-center text-lg font-bold gap-1.5 px-3 py-2 rounded-lg text-indigo-200 hover:text-white hover:bg-indigo-700 transition-colors
{% if request.blueprint == 'ledger' %}bg-indigo-700 text-white{% endif %}">
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M3 10h18M3 14h18M10 4v16M6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z" />
</svg>
表 OCR → Excel
</a>
<a href="/vlm"
class="flex items-center text-lg font-bold gap-1.5 px-3 py-2 rounded-lg text-indigo-200 hover:text-white hover:bg-indigo-700 transition-colors
{% if request.blueprint == 'vlm' %}bg-indigo-700 text-white{% endif %}">
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3 16.5V18a2.25 2.25 0 002.25 2.25h13.5A2.25 2.25 0 0021 18v-1.5M16.5 6.75a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0z" />
</svg>
VLM
</a>
<a href="/whisper"
class="flex items-center text-lg font-bold gap-1.5 px-3 py-2 rounded-lg text-indigo-200 hover:text-white hover:bg-indigo-700 transition-colors
{% if request.blueprint == 'whisper' %}bg-indigo-700 text-white{% endif %}">
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z" />
</svg>
文字起こし
</a>
</nav>
</div>
</header>
<!-- ページコンテンツ(白背景コンテナ) -->
<div class="px-4 py-6 min-h-[calc(100vh-60px)] relative z-10">
<div class="max-w-screen-xl mx-auto bg-white/95 backdrop-blur-sm rounded-2xl shadow-2xl overflow-hidden">
{% block content %}{% endblock %}
</div>
</div>
</body>
</html>