forked from xjh22222228/nav
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8c7cc8
commit 570470d
Showing
30 changed files
with
420 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** @type {import('postcss-load-config').Config} */ | ||
const config = { | ||
plugins: { | ||
tailwindcss: {}, | ||
}, | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
/* NProgress Make clicks pass-through */ | ||
#nprogress { | ||
pointer-events: none; | ||
} | ||
|
||
#nprogress .bar { | ||
background: #29d; | ||
position: fixed; | ||
z-index: 1031; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 2px; | ||
} | ||
|
||
/* Fancy blur effect */ | ||
#nprogress .peg { | ||
display: block; | ||
position: absolute; | ||
right: 0px; | ||
width: 100px; | ||
height: 100%; | ||
box-shadow: 0 0 10px #29d, 0 0 5px #29d; | ||
opacity: 1; | ||
|
||
-webkit-transform: rotate(3deg) translate(0px, -4px); | ||
-ms-transform: rotate(3deg) translate(0px, -4px); | ||
transform: rotate(3deg) translate(0px, -4px); | ||
} | ||
|
||
/* Remove these to get rid of the spinner */ | ||
#nprogress .spinner { | ||
display: block; | ||
position: fixed; | ||
z-index: 1031; | ||
top: 25px; | ||
right: 25px; | ||
} | ||
|
||
#nprogress .spinner-icon { | ||
width: 18px; | ||
height: 18px; | ||
box-sizing: border-box; | ||
border: solid 2px transparent; | ||
border-top-color: #29d; | ||
border-left-color: #29d; | ||
border-radius: 50%; | ||
animation: nprogress-spinner 400ms linear infinite; | ||
} | ||
|
||
.nprogress-custom-parent { | ||
overflow: hidden; | ||
position: relative; | ||
} | ||
|
||
.nprogress-custom-parent #nprogress .spinner, | ||
.nprogress-custom-parent #nprogress .bar { | ||
position: absolute; | ||
} | ||
|
||
@-webkit-keyframes nprogress-spinner { | ||
0% { | ||
-webkit-transform: rotate(0deg); | ||
} | ||
100% { | ||
-webkit-transform: rotate(360deg); | ||
} | ||
} | ||
@keyframes nprogress-spinner { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
const t: Record<string, any> = { | ||
footTemplate1: ` | ||
<div class="foot-template1 dark-bg dark-border-color"> | ||
<div class="template1 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3"> | ||
<div class="bg-white py-8 px-8 mx-auto text-left dark-bg dark-border-color"> | ||
<div | ||
style="width: 1050px" | ||
class="max-w-full mx-auto grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3" | ||
> | ||
<div> | ||
<div class="title dark-white">联系方式</div> | ||
<div class="text dark-white-700">问题反馈:[email protected]</div> | ||
<div class="text dark-white-700">微信授权:xjh22222228</div> | ||
<div class="dark-white text-base font-bold mb-8">联系方式</div> | ||
<div class="text-gray-600 dark-white-700 mb-6"> | ||
问题反馈:xjh22222228@gmail.com | ||
</div> | ||
<div class="text-gray-600 dark-white-700 mb-6"> | ||
微信授权:xjh22222228 | ||
</div> | ||
</div> | ||
<div> | ||
<div class="title dark-white">网站信息</div> | ||
<div class="text dark-white-700">共收录$\{total}个网站</div> | ||
<div class="text"> | ||
<a | ||
class="applyweb" | ||
> | ||
申请收录 | ||
</a> | ||
<div class="dark-white text-base font-bold mb-8">网站信息</div> | ||
<div class="text-gray-600 dark-white-700 mb-6">共收录 $\{total} 个网站</div> | ||
<div class="mb-6"> | ||
<a class="applyweb"> 申请收录 </a> | ||
</div> | ||
</div> | ||
<div> | ||
<div class="title dark-white">技术支持</div> | ||
<div class="text"> | ||
<a | ||
href="https://github.com/xjh22222228/nav" | ||
target="_blank" | ||
> | ||
<div class="dark-white text-base font-bold mb-8">技术支持</div> | ||
<div class="mb-6"> | ||
<a href="https://github.com/xjh22222228/nav" target="_blank"> | ||
Nav | ||
</a> | ||
</div> | ||
<div class="text"> | ||
<div class="mb-6"> | ||
<a | ||
href="https://github.com/xjh22222228/beautiful-window" | ||
target="_blank" | ||
|
@@ -41,31 +41,6 @@ const t: Record<string, any> = { | |
</div> | ||
</div> | ||
</div> | ||
<!-- UI Style --> | ||
<style> | ||
.foot-template1 { | ||
margin-top: 2rem; | ||
padding: 2rem 1rem 0 1rem; | ||
text-align: left; | ||
background-color: #fff; | ||
border-top: 1px solid #e2e2e2; | ||
} | ||
.foot-template1 .template1 { | ||
max-width: 1150px; | ||
margin: 0 auto; | ||
} | ||
.foot-template1 .title { | ||
font-size: 1rem; | ||
font-weight: bold; | ||
color: #000; | ||
margin-bottom: 2rem; | ||
} | ||
.foot-template1 .text { | ||
font-size: 0.9rem; | ||
margin-bottom: 2rem; | ||
color: rgba(18, 20, 28, 0.7); | ||
} | ||
</style> | ||
`, | ||
|
||
footTemplate2: ` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.