Skip to content

Commit

Permalink
landing pages
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Jul 26, 2023
1 parent cfee297 commit 9c64a13
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 140 deletions.
3 changes: 3 additions & 0 deletions pages/concepts.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# concepts landing

## hu
5 changes: 1 addition & 4 deletions pages/concepts/_meta.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"index" : "Index",
"agents" : "Agents",
"search" : "Search",
"ledger" : "Ledger"
"agents" : "Agents"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# μAgents Framework: Introduction
# μAgents

## Introduction

The μAgents (micro-Agents) project is a lightweight framework designed to facilitate the development of decentralized agents. μAgents are autonomous entities which interact, negotiate, and collaborate with other agents in a decentralized environment. μAgents provides developers with the tools and resources to create intelligent and self-governing systems that can efficiently operate across different fields and industries.


5 changes: 0 additions & 5 deletions pages/concepts/agents/_meta.json

This file was deleted.

Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Why μAgents
## rework this to be a reasons why we developed this, not why you should. Show our passion for this, why we think this is world changing.

## Why μAgents

Here are a few of the reasons to build with μAgents:

Expand Down
129 changes: 1 addition & 128 deletions pages/example/apiexample.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,137 +89,10 @@ function Counter() {
</Tabs>


<Section>
## code next to var explanantions


<div className="flex">
<Properties>
<Property name="id" type="string">
Unique identifier for the message.
</Property>
<Property name="conversation_id" type="string">
Unique identifier for the conversation the message belongs to.
</Property>
<Property name="contact" type="object">
The contact object for the contact who sent the message.
</Property>
<Property name="message" type="string">
The message content.
</Property>
<Property name="reactions" type="array">
An array of reaction objects associated with the message.
</Property>
<Property name="attachments" type="array">
An array of attachment objects associated with the message.
</Property>
<Property name="read_at" type="timestamp">
Timestamp of when the message was read.
</Property>
<Property name="created_at" type="timestamp">
Timestamp of when the message was created.
</Property>
<Property name="updated_at" type="timestamp">
Timestamp of when the message was last updated.
</Property>
</Properties>

<Tabs>
<Tab heading="python">
```python copy
def create_access_token(user: User, org: Organisation, now: Timestamp) -> str:
"iat": now.datetime,
"role": user.role,
"user": str(user.username),
"org": str(org.organisation_id) if org else None,
"ogn": str(org.name) if org else None,
"rft": refreshable.timestamp,
"exp": expires.datetime
````

</Tab>

<Tab heading="js">
```js /button/ /useState/ copy
import {useState} from 'react'

function Counter() {
const [count, setCount] = useState(0)
return <button onClick={() => setCount(count + 1)}>{count}</button>
}
```
</Tab>
</Tabs>

</div>

</Section>

<Section>
## code next to vars with top and left hand explainer


<div className="pb-4">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>


<Row>
<Col>

<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>

### parameters
<Properties>
<Property name="id" type="string">
Unique identifier for the message.
</Property>
<Property name="conversation_id" type="string">
Unique identifier for the conversation the message belongs to.
</Property>
</Properties>

<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown print.
</div>


</Col>
<Col>

<Tabs>
<Tab heading="curl ">
```bash copy
curl https://api.example.com/v1/balance -u sk_test_4eC39HqLyjWDarjtT1zdp7dc:
````

</Tab>

<Tab heading="js">
```js /button/ /useState/ copy
import {useState} from 'react'

function Counter() {
const [count, setCount] = useState(0)
return <button onClick={() => setCount(count + 1)}>{count}</button>
}
```
</Tab>
</Tabs>
</Col>
</Row>

</Section>




<Section>

## <code>GET /api/v1/get_snowflakes</code>
## <CodeHeading><Tag>get</Tag> <code>/api/v1/get_snowflakes</code></CodeHeading>
[//]: # (## <CodeHeading><Tag>get</Tag> <code>/api/v1/get_snowflakes</code></CodeHeading>)


<Row>
Expand Down
5 changes: 5 additions & 0 deletions pages/guides.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Guides

## content for landing page of guides

leave at root
2 changes: 1 addition & 1 deletion pages/guides/_meta.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"agents" : "μAgents",
"agents" : "μAgents"
}
3 changes: 3 additions & 0 deletions pages/guides/agents/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Agent Guides

## Content for agents guides landing
Empty file removed pages/guides/index.mdx
Empty file.

0 comments on commit 9c64a13

Please sign in to comment.