214 lines
11 KiB
HTML
214 lines
11 KiB
HTML
{% load static %}
|
||
<!DOCTYPE html>
|
||
<html lang="zh-CN" data-theme="light">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
||
<meta name="csrf-token" content="{{ csrf_token }}">
|
||
<title>思维导航 · 我的博客</title>
|
||
<!-- <link rel="preconnect" href="https://fonts.googleapis.com">
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> -->
|
||
<!-- <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700;900&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap" rel="stylesheet"> -->
|
||
<link rel="preconnect" href="https://fonts.loli.net">
|
||
<link rel="preconnect" href="https://gstatic.loli.net" crossorigin>
|
||
<link href="https://fonts.loli.net/css2?family=Noto+Serif+SC:wght@500;700;900&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap" rel="stylesheet">
|
||
<!-- 全局基础样式(项目级) -->
|
||
<link rel="stylesheet" href="{% static 'blog/css/style.css' %}">
|
||
<link rel="stylesheet" href="{% static 'digest/digest.css' %}">
|
||
<!-- 让子模板可以追加自己的 CSS -->
|
||
{% block extra_css %}{% endblock %}
|
||
|
||
|
||
</head>
|
||
<body>
|
||
<!-- 🎬 开场引导层:道生一,一生二,二生三,三生万物
|
||
自动约 4.6s,点击任意处 / 任意键 / 跳过按钮可提前结束 -->
|
||
<div class="intro" id="intro" role="dialog" aria-label="欢迎">
|
||
<div class="intro-inner">
|
||
<div class="intro-seed">
|
||
<svg class="seed-svg" viewBox="0 0 240 240" fill="none" aria-hidden="true">
|
||
<defs>
|
||
<!-- 渐变色全部由 CSS 变量控制,深浅主题自动适配 -->
|
||
<linearGradient id="sgVine" x1="120" y1="200" x2="120" y2="40" gradientUnits="userSpaceOnUse">
|
||
<stop class="sgVine-a" offset="0"/>
|
||
<stop class="sgVine-b" offset="1"/>
|
||
</linearGradient>
|
||
<radialGradient id="sgNode" cx=".35" cy=".35" r=".85">
|
||
<stop class="sgNode-a" offset="0"/>
|
||
<stop class="sgNode-b" offset="1"/>
|
||
</radialGradient>
|
||
<radialGradient id="sgRoot" cx=".4" cy=".4" r=".8">
|
||
<stop class="sgRoot-a" offset="0"/>
|
||
<stop class="sgRoot-b" offset=".55"/>
|
||
<stop class="sgRoot-c" offset="1"/>
|
||
</radialGradient>
|
||
<radialGradient id="sgHalo">
|
||
<stop class="sgHalo-a" offset="0"/>
|
||
<stop class="sgHalo-b" offset="1"/>
|
||
</radialGradient>
|
||
</defs>
|
||
|
||
<!-- ✦ 缓旋虚线轨道:包裹整个生成的宇宙 -->
|
||
<g class="orbit">
|
||
<circle cx="120" cy="126" r="106" pathLength="1"/>
|
||
</g>
|
||
|
||
<!-- ✦ 根部(道)的呼吸光晕与声呐 -->
|
||
<circle class="halo" cx="120" cy="192" r="24"/>
|
||
<circle class="sonar s-a" cx="120" cy="192" r="12"/>
|
||
<circle class="sonar s-b" cx="120" cy="192" r="12"/>
|
||
|
||
<!-- ✦ 道生一:无形中生出第一缕有 -->
|
||
<path class="sl g1" id="sgP1" pathLength="1" d="M120 192 C 120 178 120 164 120 152"/>
|
||
|
||
<!-- ✦ 一生二:阴阳两仪 -->
|
||
<path class="sl g2" id="sgP2a" pathLength="1" d="M120 152 C 108 138 96 126 86 114"/>
|
||
<path class="sl g2" pathLength="1" d="M120 152 C 132 138 144 126 154 114"/>
|
||
|
||
<!-- ✦ 二生三:冲气以为和,三才既立 -->
|
||
<path class="sl g3" pathLength="1" d="M86 114 C 76 102 68 92 62 80"/>
|
||
<path class="sl g3" id="sgP3" pathLength="1" d="M120 138 C 134 126 132 104 120 86"/>
|
||
<path class="sl g3" pathLength="1" d="M154 114 C 164 102 172 92 178 80"/>
|
||
|
||
<!-- ✦ 三生万物:九枝散叶,生生不息 -->
|
||
<path class="twig tw1" pathLength="1" d="M62 80 C 56 72 50 66 44 58"/>
|
||
<path class="twig tw2" pathLength="1" d="M62 80 C 62 70 60 62 58 52"/>
|
||
<path class="twig tw3" pathLength="1" d="M62 80 C 68 72 72 64 76 58"/>
|
||
<path class="twig tw4" pathLength="1" d="M120 84 C 114 74 108 66 104 60"/>
|
||
<path class="twig tw5" pathLength="1" d="M120 84 C 120 74 120 64 120 54"/>
|
||
<path class="twig tw6" pathLength="1" d="M120 84 C 126 74 132 66 136 60"/>
|
||
<path class="twig tw7" pathLength="1" d="M178 80 C 184 72 190 66 196 58"/>
|
||
<path class="twig tw8" pathLength="1" d="M178 80 C 178 70 180 62 182 52"/>
|
||
<path class="twig tw9" pathLength="1" d="M178 80 C 172 72 168 64 164 58"/>
|
||
|
||
<!-- ✦ 光尘:散落的时光正被拾起 -->
|
||
<circle class="dust" cx="70" cy="170" r="1.2" style="animation-delay:.9s"/>
|
||
<circle class="dust" cx="176" cy="150" r="1" style="animation-delay:2.2s"/>
|
||
<circle class="dust" cx="48" cy="100" r="1.1" style="animation-delay:3.3s"/>
|
||
<circle class="dust" cx="196" cy="96" r=".9" style="animation-delay:3.9s"/>
|
||
|
||
<!-- ✦ 流光:沿生成之路巡游的光点 -->
|
||
<circle class="spark" r="2.4">
|
||
<animateMotion dur="2.4s" begin="1s" repeatCount="indefinite"><mpath href="#sgP1"/></animateMotion>
|
||
</circle>
|
||
<circle class="spark" r="2">
|
||
<animateMotion dur="2.6s" begin="2.1s" repeatCount="indefinite"><mpath href="#sgP2a"/></animateMotion>
|
||
</circle>
|
||
<circle class="spark" r="1.8">
|
||
<animateMotion dur="2.4s" begin="2.8s" repeatCount="indefinite"><mpath href="#sgP3"/></animateMotion>
|
||
</circle>
|
||
|
||
<!-- ✦ 节点:道 → 一 → 二(阴/阳)→ 三 -->
|
||
<circle class="sn root" cx="120" cy="192" r="8"/>
|
||
<circle class="sn n1" cx="120" cy="152" r="5.5"/>
|
||
<circle class="sn n2 yin" cx="86" cy="114" r="5"/>
|
||
<circle class="sn n2 yang" cx="154" cy="114" r="5"/>
|
||
<circle class="sn n3" cx="62" cy="80" r="4.5"/>
|
||
<circle class="sn n3" cx="120" cy="86" r="4.5"/>
|
||
<circle class="sn n3" cx="178" cy="80" r="4.5"/>
|
||
|
||
<!-- ✦ 万物之叶 -->
|
||
<circle class="lf lf1" cx="44" cy="58" r="2.4"/>
|
||
<circle class="lf lf2" cx="58" cy="52" r="2.4"/>
|
||
<circle class="lf lf3" cx="76" cy="58" r="2.4"/>
|
||
<circle class="lf lf4" cx="104" cy="60" r="2.4"/>
|
||
<circle class="lf lf5" cx="120" cy="54" r="2.4"/>
|
||
<circle class="lf lf6" cx="136" cy="60" r="2.4"/>
|
||
<circle class="lf lf7" cx="164" cy="58" r="2.4"/>
|
||
<circle class="lf lf8" cx="182" cy="52" r="2.4"/>
|
||
<circle class="lf lf9" cx="196" cy="58" r="2.4"/>
|
||
|
||
<!-- ✦ 节点铭文 -->
|
||
<text class="lbl l-dao" x="120" y="216" text-anchor="middle">道</text>
|
||
<text class="lbl l-yi" x="133" y="156">一</text>
|
||
<text class="lbl l-er" x="120" y="103" text-anchor="middle">二</text>
|
||
<text class="lbl l-san" x="136" y="78">三</text>
|
||
<text class="lbl l-wan" x="120" y="38" text-anchor="middle">万物</text>
|
||
</svg>
|
||
</div>
|
||
<div class="tao-phase" aria-hidden="true">
|
||
<span>道生一</span><span>一生二</span><span>二生三</span><span>三生万物</span>
|
||
</div>
|
||
<h1 class="intro-title">拾光</h1>
|
||
<p class="intro-sub">把每一次思考 · 织成会生长的网</p>
|
||
<div class="intro-divider" aria-hidden="true"><i></i><b>✦</b><i></i></div>
|
||
<div class="intro-stats">
|
||
<div class="stat"><b data-stat="posts">{{total_posts}}</b><span>篇文章</span></div>
|
||
<div class="stat"><b data-stat="cats">{{total_categories}}</b><span>大分类</span></div>
|
||
<div class="stat"><b data-stat="subs">{{mindmap_count}}</b><span>知识图谱</span></div>
|
||
</div>
|
||
<div class="intro-progress"><i></i></div>
|
||
<p class="intro-hint">正在展开思维图谱</p>
|
||
</div>
|
||
<button class="intro-skip" id="btnSkipIntro">跳过 SKIP →</button>
|
||
</div>
|
||
|
||
<div class="aurora"><div class="blob-c"></div></div>
|
||
<header>
|
||
<div class="brand">
|
||
<div class="brand-mark">思</div>
|
||
<div class="brand-text">
|
||
<h1>拾光</h1>
|
||
<p>MIND MAP · BLOG</p>
|
||
</div>
|
||
</div>
|
||
<div class="top-actions">
|
||
<a class="explore-entry" href="/explore/" title="探索开源仓库" aria-label="探索"><span class="entry-icon" aria-hidden="true">✦</span><span class="entry-text">探索</span></a>
|
||
<a class="explore-entry project-entry" href="/projects/" title="项目库 · 从需求到复盘" aria-label="项目库"><span class="entry-icon" aria-hidden="true">▦</span><span class="entry-text">项目库</span></a>
|
||
<a class="explore-entry reflection-entry" href="/reflections/" title="拾味 · 影评与读书随感" aria-label="拾味"><span class="entry-icon" aria-hidden="true">❋</span><span class="entry-text">拾味</span></a>
|
||
<a class="explore-entry moment-entry" href="/moments/" title="拾绪 · 心情说说" aria-label="拾绪"><span class="entry-icon" aria-hidden="true">☾</span><span class="entry-text">拾绪</span></a>
|
||
<a class="explore-entry cabinet-entry" href="/files/" title="拾匣 · 文件" aria-label="拾匣"><span class="entry-icon" aria-hidden="true">▤</span><span class="entry-text">拾匣</span></a>
|
||
<button class="icon-btn" id="btnSearch" title="搜索 (Ctrl+K)">⌕</button>
|
||
<button class="icon-btn" id="btnTheme" title="切换主题">◐</button>
|
||
</div>
|
||
</header>
|
||
|
||
<div class="search-box" id="searchBox">
|
||
<span style="color:var(--ink-faint); font-size:13px;">⌕</span>
|
||
<input id="searchInput" type="text" placeholder="搜索分类或文章…">
|
||
<kbd>ESC</kbd>
|
||
</div>
|
||
|
||
<div id="mindmap-wrap"><svg id="mindmap"></svg></div>
|
||
|
||
<div class="toolbar">
|
||
<button class="icon-btn" id="btnFit" title="自适应">⛶</button>
|
||
<button class="icon-btn" id="btnIn" title="放大">+</button>
|
||
<button class="icon-btn" id="btnOut" title="缩小">-</button>
|
||
<button class="icon-btn" id="btnFs" title="全屏">❐</button>
|
||
</div>
|
||
|
||
<footer>
|
||
<span>© 2026 我的博客</span>
|
||
<!-- <span class="dot"></span> -->
|
||
<!-- <span>共 18 篇文章</span> -->
|
||
<span class="dot"></span>
|
||
<span>Powered by xiaoan</span>
|
||
<span class="dot"></span>
|
||
<a class="footer-link" href="/mindmaps/">拾脉</a>
|
||
<span class="dot"></span>
|
||
<a class="footer-link" href="/manage/">写作台</a>
|
||
<span class="dot"></span>
|
||
<a class="footer-link" href="/projects/">项目库</a>
|
||
<span class="dot"></span>
|
||
{% include "_icp_link.html" %}
|
||
</footer>
|
||
|
||
{% include "digest/_panel.html" %}
|
||
|
||
<script src="{% static 'blog/js/d3.min.js' %}"></script>
|
||
<script src="{% static 'blog/js/index.js' %}"></script>
|
||
<script src="{% static 'blog/js/index.iife.js' %}"></script>
|
||
<!-- <script src="https://cdn.jsdelivr.net/npm/d3@7/dist/d3.min.js"></script> -->
|
||
<!-- <script src="https://cdn.jsdelivr.net/npm/markmap-view@0.18.10/dist/browser/index.js"></script> -->
|
||
<!-- <script src="https://cdn.jsdelivr.net/npm/markmap-lib@0.18.12/dist/browser/index.iife.js"></script> -->
|
||
|
||
<!-- <script src="https://cdn.jsdmirror.com/npm/d3@7/dist/d3.min.js"></script>
|
||
<script src="https://cdn.jsdmirror.com/npm/markmap-view@0.18.10/dist/browser/index.js"></script>
|
||
<script src="https://cdn.jsdmirror.com/npm/markmap-lib@0.18.12/dist/browser/index.iife.js"></script> -->
|
||
<script type="module" src="{% static 'blog/js/main.js' %}"></script>
|
||
<script src="{% static 'digest/digest.js' %}"></script>
|
||
<!-- 让子模板可以追加自己的 JS -->
|
||
{% block extra_js %}{% endblock %}
|
||
</body>
|
||
</html> |