Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyang0507 committed May 15, 2024
1 parent dd47929 commit 78036ab
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@ jobs:
host: ${{ secrets.ECS_HOST }}
username: ${{ secrets.ECS_USERNAME }}
password: ${{ secrets.ECS_PASSWORD }}
rm: true
source: './dist/*'
target: '/var/www/html/'
target: '/var/www/mybatis-plus-doc/'
28 changes: 14 additions & 14 deletions src/components/PageTitle.astro
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
---
import type { Props } from '@astrojs/starlight/props';
import type { Props } from "@astrojs/starlight/props";
import Default from "@astrojs/starlight/components/PageTitle.astro";
---

<Default {...Astro.props}>
<slot/>
<slot />
</Default>

<!-- WWAD -->
<div class="wwads-cn wwads-horizontal page-wwads" data-id="135"></div>
<div class="no-content wwads-cn wwads-horizontal page-wwads" data-id="135"></div>
<style>
.page-wwads{
width:100%!important;
.page-wwads {
width: 100% !important;
min-height: 0;
margin: 0;
}
.page-wwads .wwads-img img{
width:80px!important;
}
.page-wwads .wwads-poweredby{
}
.page-wwads .wwads-img img {
width: 80px !important;
}
.page-wwads .wwads-poweredby {
width: 40px;
position: absolute;
right: 25px;
bottom: 3px;
}
.wwads-content .wwads-text, .page-wwads .wwads-text{
}
.wwads-content .wwads-text,
.page-wwads .wwads-text {
height: 100%;
padding-top: 5px;
display: block;
}
}
</style>
2 changes: 1 addition & 1 deletion src/components/SponsorBanner.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
onMount(() => {
const interval = setInterval(updateCard, 4000);
const interval = setInterval(updateCard, 3000);
return () => clearInterval(interval);
});
</script>
Expand Down

0 comments on commit 78036ab

Please sign in to comment.