1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-08 00:32:34 +08:00

4 Commits

4 changed files with 5 additions and 22 deletions

View File

@@ -29,8 +29,6 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v4 uses: docker/login-action@v4
@@ -63,5 +61,5 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha no-cache: true
cache-to: type=gha,mode=max platforms: linux/amd64,linux/arm64

View File

@@ -125,7 +125,7 @@
&:nth-of-type(1) { &:nth-of-type(1) {
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
filter: url(#noise-filter); filter: url(#noise-filter);
mask-image: linear-gradient(to right, black 0%, transparent 60%); mask-image: linear-gradient(to right, black 0%, transparent 100%);
mix-blend-mode: screen; mix-blend-mode: screen;
z-index: 1; z-index: 1;
} }
@@ -133,12 +133,6 @@
&:nth-of-type(2) { &:nth-of-type(2) {
z-index: 0; z-index: 0;
} }
@media screen and (max-width: 840px) {
&:nth-of-type(1) {
mask-image: linear-gradient(to right, black 0%, transparent 100%);
}
}
} }
} }
@@ -350,10 +344,6 @@
} }
img { img {
&:nth-of-type(1) {
transition: 5s var(--md-sys-motion-spring-slow-effect);
}
&:nth-of-type(2) { &:nth-of-type(2) {
transition: var(--md-sys-motion-spring-slow-effect-duration) var(--md-sys-motion-spring-default-effect) transition: var(--md-sys-motion-spring-slow-effect-duration) var(--md-sys-motion-spring-default-effect)
var(--md-sys-motion-spring-fast-effect-duration); var(--md-sys-motion-spring-fast-effect-duration);
@@ -380,11 +370,6 @@
} }
img { img {
&:nth-of-type(1) {
opacity: 0;
transform: translateX(-25%);
}
&:nth-of-type(2) { &:nth-of-type(2) {
opacity: 0; opacity: 0;
transform: scale(1.005); transform: scale(1.005);

View File

@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y git \
WORKDIR /app WORKDIR /app
# 拉取项目代码 # 拉取项目代码
RUN git clone https://github.com/sendevia/website . RUN git clone https://github.com/sendevia/website . --depth=1
# 安装依赖并构建 # 安装依赖并构建
RUN npm i && npm run docs:build RUN npm i && npm run docs:build

View File

@@ -21,7 +21,7 @@ YEAR=$(date +%y)
MONTH=$(date +%-m) MONTH=$(date +%-m)
DAY=$(date +%-d) DAY=$(date +%-d)
NEW_VERSION="${YEAR}.${MONTH}.${DAY}(${NEXT_COMMIT_COUNT})" NEW_VERSION="${YEAR}.${MONTH}.${DAY}.${NEXT_COMMIT_COUNT}"
echo "📝 更新版本号..." echo "📝 更新版本号..."
# 使用 sed 更新 package.json 中的版本号 # 使用 sed 更新 package.json 中的版本号