diff --git a/documents/docusaurus.config.js b/documents/docusaurus.config.js index 7858241..d863125 100644 --- a/documents/docusaurus.config.js +++ b/documents/docusaurus.config.js @@ -6,7 +6,7 @@ /** @type {import('@docusaurus/types').Config} */ const config = { - title: "长亭雷池 WAF 社区版", + title: "雷池 WAF 社区版", tagline: "", favicon: "images/favicon.ico", diff --git a/website/public/images/ability/ability_asset.png b/website/public/images/ability/ability_asset.png new file mode 100644 index 0000000..4cb91e7 Binary files /dev/null and b/website/public/images/ability/ability_asset.png differ diff --git a/website/public/images/ability/ability_asset.svg b/website/public/images/ability/ability_asset.svg deleted file mode 100644 index b47c782..0000000 --- a/website/public/images/ability/ability_asset.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - 站点资源一览 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 可视化管理 - - - 流量自动采集 - - - - - - - - \ No newline at end of file diff --git a/website/public/images/ability/ability_rivers.png b/website/public/images/ability/ability_rivers.png new file mode 100644 index 0000000..ebe0bf0 Binary files /dev/null and b/website/public/images/ability/ability_rivers.png differ diff --git a/website/public/images/ability/ability_rivers.svg b/website/public/images/ability/ability_rivers.svg deleted file mode 100644 index b20ef76..0000000 --- a/website/public/images/ability/ability_rivers.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - 百川网站监控联动 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 网站监控联动 - - - - - - - - - \ No newline at end of file diff --git a/website/public/images/ability/ability_verification.png b/website/public/images/ability/ability_verification.png new file mode 100644 index 0000000..a22a0b0 Binary files /dev/null and b/website/public/images/ability/ability_verification.png differ diff --git a/website/public/images/ability/ability_verification.svg b/website/public/images/ability/ability_verification.svg deleted file mode 100644 index da3931c..0000000 --- a/website/public/images/ability/ability_verification.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - 人机验证 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 人机验证 - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/website/public/images/banner-bg.png b/website/public/images/banner-bg.png deleted file mode 100644 index 697ec67..0000000 Binary files a/website/public/images/banner-bg.png and /dev/null differ diff --git a/website/public/images/community-banner.png b/website/public/images/community-banner.png index 5c53132..de4ee98 100644 Binary files a/website/public/images/community-banner.png and b/website/public/images/community-banner.png differ diff --git a/website/public/images/community-version.png b/website/public/images/community-version.png deleted file mode 100644 index e55c781..0000000 Binary files a/website/public/images/community-version.png and /dev/null differ diff --git a/website/public/images/community-version.svg b/website/public/images/community-version.svg new file mode 100644 index 0000000..9b60867 --- /dev/null +++ b/website/public/images/community-version.svg @@ -0,0 +1,22 @@ + + + 版本对比社区版 + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/website/public/images/enterprise-bg.svg b/website/public/images/enterprise-bg.svg index 37b6d24..6d4a261 100644 --- a/website/public/images/enterprise-bg.svg +++ b/website/public/images/enterprise-bg.svg @@ -1,7 +1,24 @@ - + 企业版底图 + + + + + + + + + + + - + + + + + + + \ No newline at end of file diff --git a/website/public/images/enterprise-version.png b/website/public/images/enterprise-version.png deleted file mode 100644 index 97e5075..0000000 Binary files a/website/public/images/enterprise-version.png and /dev/null differ diff --git a/website/public/images/enterprise-version.svg b/website/public/images/enterprise-version.svg new file mode 100644 index 0000000..0ad0843 --- /dev/null +++ b/website/public/images/enterprise-version.svg @@ -0,0 +1,22 @@ + + + 版本对比企业版 + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/website/public/images/feature1-bg.png b/website/public/images/feature1-bg.png index d49d7d6..79b06a1 100644 Binary files a/website/public/images/feature1-bg.png and b/website/public/images/feature1-bg.png differ diff --git a/website/public/images/feature2-bg.png b/website/public/images/feature2-bg.png index 623bfba..09abe67 100644 Binary files a/website/public/images/feature2-bg.png and b/website/public/images/feature2-bg.png differ diff --git a/website/public/images/feature3-bg.png b/website/public/images/feature3-bg.png index 4f14d49..4259574 100644 Binary files a/website/public/images/feature3-bg.png and b/website/public/images/feature3-bg.png differ diff --git a/website/public/images/feedback.png b/website/public/images/feedback.png new file mode 100644 index 0000000..8474176 Binary files /dev/null and b/website/public/images/feedback.png differ diff --git a/website/public/images/feedback.svg b/website/public/images/feedback.svg deleted file mode 100644 index 06a1fd2..0000000 --- a/website/public/images/feedback.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - 绕过反馈插图 - - - - - - - - - - - - - - - - - - - - - - - - - - XSS 挑战入口 - - - SQL 挑战入口 - - - - - - - - \ No newline at end of file diff --git a/website/public/images/gif/waf-logo.gif b/website/public/images/gif/waf-logo.gif index ad440b2..2ac835b 100644 Binary files a/website/public/images/gif/waf-logo.gif and b/website/public/images/gif/waf-logo.gif differ diff --git a/website/public/images/home-banner.png b/website/public/images/home-banner.png index a522b3a..6ad27dc 100644 Binary files a/website/public/images/home-banner.png and b/website/public/images/home-banner.png differ diff --git a/website/public/images/partner-bg.png b/website/public/images/partner-bg.png new file mode 100644 index 0000000..96b43db Binary files /dev/null and b/website/public/images/partner-bg.png differ diff --git a/website/public/images/partner-bg.svg b/website/public/images/partner-bg.svg deleted file mode 100644 index e1f8ce9..0000000 --- a/website/public/images/partner-bg.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - 位图 - - - - - - \ No newline at end of file diff --git a/website/public/images/shield.png b/website/public/images/shield.png new file mode 100644 index 0000000..33cfd28 Binary files /dev/null and b/website/public/images/shield.png differ diff --git a/website/public/images/version-banner.png b/website/public/images/version-banner.png index 1690412..d18f4f9 100644 Binary files a/website/public/images/version-banner.png and b/website/public/images/version-banner.png differ diff --git a/website/src/components/Version/index.tsx b/website/src/components/Version/index.tsx index f86ef75..d6b7473 100644 --- a/website/src/components/Version/index.tsx +++ b/website/src/components/Version/index.tsx @@ -6,7 +6,7 @@ import Consultation from "./Consultation"; const VERSION_LIST = [ { name: "社区版", - name_bg: "/images/community-version.png", + name_bg: "/images/community-version.svg", apply_desc: "适合小型个人网站或业余爱好项目", fee: "免费", fee_desc: "", @@ -64,7 +64,7 @@ const VERSION_LIST = [ // }, { name: "企业版", - name_bg: "/images/enterprise-version.png", + name_bg: "/images/enterprise-version.svg", apply_desc: "适合小微到中大型企业", fee: "按需定制", fee_desc: "", diff --git a/website/src/components/home/Abilities.tsx b/website/src/components/home/Abilities.tsx index f2080b7..d4da7b9 100644 --- a/website/src/components/home/Abilities.tsx +++ b/website/src/components/home/Abilities.tsx @@ -7,12 +7,12 @@ const ABILITY_LIST = [ { title: "人机验证", href: "https://waf-ce.chaitin.cn/docs/about/challenge", - img: "/images/ability/ability_verification.svg", + img: "/images/ability/ability_verification.png", }, { title: "百川网站监控联动", href: "https://waf-ce.chaitin.cn/docs/practice/monitor", - img: "/images/ability/ability_rivers.svg", + img: "/images/ability/ability_rivers.png", }, { title: "APISIX 插件集成", @@ -32,7 +32,7 @@ const ABILITY_LIST = [ { title: "站点资源一览", href: "", - img: "/images/ability/ability_asset.svg", + img: "/images/ability/ability_asset.png", }, { title: "CC 攻击防护", @@ -46,7 +46,7 @@ const ABILITY_LIST = [ }, ]; -const DEFAULT_URL = '/images/ability/ability_verification.svg'; +const DEFAULT_URL = '/images/ability/ability_verification.png'; const Abilities = () => { const [hoveredUrl, setHoveredUrl] = useState(DEFAULT_URL); @@ -83,10 +83,9 @@ const Abilities = () => { key={ability.title} src={ability.img} alt={ability.title} - layout="responsive" - width={100} + layout={hoveredUrl === ability.img ? "responsive" : "fixed"} + width={0} height={100} - style={{ display: hoveredUrl === ability.img ? 'block' : 'none' }} /> ))} diff --git a/website/src/components/home/Features.tsx b/website/src/components/home/Features.tsx index 74bdefe..5003223 100644 --- a/website/src/components/home/Features.tsx +++ b/website/src/components/home/Features.tsx @@ -41,7 +41,7 @@ const FEATURE_LIST = [ ml: { xs: 0, sm: 2 }, mb: { xs: 2, sm: 0 }, }} - href="https://demo.waf-ce.chaitin.cn:9443/dashboard" + href="/docs/about/syntaxanalysis" > 了解详情 diff --git a/website/src/pages/_app.tsx b/website/src/pages/_app.tsx index b3d7c2e..1c644de 100644 --- a/website/src/pages/_app.tsx +++ b/website/src/pages/_app.tsx @@ -9,11 +9,11 @@ export default function MyApp({ Component, pageProps }: any) { return (
- 长亭雷池 WAF 社区版 + 雷池 WAF 社区版 | 下一代 Web 应用防火墙 | 免费安装 - + diff --git a/website/src/pages/community/index.tsx b/website/src/pages/community/index.tsx index 3d126a8..42796c5 100644 --- a/website/src/pages/community/index.tsx +++ b/website/src/pages/community/index.tsx @@ -30,11 +30,11 @@ export async function getServerSideProps() { function Community({ discussions, issues }: CommunityPropsType) { return ( -
+
- 社区 | 长亭雷池 WAF 社区版 + 社区 | 雷池 WAF 社区版 - + { - // getSetupCount().then((d) => { - // initTotal(d.total); - // }); initTotal(total); }, [total]); return ( -
- - 长亭雷池 WAF 社区版 - - - - - +
- - + + + 欢迎使用雷池其他版本 + + + 雷池企业版 - - - 欢迎使用雷池其他版本 - - - - + diff --git a/website/src/pages/version/index.tsx b/website/src/pages/version/index.tsx index d269598..3dfd5ac 100644 --- a/website/src/pages/version/index.tsx +++ b/website/src/pages/version/index.tsx @@ -6,11 +6,11 @@ import Version from "@/components/Version"; export default function VersionView() { return ( -
+
- 版本对比 | 长亭雷池 WAF 社区版 + 版本对比 | 雷池 WAF 社区版 - +