Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const config = {
},
{
label: 'News',
to: 'news',
to: '/news',
},
{
label: 'Customer Stories',
Expand Down
120 changes: 120 additions & 0 deletions i18n/zh-CN/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -410,5 +410,125 @@
},
"Participants will receive exclusive IvorySQL-branded peripherals as a token of appreciation.": {
"message": "参与即可获得精美周边"
},
"Latest Release": {
"message": "最新版本"
},
"An Open Source 100% Oracle-Compatible PostgreSQL": {
"message": "一款开源的100%兼容Oracle的PostgreSQL"
},
"Free Download": {
"message": "免费下载"
},
"Online Trial": {
"message": "在线体验"
},
"Latest Events": {
"message": "最新活动"
},
"What is IvorySQL?": {
"message": "什么是 IvorySQL?"
},
"IvorySQL is an advanced, fully featured, open-source Oracle-compatible PostgreSQL, dedicated to maintaining 100% compatibility and serving as a drop-in replacement for the latest PostgreSQL. IvorySQL adds a \"compatible_db\" switch, allowing switching between Oracle and PostgreSQL modes. A highlight is the PL/iSQL procedural language, supporting Oracle's PL/SQL syntax and Oracle-style packages.": {
"message": "IvorySQL 是一款先进的、功能齐全的开源 Oracle 兼容 PostgreSQL,致力于始终保持 100% 兼容,并作为最新 PostgreSQL 的完全替代品。IvorySQL 增加了一个“compatible_db”开关,允许在 Oracle 和 PostgreSQL 兼容模式之间切换。IvorySQL 的亮点之一是 PL/iSQL 过程语言,支持 Oracle 的 PL/SQL 语法和 Oracle 风格的包(Packages)。"
},
"Latest Release: ": {
"message": "当前版本:"
},
"View Release Notes": {
"message": " 查看发行说明"
},
"Core Advantages": {
"message": "核心优势"
},
"Core Open Source": {
"message": "核心开源"
},
"Open source under Apache 2.0 license with no vendor lock-in, transparent code, and support for custom development.": {
"message": "采用 Apache 2.0 协议开源,无厂商限制,代码透明且支持定制化开发。"
},
"Deep Oracle Compatibility": {
"message": "深度 Oracle 兼容"
},
"Achieves PL/SQL syntax compatibility through PL/iSQL and ivorysql_ora plugin, supporting smooth Oracle migrations.": {
"message": "通过 PL/iSQL 过程语言和 ivorysql_ora 插件实现语法兼容,支持平滑迁移。"
},
"Full Platform Compatibility": {
"message": "国产化全平台"
},
"Compatible with mainstream hardware/software and local chip architectures, providing packages for easy deployment.": {
"message": "全面兼容国内外主流软硬件,适配国产芯片架构和操作系统,提供全平台介质包。"
},
"Cloud Native Support": {
"message": "云原生支持"
},
"Container solutions covering mainstream technologies like Docker Compose/Swarm, K8S Operator, and cloud platforms.": {
"message": "涵盖 Docker Compose/Swarm、K8S Operator 及主流云服务平台解决方案。"
},
"Enterprise Grade Support": {
"message": "企业级支持"
},
"Backed by Highgo with solid technical support and verified in real-world enterprise production environments.": {
"message": "由瀚高股份提供技术支持,应用于实际企业案例,确保生产环境稳定可靠。"
},
"Ecosystem Integration": {
"message": "生态融合"
},
"Inherits PostgreSQL's complete SQL support, rock-solid reliability, and a massive global developer ecosystem.": {
"message": "完美继承 PostgreSQL 完整的 SQL 支持、极高的可靠性及庞大生态。"
},
"Wide Scenario Coverage": {
"message": "场景覆盖广"
},
"Supports enterprise DB, LBS applications, data warehousing, web development, and database migrations.": {
"message": "支持企业级数据库、LBS 应用、数据仓库、建站开发、数据库迁移等核心场景。"
},
"Highly Usable": {
"message": "易用性强"
},
"Reduces system management costs with developer-friendly interfaces and rich third-party tool integration.": {
"message": "降低系统管理成本,提供开发者友好接口和丰富的第三方工具集成能力。"
},
"Application Scenarios": {
"message": "应用场景"
},
"Enterprise DB": {
"message": "企业数据库"
},
"For ERP, trading, and financial systems requiring high availability.": {
"message": "适用于 ERP、交易系统、财务系统等高可用场景。"
},
"LBS Applications": {
"message": "LBS 应用"
},
"Supports geospatial queries via PostGIS for location services.": {
"message": "支持地理空间查询,通过 PostGIS 实现位置服务。"
},
"Data Warehouse": {
"message": "数据仓库"
},
"Build analysis platforms using rich data types and calculation power.": {
"message": "利用丰富数据类型和计算能力搭建分析平台。"
},
"Web/App Dev": {
"message": "建站开发"
},
"Enhance efficiency with high-performance database features.": {
"message": "提升 App 效率与扩展性。"
},
"DB Migration": {
"message": "数据库迁移"
},
"Directly migrate Oracle databases to IvorySQL with ease.": {
"message": "支持将 Oracle 数据库直接迁移到 IvorySQL。"
},
"IvorySQL Architecture": {
"message": "IvorySQL 架构"
},
"IvorySQL Ecosystem Full Map": {
"message": "IvorySQL 及周边工具生态全景图"
},
"Compatibility Certification": {
"message": "兼容认证"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ hide_table_of_contents: true
---

import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';

<style>{`
.detail-banner {
Expand Down Expand Up @@ -71,10 +72,10 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
</div>
</div>

<div className="detail-wrapper">
<div className="container detail-wrapper">
<div className="detail-main">
<div className="breadcrumb">
<a href="/news">新闻动态</a> <span>&gt;</span> <span>社区动态</span>
<Link to="/news">新闻动态</Link> <span>&gt;</span> <span>社区动态</span>
</div>

<div className="post-header">
Expand Down
40 changes: 19 additions & 21 deletions i18n/zh-CN/docusaurus-plugin-content-pages/news/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ hide_table_of_contents: true

import { useState, useCallback, useMemo } from 'react';
import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';

export const NewsData = [
{
Expand All @@ -13,7 +14,7 @@ export const NewsData = [
date: "2025-12-18",
category: "product",
categoryLabel: "产品动态",
link: "/zh-cn/news/ivorysql-v5-1-released",
link: "/news/ivorysql-v5-1-released",
img: "/img/news/ivorysql-v5-1-released.png"
},
{
Expand All @@ -22,7 +23,7 @@ export const NewsData = [
date: "2025-11-25",
category: "product",
categoryLabel: "产品动态",
link: "/zh-cn/news/ivorysql-v5-0-released",
link: "/news/ivorysql-v5-0-released",
img: "/img/news/ivorysql-v5-0-released.png"
},
{
Expand All @@ -31,7 +32,7 @@ export const NewsData = [
date: "2025-11-13",
category: "community",
categoryLabel: "社区动态",
link: "/zh-cn/news/ivorysql-ospp-2025",
link: "/news/ivorysql-ospp-2025",
img: "/img/news/ivorysql-ospp-2025.png"
},
{
Expand All @@ -40,7 +41,7 @@ export const NewsData = [
date: "2025-10-20",
category: "community",
categoryLabel: "社区动态",
link: "/zh-cn/news/detail-pg18-contributors",
link: "/news/detail-pg18-contributors",
img: "/img/news/detail-pg18-contributors.png"
},
{
Expand All @@ -49,7 +50,7 @@ export const NewsData = [
date: "2025-09-26",
category: "product",
categoryLabel: "产品动态",
link: "/zh-cn/news/ivorysql-kylin-cert",
link: "/news/ivorysql-kylin-cert",
img: "/img/news/ivorysql-kylin-cert.png"
},
{
Expand All @@ -58,7 +59,7 @@ export const NewsData = [
date: "2025-09-17",
category: "product",
categoryLabel: "产品动态",
link: "/zh-cn/news/ivorysql-deepin-cert",
link: "/news/ivorysql-deepin-cert",
img: "/img/news/ivorysql-deepin-cert.png"
},
{
Expand All @@ -67,7 +68,7 @@ export const NewsData = [
date: "2025-09-12",
category: "product",
categoryLabel: "产品动态",
link: "/zh-cn/news/ivorysql-loongarch-cert",
link: "/news/ivorysql-loongarch-cert",
img: "/img/news/ivorysql-loongarch-cert.png"
},
{
Expand All @@ -76,7 +77,7 @@ export const NewsData = [
date: "2025-09-11",
category: "product",
categoryLabel: "产品动态",
link: "/zh-cn/news/ivorysql-v4-6-released",
link: "/news/ivorysql-v4-6-released",
img: "/img/news/ivorysql-v4-6-released.png"
},
{
Expand All @@ -85,7 +86,7 @@ export const NewsData = [
date: "2025-08-04",
category: "product",
categoryLabel: "产品动态",
link: "/zh-cn/news/ivorysql-navicat",
link: "/news/ivorysql-navicat",
img: "/img/news/ivorysql-navicat.png"
},
{
Expand All @@ -94,7 +95,7 @@ export const NewsData = [
date: "2025-07-15",
category: "community",
categoryLabel: "社区动态",
link: "/zh-cn/news/ivorysql-expert-advisory-committee",
link: "/news/ivorysql-expert-advisory-committee",
img: "/img/news/ivorysql-expert-advisory-committee.png"
},
{
Expand All @@ -103,7 +104,7 @@ export const NewsData = [
date: "2025-06-28",
category: "community",
categoryLabel: "社区动态",
link: "/zh-cn/news/ivorysql-ospp-students",
link: "/news/ivorysql-ospp-students",
img: "/img/news/ivorysql-ospp-students.png"
},
{
Expand All @@ -112,7 +113,7 @@ export const NewsData = [
date: "2025-06-05",
category: "product",
categoryLabel: "产品动态",
link: "/zh-cn/news/ivorysql-v4-5-released",
link: "/news/ivorysql-v4-5-released",
img: "/img/news/ivorysql-v4-5-released.png"
},
{
Expand All @@ -121,7 +122,7 @@ export const NewsData = [
date: "2025-05-07",
category: "community",
categoryLabel: "社区动态",
link: "/zh-cn/news/ivorysql-pku-course",
link: "/news/pku-open-source-course",
img: "/img/news/ivorysql-pku-course.png"
},
{
Expand All @@ -130,7 +131,7 @@ export const NewsData = [
date: "2025-03-14",
category: "community",
categoryLabel: "社区动态",
link: "/zh-cn/news/ivorysql-deepseek-assistant",
link: "/news/ivorysql-deepseek-assistant",
img: "/img/news/ivorysql-deepseek-assistant.png"
},
{
Expand All @@ -139,7 +140,7 @@ export const NewsData = [
date: "2025-03-10",
category: "product",
categoryLabel: "产品动态",
link: "/zh-cn/news/ivorysql-v4-4-released",
link: "/news/ivorysql-v4-4-released",
img: "/img/news/ivorysql-v4-4-released.png"
},
{
Expand All @@ -148,15 +149,15 @@ export const NewsData = [
date: "2025-01-13",
category: "product",
categoryLabel: "产品动态",
link: "/zh-cn/news/ivorysql-v4-2-released",
link: "/news/ivorysql-v4-2-released",
img: "/img/news/ivorysql-v4-2-released.png"
}
];

export const NewsCard = ({ news }) => {
const { title, desc, date, category, categoryLabel, link, img } = news;
return (
<a href={link} className="news-card" target="_blank" rel="noopener noreferrer">
<Link to={link} className="news-card">
<div className="news-img-wrapper">
<img src={useBaseUrl(img)} alt={title} loading="lazy" />
</div>
Expand All @@ -168,7 +169,7 @@ export const NewsCard = ({ news }) => {
</div>
<div className="news-desc">{desc}</div>
</div>
</a>
</Link>
);
};

Expand Down Expand Up @@ -225,12 +226,10 @@ export const NewsList = () => {
.banner-text { position: relative; z-index: 2; max-width: 50%; }
.banner-text h1 { font-size: 3rem; font-weight: bold; margin: 0; color: white !important; }
.banner-text p { font-size: 1.2rem; opacity: 0.9; margin-top: 15px; color: white !important; }

.news-container { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }
.filter-container { display: flex; gap: 12px; margin-bottom: 30px; }
.filter-btn { padding: 10px 24px; border-radius: 30px; border: 1px solid #f0f0f0; background: #fff; color: #666; cursor: pointer; transition: all 0.3s; font-weight: 500; }
.filter-btn.active { background: #7D52F4; color: #fff; border-color: #7D52F4; }

.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-card { display: flex; background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; overflow: hidden; text-decoration: none !important; color: inherit !important; transition: all 0.3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
Expand All @@ -246,7 +245,6 @@ export const NewsList = () => {
.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 50px; }
.pager-btn { padding: 8px 20px; border-radius: 20px; border: 1px solid #7D52F4; color: #7D52F4; background: transparent; cursor: pointer; }
.pager-btn:disabled { color: #ccc; border-color: #eee; cursor: not-allowed; }

@media (max-width: 996px) {
.news-banner { min-height: 240px; padding: 2rem 1.5rem; background-position: bottom center; }
.banner-text { max-width: 100%; text-align: center; margin-bottom: 80px; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ hide_table_of_contents: true
---

import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';

<style>{`
.detail-banner {
Expand Down Expand Up @@ -70,10 +71,10 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
</div>
</div>

<div className="detail-wrapper">
<div className="container detail-wrapper">
<div className="detail-main">
<div className="breadcrumb">
<a href="/news">新闻动态</a> <span>&gt;</span> <span>正文内容</span>
<Link to="/news">新闻动态</Link> <span>&gt;</span> <span>社区动态</span>
</div>

<div className="post-header">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ hide_table_of_contents: true
---

import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';

<style>{`
.detail-banner {
Expand Down Expand Up @@ -73,10 +74,10 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
</div>
</div>

<div className="detail-wrapper">
<div className="container detail-wrapper">
<div className="detail-main">
<div className="breadcrumb">
<a href="/news">新闻动态</a> <span>&gt;</span> <span>正文内容</span>
<Link to="/news">新闻动态</Link> <span>&gt;</span> <span>社区动态</span>
</div>

<div className="post-header">
Expand Down
Loading