Skip to content

Commit a116aeb

Browse files
Create .tsx
1 parent 629662e commit a116aeb

1 file changed

Lines changed: 74 additions & 0 deletions

File tree

src/Page/.tsx

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
import React from 'react'
2+
import QRCode from 'qrcode.react'
3+
import styled from 'styled-components'
4+
5+
// Styled container for the payment widget
6+
const PaymentContainer = styled.div`
7+
font-family: Arial, sans-serif;
8+
text-align: center;
9+
padding: 20px;
10+
max-width: 400px;
11+
margin: 30px auto;
12+
border: 1px solid #ddd;
13+
border-radius: 10px;
14+
`
15+
16+
const PaymentTitle = styled.h3`
17+
margin-bottom: 10px;
18+
`
19+
20+
const PaymentAddress = styled.p`
21+
font-weight: bold;
22+
font-size: 14px;
23+
word-break: break-all;
24+
margin: 10px 0;
25+
`
26+
27+
// BTC Payment Widget Component
28+
const PaymentWidget: React.FC = () => {
29+
const btcAddress = '37Xa3AVY4xjVWVdK4sTkEHDXmpqfoUzA22'
30+
const paymentString = `bitcoin:${btcAddress}`
31+
32+
return (
33+
<PaymentContainer>
34+
<PaymentTitle>Support Aura with Bitcoin</PaymentTitle>
35+
<QRCode value={paymentString} size={200} />
36+
<PaymentAddress>{btcAddress}</PaymentAddress>
37+
<p style={{ fontSize: '12px', color: '#666' }}>
38+
Scan this QR code or copy the address to send BTC
39+
</p>
40+
</PaymentContainer>
41+
)
42+
}
43+
44+
// Main Aura Page
45+
function App() {
46+
return (
47+
<div style={{ fontFamily: 'Arial, sans-serif', padding: '20px', textAlign: 'center' }}>
48+
<header>
49+
<h1>Aura — The Unified Knowledge Framework</h1>
50+
<nav style={{ marginBottom: '20px' }}>
51+
<a href="#docs" style={{ margin: '0 10px' }}>Docs</a>
52+
<a href="#extensions" style={{ margin: '0 10px' }}>Extensions</a>
53+
</nav>
54+
</header>
55+
56+
<main>
57+
<h2>One Language. Infinite Knowledge.</h2>
58+
<p>
59+
Aura unifies mathematics, logic, computation, simulation, reasoning, and symbolic
60+
expression into a single extendable ecosystem.
61+
</p>
62+
63+
{/* Bitcoin Payment Widget */}
64+
<PaymentWidget />
65+
</main>
66+
67+
<footer style={{ marginTop: '40px', fontSize: '12px', color: '#666' }}>
68+
© 2026 Aura Project
69+
</footer>
70+
</div>
71+
)
72+
}
73+
74+
export default App

0 commit comments

Comments
 (0)