Skip to content

Commit 613d513

Browse files
committed
Update next.config.mjs with licensing information and performance optimizations; remove unused search input from Header component; add About section to metadata and create about.mdx file for documentation.
1 parent 1bef733 commit 613d513

File tree

4 files changed

+87
-52
lines changed

4 files changed

+87
-52
lines changed

components/landing/Header.tsx

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -155,57 +155,7 @@ export default function Header() {
155155
</nav>
156156

157157
<div style={{ position: 'relative' }}>
158-
<input
159-
type="text"
160-
placeholder="Search..."
161-
style={{
162-
background: 'rgba(255,255,255,0.1)',
163-
border: '1px solid rgba(255,255,255,0.2)',
164-
borderRadius: 20,
165-
padding: '8px 16px 8px 40px',
166-
color: '#fff',
167-
fontSize: 14,
168-
width: 200,
169-
outline: 'none',
170-
transition: 'all 200ms ease',
171-
}}
172-
onFocus={(e) => {
173-
e.target.style.background = 'rgba(255,255,255,0.15)';
174-
e.target.style.borderColor = 'rgba(255,255,255,0.4)';
175-
}}
176-
onBlur={(e) => {
177-
e.target.style.background = 'rgba(255,255,255,0.1)';
178-
e.target.style.borderColor = 'rgba(255,255,255,0.2)';
179-
}}
180-
onKeyDown={(e) => {
181-
if (e.key === 'Enter') {
182-
// Trigger search functionality
183-
const event = new KeyboardEvent('keydown', {
184-
key: 'k',
185-
metaKey: true,
186-
ctrlKey: true,
187-
});
188-
document.dispatchEvent(event);
189-
}
190-
}}
191-
/>
192-
<svg
193-
style={{
194-
position: 'absolute',
195-
left: 12,
196-
top: '50%',
197-
transform: 'translateY(-50%)',
198-
width: 16,
199-
height: 16,
200-
color: 'rgba(255,255,255,0.6)',
201-
pointerEvents: 'none',
202-
}}
203-
fill="none"
204-
stroke="currentColor"
205-
viewBox="0 0 24 24"
206-
>
207-
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
208-
</svg>
158+
{/* <SearchBar/> */}
209159
</div>
210160
</header>
211161
);

content/_meta.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ export default {
22
index: {
33
title: 'Quick Start',
44
},
5+
about: {
6+
title: 'About',
7+
},
58
installation: {
69
title: 'Installation',
710
},

content/about.mdx

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: About
3+
---
4+
5+
# About ResilientDB & Beacon
6+
7+
ResilientDB is a high‑performance, scalable, and fault‑tolerant blockchain database designed for mission‑critical applications. It focuses on predictable performance, strong consistency, and a modular architecture that makes it practical to build real systems at scale.
8+
9+
Beacon is the documentation and learning hub for the ResilientDB ecosystem. It brings together official docs, ecosystem guides, and interactive examples, and includes an AI assistant to help you get answers quickly.
10+
11+
## 🎯 Our Mission
12+
13+
To provide a flexible and efficient blockchain infrastructure that empowers developers and organizations to build innovative solutions with ease.
14+
15+
## What is ResilientDB?
16+
17+
- High‑throughput, low‑latency blockchain fabric
18+
- Strong consistency and fault tolerance
19+
- Modular components (consensus, storage, networking) with clean interfaces
20+
- Production‑oriented developer experience
21+
22+
## What is Beacon?
23+
24+
- Central home for docs across core and ecosystem projects
25+
- Clear guides, walkthroughs, and best practices
26+
- Interactive playgrounds (TypeScript, Python, terminal‑style demos)
27+
- AI assistant for answers, summaries, and first‑steps checklists
28+
29+
## 👥 The Team & Contributors
30+
31+
We are grateful to everyone contributing to ResilientDB and its ecosystem, including maintainers, researchers, and community contributors.
32+
33+
- Core team and maintainers from the ResilientDB project
34+
- Ecosystem project authors and collaborators
35+
- Community members filing issues, improving docs, and sharing examples
36+
37+
If you’d like to contribute, open an issue or pull request in the relevant repository. Contributions to documentation are especially welcome—small fixes are just as valuable as large guides.
38+
39+
## 🤝 Get Involved
40+
41+
- GitHub: [ResilientEcosystem](https://github.com/ResilientEcosystem)
42+
- Join the discussion: [Email us to request Slack access](mailto:developer@resilientdb.com)
43+
- YouTube: [ExpoLab @ UC Davis](https://www.youtube.com/@ExpoLabUCDavis)
44+
- Website: [resilientdb.apache.org](https://resilientdb.apache.org/)
45+
46+
## 🙏 Acknowledgements
47+
48+
We thank all our contributors and the open‑source community for their support and contributions to the ResilientDB project.
49+
50+
## Useful Links
51+
52+
- ResilientDB website: [resilientdb.com](https://resilientdb.com)
53+
- Beacon (Docs): [beacon.resilientdb.com](https://beacon.resilientdb.com)

next.config.mjs

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
120
import bundleAnalyzer from '@next/bundle-analyzer';
221
import nextra from 'nextra';
322

@@ -23,4 +42,14 @@ export default withNextra(
2342
experimental: {
2443
optimizePackageImports: ['@mantine/core', '@mantine/hooks'],
2544
},
26-
}));
45+
// Performance optimizations
46+
swcMinify: true,
47+
compiler: {
48+
removeConsole: process.env.NODE_ENV === 'production',
49+
},
50+
// Reduce memory usage
51+
onDemandEntries: {
52+
maxInactiveAge: 25 * 1000,
53+
pagesBufferLength: 2,
54+
},
55+
}));

0 commit comments

Comments
 (0)