app.blade.php 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. <!DOCTYPE html>
  2. <!-- saved from url=(0032)https://demo.stack.jimmycai.com/ -->
  3. <html lang="en-us" dir="ltr" data-scheme="light">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta name="generator" content="Hugo 0.134.1" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1" />
  8. <meta
  9. name="description"
  10. content="Lorem ipsum dolor sit amet, consectetur adipiscing elit." />
  11. <title></title>
  12. <title>@yield('title', 'home')</title>
  13. <link rel="canonical" href="https://demo.stack.jimmycai.com/" />
  14. <link
  15. rel="stylesheet"
  16. href="{{ URL::asset('assets/css/blog/style.min.663803bebe609202d5b39d848f2d7c2dc8b598a2d879efa079fa88893d29c49c.css') }}" />
  17. <meta property=" og:title" content="{{ $user["nickName"] }}" />
  18. <meta
  19. property="og:description"
  20. content="Lorem ipsum dolor sit amet, consectetur adipiscing elit." />
  21. <meta property="og:url" content="https://demo.stack.jimmycai.com/" />
  22. <meta property="og:site_name" content="{{ $user["nickName"] }}" />
  23. <meta property="og:type" content="website" />
  24. <meta property="og:updated_time" content=" 2023-09-07T00:00:00+00:00 " />
  25. <meta name="twitter:title" content="{{ $user["nickName"] }}" />
  26. <meta
  27. name="twitter:description"
  28. content="Lorem ipsum dolor sit amet, consectetur adipiscing elit." />
  29. <link
  30. rel="alternate"
  31. type="application/rss+xml"
  32. href="https://demo.stack.jimmycai.com/index.xml" />
  33. <link
  34. rel="shortcut icon"
  35. href="https://demo.stack.jimmycai.com/favicon.png" />
  36. <link
  37. href="{{ URL::asset('assets/css/blog/css2') }}"
  38. type="text/css"
  39. rel="stylesheet" />
  40. </head>
  41. <body
  42. class=""
  43. style="transition: background-color 0.3s">
  44. <script>
  45. (function() {
  46. const colorSchemeKey = "StackColorScheme";
  47. if (!localStorage.getItem(colorSchemeKey)) {
  48. localStorage.setItem(colorSchemeKey, "auto");
  49. }
  50. })();
  51. </script>
  52. <script>
  53. (function() {
  54. const colorSchemeKey = "StackColorScheme";
  55. const colorSchemeItem = localStorage.getItem(colorSchemeKey);
  56. const supportDarkMode =
  57. window.matchMedia("(prefers-color-scheme: dark)").matches === true;
  58. if (
  59. colorSchemeItem == "dark" ||
  60. (colorSchemeItem === "auto" && supportDarkMode)
  61. ) {
  62. document.documentElement.dataset.scheme = "dark";
  63. } else {
  64. document.documentElement.dataset.scheme = "light";
  65. }
  66. })();
  67. </script>
  68. <div class="container main-container flex on-phone--column extended">
  69. <aside class="sidebar left-sidebar sticky">
  70. <button
  71. class="hamburger hamburger--spin"
  72. type="button"
  73. id="toggle-menu"
  74. aria-label="Toggle Menu">
  75. <span class="hamburger-box">
  76. <span class="hamburger-inner"></span>
  77. </span>
  78. </button>
  79. <header>
  80. <figure class="site-avatar">
  81. <a href="https://demo.stack.jimmycai.com/">
  82. <img
  83. src="{{ $user['avatar'] ?? '' }}"
  84. width="300"
  85. height="300"
  86. class="site-logo"
  87. loading="lazy"
  88. alt="Avatar" />
  89. </a>
  90. <span class="emoji" style="font-size: 11px;">LV10</span>
  91. </figure>
  92. <div class="site-meta">
  93. <h1 class="site-name">
  94. <a href="https://demo.stack.jimmycai.com/">{{ $user["nickName"] }}</a>
  95. </h1>
  96. <h2 class="site-description">
  97. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  98. </h2>
  99. </div>
  100. </header>
  101. <ol class="menu-social">
  102. <li>
  103. <a
  104. href="https://github.com/CaiJimmy/hugo-theme-stack"
  105. target="_blank"
  106. title="GitHub"
  107. rel="me">
  108. <svg
  109. xmlns="http://www.w3.org/2000/svg"
  110. class="icon icon-tabler icon-tabler-brand-github"
  111. width="24"
  112. height="24"
  113. viewBox="0 0 24 24"
  114. stroke-width="2"
  115. stroke="currentColor"
  116. fill="none"
  117. stroke-linecap="round"
  118. stroke-linejoin="round">
  119. <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
  120. <path
  121. d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"></path>
  122. </svg>
  123. </a>
  124. </li>
  125. <li>
  126. <a
  127. href="https://twitter.com/"
  128. target="_blank"
  129. title="Twitter"
  130. rel="me">
  131. <svg
  132. xmlns="http://www.w3.org/2000/svg"
  133. class="icon icon-tabler icon-tabler-brand-twitter"
  134. width="24"
  135. height="24"
  136. viewBox="0 0 24 24"
  137. stroke-width="2"
  138. stroke="currentColor"
  139. fill="none"
  140. stroke-linecap="round"
  141. stroke-linejoin="round">
  142. <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
  143. <path
  144. d="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c-.002 -.249 1.51 -2.772 1.818 -4.013z"></path>
  145. </svg>
  146. </a>
  147. </li>
  148. </ol>
  149. <ol class="menu" id="main-menu">
  150. <li class="current">
  151. <a href="https://demo.stack.jimmycai.com/">
  152. <svg
  153. xmlns="http://www.w3.org/2000/svg"
  154. class="icon icon-tabler icon-tabler-home"
  155. width="24"
  156. height="24"
  157. viewBox="0 0 24 24"
  158. stroke-width="2"
  159. stroke="currentColor"
  160. fill="none"
  161. stroke-linecap="round"
  162. stroke-linejoin="round">
  163. <path stroke="none" d="M0 0h24v24H0z"></path>
  164. <polyline points="5 12 3 12 12 3 21 12 19 12"></polyline>
  165. <path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"></path>
  166. <path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6"></path>
  167. </svg>
  168. <span>Home</span>
  169. </a>
  170. </li>
  171. <li>
  172. <a href="https://demo.stack.jimmycai.com/archives/">
  173. <svg
  174. xmlns="http://www.w3.org/2000/svg"
  175. class="icon icon-tabler icon-tabler-archive"
  176. width="24"
  177. height="24"
  178. viewBox="0 0 24 24"
  179. stroke-width="2"
  180. stroke="currentColor"
  181. fill="none"
  182. stroke-linecap="round"
  183. stroke-linejoin="round">
  184. <path stroke="none" d="M0 0h24v24H0z"></path>
  185. <rect x="3" y="4" width="18" height="4" rx="2"></rect>
  186. <path d="M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10"></path>
  187. <line x1="10" y1="12" x2="14" y2="12"></line>
  188. </svg>
  189. <span>Archives</span>
  190. </a>
  191. </li>
  192. <li>
  193. <a href="https://demo.stack.jimmycai.com/search/">
  194. <svg
  195. xmlns="http://www.w3.org/2000/svg"
  196. class="icon icon-tabler icon-tabler-search"
  197. width="24"
  198. height="24"
  199. viewBox="0 0 24 24"
  200. stroke-width="2"
  201. stroke="currentColor"
  202. fill="none"
  203. stroke-linecap="round"
  204. stroke-linejoin="round">
  205. <path stroke="none" d="M0 0h24v24H0z"></path>
  206. <circle cx="10" cy="10" r="7"></circle>
  207. <line x1="21" y1="21" x2="15" y2="15"></line>
  208. </svg>
  209. <span>Search</span>
  210. </a>
  211. </li>
  212. <li>
  213. <a href="https://demo.stack.jimmycai.com/links/">
  214. <svg
  215. xmlns="http://www.w3.org/2000/svg"
  216. class="icon icon-tabler icon-tabler-link"
  217. width="24"
  218. height="24"
  219. viewBox="0 0 24 24"
  220. stroke-width="2"
  221. stroke="currentColor"
  222. fill="none"
  223. stroke-linecap="round"
  224. stroke-linejoin="round">
  225. <path stroke="none" d="M0 0h24v24H0z"></path>
  226. <path
  227. d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path>
  228. <path
  229. d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path>
  230. </svg>
  231. <span>Links</span>
  232. </a>
  233. </li>
  234. <li class="menu-bottom-section">
  235. <ol class="menu">
  236. <li id="dark-mode-toggle">
  237. <svg
  238. xmlns="http://www.w3.org/2000/svg"
  239. class="icon icon-tabler icon-tabler-toggle-left"
  240. width="24"
  241. height="24"
  242. viewBox="0 0 24 24"
  243. stroke-width="2"
  244. stroke="currentColor"
  245. fill="none"
  246. stroke-linecap="round"
  247. stroke-linejoin="round">
  248. <path stroke="none" d="M0 0h24v24H0z"></path>
  249. <circle cx="8" cy="12" r="2"></circle>
  250. <rect x="2" y="6" width="20" height="12" rx="6"></rect>
  251. </svg>
  252. <svg
  253. xmlns="http://www.w3.org/2000/svg"
  254. class="icon icon-tabler icon-tabler-toggle-right"
  255. width="24"
  256. height="24"
  257. viewBox="0 0 24 24"
  258. stroke-width="2"
  259. stroke="currentColor"
  260. fill="none"
  261. stroke-linecap="round"
  262. stroke-linejoin="round">
  263. <path stroke="none" d="M0 0h24v24H0z"></path>
  264. <circle cx="16" cy="12" r="2"></circle>
  265. <rect x="2" y="6" width="20" height="12" rx="6"></rect>
  266. </svg>
  267. <span>Dark Mode</span>
  268. </li>
  269. </ol>
  270. </li>
  271. </ol>
  272. </aside>
  273. <aside class="sidebar right-sidebar sticky">
  274. <form
  275. action="https://demo.stack.jimmycai.com/search/"
  276. class="search-form widget">
  277. <p>
  278. <label>Search</label>
  279. <input name="keyword" required="" placeholder="Type something..." />
  280. <button title="Search">
  281. <svg
  282. xmlns="http://www.w3.org/2000/svg"
  283. class="icon icon-tabler icon-tabler-search"
  284. width="24"
  285. height="24"
  286. viewBox="0 0 24 24"
  287. stroke-width="2"
  288. stroke="currentColor"
  289. fill="none"
  290. stroke-linecap="round"
  291. stroke-linejoin="round">
  292. <path stroke="none" d="M0 0h24v24H0z"></path>
  293. <circle cx="10" cy="10" r="7"></circle>
  294. <line x1="21" y1="21" x2="15" y2="15"></line>
  295. </svg>
  296. </button>
  297. </p>
  298. </form>
  299. <section class="widget archives">
  300. <div class="widget-icon">
  301. <svg
  302. xmlns="http://www.w3.org/2000/svg"
  303. class="icon icon-tabler icon-tabler-infinity"
  304. width="24"
  305. height="24"
  306. viewBox="0 0 24 24"
  307. stroke-width="2"
  308. stroke="currentColor"
  309. fill="none"
  310. stroke-linecap="round"
  311. stroke-linejoin="round">
  312. <path stroke="none" d="M0 0h24v24H0z"></path>
  313. <path
  314. d="M9.828 9.172a4 4 0 1 0 0 5.656 a10 10 0 0 0 2.172 -2.828a10 10 0 0 1 2.172 -2.828 a4 4 0 1 1 0 5.656a10 10 0 0 1 -2.172 -2.828a10 10 0 0 0 -2.172 -2.828"></path>
  315. </svg>
  316. </div>
  317. <h2 class="widget-title section-title">Archives</h2>
  318. <div class="widget-archive--list">
  319. <div class="archives-year">
  320. <a href="https://demo.stack.jimmycai.com/archives/#2023">
  321. <span class="year">2023</span>
  322. <span class="count">4</span>
  323. </a>
  324. </div>
  325. <div class="archives-year">
  326. <a href="https://demo.stack.jimmycai.com/archives/#2022">
  327. <span class="year">2022</span>
  328. <span class="count">1</span>
  329. </a>
  330. </div>
  331. </div>
  332. </section>
  333. <section class="widget tagCloud">
  334. <div class="widget-icon">
  335. <svg
  336. xmlns="http://www.w3.org/2000/svg"
  337. class="icon icon-tabler icon-tabler-hash"
  338. width="24"
  339. height="24"
  340. viewBox="0 0 24 24"
  341. stroke-width="2"
  342. stroke="currentColor"
  343. fill="none"
  344. stroke-linecap="round"
  345. stroke-linejoin="round">
  346. <path stroke="none" d="M0 0h24v24H0z"></path>
  347. <line x1="5" y1="9" x2="19" y2="9"></line>
  348. <line x1="5" y1="15" x2="19" y2="15"></line>
  349. <line x1="11" y1="4" x2="7" y2="20"></line>
  350. <line x1="17" y1="4" x2="13" y2="20"></line>
  351. </svg>
  352. </div>
  353. <h2 class="widget-title section-title">Categories</h2>
  354. <div class="tagCloud-tags">
  355. @foreach($categories as $category)
  356. <a
  357. href="{{ route('blog.category', ['user' => $user['userName'],'category1' => $category['id'],]) }}"
  358. class="font_size_1">
  359. {{ $category['label'] }}
  360. </a>
  361. @endforeach
  362. </div>
  363. </section>
  364. <section class="widget tagCloud">
  365. <div class="widget-icon">
  366. <svg
  367. xmlns="http://www.w3.org/2000/svg"
  368. class="icon icon-tabler icon-tabler-tag"
  369. width="24"
  370. height="24"
  371. viewBox="0 0 24 24"
  372. stroke-width="2"
  373. stroke="currentColor"
  374. fill="none"
  375. stroke-linecap="round"
  376. stroke-linejoin="round">
  377. <path stroke="none" d="M0 0h24v24H0z"></path>
  378. <path
  379. d="M11 3L20 12a1.5 1.5 0 0 1 0 2L14 20a1.5 1.5 0 0 1 -2 0L3 11v-4a4 4 0 0 1 4 -4h4"></path>
  380. <circle cx="9" cy="9" r="2"></circle>
  381. </svg>
  382. </div>
  383. <h2 class="widget-title section-title">Tags</h2>
  384. <div class="tagCloud-tags">
  385. <a
  386. href="https://demo.stack.jimmycai.com/tags/css/"
  387. class="font_size_1">
  388. Css
  389. </a>
  390. <a
  391. href="https://demo.stack.jimmycai.com/tags/example-tag/"
  392. class="font_size_1">
  393. Example Tag
  394. </a>
  395. <a
  396. href="https://demo.stack.jimmycai.com/tags/html/"
  397. class="font_size_1">
  398. Html
  399. </a>
  400. <a
  401. href="https://demo.stack.jimmycai.com/tags/markdown/"
  402. class="font_size_1">
  403. Markdown
  404. </a>
  405. <a
  406. href="https://demo.stack.jimmycai.com/tags/themes/"
  407. class="font_size_1">
  408. Themes
  409. </a>
  410. </div>
  411. </section>
  412. </aside>
  413. <main class="main full-width">
  414. <div>
  415. @yield('content')
  416. </div>
  417. <footer class="site-footer">
  418. <section class="copyright">
  419. 2020 - 2025 wikipali
  420. </section>
  421. <section class="powerby">
  422. Theme
  423. <b><a
  424. href="https://github.com/CaiJimmy/hugo-theme-stack"
  425. target="_blank"
  426. rel="noopener"
  427. data-version="3.30.0">Stack</a></b>
  428. designed by
  429. <a href="https://jimmycai.com/" target="_blank" rel="noopener">Jimmy</a>
  430. © 2020 - 2025 Hugo Theme Stack Starter
  431. </section>
  432. </footer>
  433. </main>
  434. </div>
  435. <script
  436. src="{{ URL::asset('assets/js/blog/vibrant.min.js') }}"
  437. integrity="sha256-awcR2jno4kI5X0zL8ex0vi2z+KMkF24hUW8WePSA9HM="
  438. crossorigin="anonymous"></script>
  439. <script
  440. type="text/javascript"
  441. src="{{ URL::asset('assets/js/blog/main.1e9a3bafd846ced4c345d084b355fb8c7bae75701c338f8a1f8a82c780137826.js') }}"
  442. defer=""></script>
  443. <script>
  444. (function() {
  445. const customFont = document.createElement("link");
  446. customFont.href =
  447. "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap";
  448. customFont.type = "text/css";
  449. customFont.rel = "stylesheet";
  450. document.head.appendChild(customFont);
  451. })();
  452. </script>
  453. </body>
  454. </html>