Communitygithub.com

rebyteai-template/rebyte-skills

一个设计师作品集页面,包含Locomotive Scroll、GSAP和Framer Motion动画效果。

rebyte-skills 是什么?

该技能基于Next.js构建了一个令人惊叹的设计师作品集着陆页,集成了Locomotive Scroll、GSAP和Framer Motion三种动画库,实现流畅的滚动和动效。它提供了完整的项目模板,包括克隆、依赖安装、开发和构建命令。支持Vercel和Netlify部署,特别强调了Vercel的正确部署流程。适合需要快速搭建视觉出众、动画丰富的个人作品集网站的设计师或前端开发者。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/rebyteai-template/rebyte-skills/tree/HEAD/awwwards-landing-page

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Awwwards 着陆页

一个令人惊叹的作品集着陆页,使用 Locomotive Scroll、GSAP 和 Framer Motion 实现平滑滚动动画。

技术栈

  • 框架:Next.js
  • 动画:Locomotive Scroll、GSAP、Framer Motion
  • 包管理器:pnpm 或 npm
  • 开发端口:3000

设置

1. 克隆模板

git clone --depth 1 https://github.com/Eng0AI/awwwards-landing-page-template.git .

如果目录不为空:

git clone --depth 1 https://github.com/Eng0AI/awwwards-landing-page-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template

2. (可选)移除 Git 历史

rm -rf .git
git init

3. 安装依赖

npm install

构建

npm run build

部署

关键:对于 Vercel,你必须使用 vercel build --prod 然后 vercel deploy --prebuilt --prod。切勿直接使用 vercel --prod。

Vercel(推荐)

vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN

Netlify

netlify deploy --prod

开发

npm run dev

打开 http://localhost:3000

备注

  • 静态 Next.js 站点 - 无需环境变量
  • 切勿在虚拟机环境中运行 npm run dev

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相关技能