Skip to content

Commit

Permalink
Path change
Browse files Browse the repository at this point in the history
  • Loading branch information
lost0427 committed Sep 14, 2024
1 parent 0fd2c93 commit 6c67615
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ import tailwind from '@astrojs/tailwind';
// https://astro.build/config
export default defineConfig({
site: 'https://lost0427.github.io',
base: '/Reblog/',
base: '/Reblog',
integrations: [mdx(), sitemap(), tailwind()],
});
2 changes: 1 addition & 1 deletion src/content/blog/Tech/first-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: '111111'
description: 'Lorem ipsum dolor sit amet'
pubDate: 'Jul 08 2022'
heroImage: '/blog-placeholder-3.jpg'
heroImage: '/Reblog/blog-placeholder-3.jpg'
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet.
2 changes: 1 addition & 1 deletion src/content/blog/first-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: 'First post'
description: 'Lorem ipsum dolor sit amet'
pubDate: 'Jul 08 2022'
heroImage: '/blog-placeholder-3.jpg'
heroImage: '/Reblog/blog-placeholder-3.jpg'
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet.
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/markdown-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: 'Markdown Style Guide'
description: 'Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.'
pubDate: 'Jun 19 2024'
heroImage: '/blog-placeholder-1.jpg'
heroImage: '/Reblog/blog-placeholder-1.jpg'
---

Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/second-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: 'Second post'
description: 'Lorem ipsum dolor sit amet'
pubDate: 'Jul 15 2022'
heroImage: '/blog-placeholder-4.jpg'
heroImage: '/Reblog/blog-placeholder-4.jpg'
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet.
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/third-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: 'Third post'
description: 'Lorem ipsum dolor sit amet'
pubDate: 'Jul 22 2022'
heroImage: '/blog-placeholder-2.jpg'
heroImage: '/Reblog/blog-placeholder-2.jpg'
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet.
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/using-mdx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: 'Using MDX'
description: 'Lorem ipsum dolor sit amet'
pubDate: 'Jun 01 2024'
heroImage: '/blog-placeholder-5.jpg'
heroImage: '/Reblog/blog-placeholder-5.jpg'
---

This theme comes with the [@astrojs/mdx](https://docs.astro.build/en/guides/integrations-guide/mdx/) integration installed and configured in your `astro.config.mjs` config file. If you prefer not to use MDX, you can disable support by removing the integration from your config file.
Expand Down
14 changes: 7 additions & 7 deletions src/layouts/Nav.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import NavToggle from '../components/NavToggle.astro';
---
<div class="w-full h-12 fixed top-0 left-0 backdrop-blur-xl bg-white/70 dark:bg-black/70 z-50 dark:text-white" id="NavDesktopH">
<div class="w-full h-full flex justify-between items-center">
<ButtonProps href="/" text="Reblog" className="mx-5" />
<ButtonProps href="/Reblog" text="Reblog" className="mx-5" />
<div class="hidden md:flex flex-row" id="NavDesktop">
<ButtonProps href="/blog/Abstract" text="抽象" className="text-base px-3" />
<ButtonProps href="/blog/Tech" text="技术" className="text-base px-3" />
<ButtonProps href="/blog/Life" text="生活" className="text-base px-3" />
<ButtonProps href="/Reblog/blog/Abstract" text="抽象" className="text-base px-3" />
<ButtonProps href="/Reblog/blog/Tech" text="技术" className="text-base px-3" />
<ButtonProps href="/Reblog/blog/Life" text="生活" className="text-base px-3" />
</div>
<div class="flex justify-between">
<div class="mx-5">Search</div>
Expand All @@ -20,8 +20,8 @@ import NavToggle from '../components/NavToggle.astro';
<div class="fixed top-[3.125rem] left-0 w-full h-[1px] bg-nav-line z-[103] bg-white/10"></div>
<div class="w-full h-full fixed top-12 left-0 backdrop-blur-xl bg-gradient-to-b from-white/100 to-white/50 dark:from-black/100 dark:to-black/50 z-50 hidden opacity-0 transition-opacity duration-500 ease-in-out" id="NavMobile">
<div class="w-full h-full flex flex-col p-7">
<ButtonProps href="/blog/Abstract" text="抽象" className="py-5 text-2xl" />
<ButtonProps href="/blog/Tech" text="技术" className="py-5 text-2xl" />
<ButtonProps href="/blog/Life" text="生活" className="py-5 text-2xl" />
<ButtonProps href="/Reblog/blog/Abstract" text="抽象" className="py-5 text-2xl" />
<ButtonProps href="/Reblog/blog/Tech" text="技术" className="py-5 text-2xl" />
<ButtonProps href="/Reblog/blog/Life" text="生活" className="py-5 text-2xl" />
</div>
</div>
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ import Layout from '../layouts/Layout.astro';
代表着归零,代表着失败,Retrieve是一切物体一切生物最终的归属。面对命中注定的失败,每天痛哭。
</h1>
<div class="flex md:flex-row flex-col md:items-center gap-xs items-center">
<a href="/blog" class="py-[0.4rem] px-7 text-1xl bg-black dark:bg-white text-white dark:text-black rounded-full flex flex-row">
<a href="/Reblog/blog" class="py-[0.4rem] px-7 text-1xl bg-black dark:bg-white text-white dark:text-black rounded-full flex flex-row">
<h3 class="mr-2">所有文章</h3>
<svg width="0.625rem" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 9L9 1M9 1H2.5M9 1V7.22222" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</a>
<a href="/About" class="my-5 py-[0.4rem] px-7 text-1xl flex flex-row">
<a href="/Reblog/About" class="my-5 py-[0.4rem] px-7 text-1xl flex flex-row">
<h3 class="mr-1 text-xs">查看关于此网站的技术</h3>
<svg xmlns="http://www.w3.org/2000/svg" style="transform:rotate(-90deg)" width="0.5625rem" viewBox="0 0 14 8" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.292892 0.292894C0.683416 -0.0976306 1.31658 -0.0976315 1.70711 0.292892L7.00002 5.58579L12.2929 0.292894C12.6834 -0.0976306 13.3166 -0.0976315 13.7071 0.292892C14.0976 0.683416 14.0976 1.31658 13.7071 1.70711L7.70713 7.70711C7.51959 7.89464 7.26524 8 7.00002 8C6.7348 8 6.48045 7.89464 6.29291 7.70711L0.292894 1.70711C-0.0976306 1.31658 -0.0976315 0.683419 0.292892 0.292894Z" fill="currentColor" />
Expand Down

0 comments on commit 6c67615

Please sign in to comment.