Skip to content

Commit

Permalink
Ok lookihn
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Feb 16, 2024
1 parent c3a0bb9 commit dd5913a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
13 changes: 13 additions & 0 deletions www/src/components/header.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
import { SITE_DESCRIPTION } from "../config";
---

<div class="flex flex-col">
<div class="flex justify-center items-center">
<img src="/logo.png" class="w-[256]" alt="opx" />
</div>
<div class="flex flex-col">
<h1 class="p-0 m-0">opx</h1>
<p>{SITE_DESCRIPTION}</p>
</div>
</div>
14 changes: 7 additions & 7 deletions www/src/components/index.mdx
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import { SITE_TITLE } from "../config"
import { SITE_TITLE, SITE_DESCRIPTION } from "../config"
import Badges from "../components/badges.astro"
import Header from "../components/header.astro"

![opx logo](/logo.png)
# {SITE_TITLE}
<Header />
<Badges />

Install the `opx` CLI utility with cargo.
Install the `opx` CLI utility with cargo
```
cargo install opx
```

Create an `.env` file in your project and reference a secret from 1Password.
Create an `.env` file in your project and reference a secret from 1Password
```shell
APPLE_ID="op://overlayed/apple_id/credential"
```

Run your application to inject the secrets.
Run your application to inject the secrets
```
opx
```

Example running this [demo application](https://github.com/Hacksore/demo-1pass-secrets).
Example running this [demo application](https://github.com/Hacksore/demo-1pass-secrets)

```
$ opx
Expand Down

0 comments on commit dd5913a

Please sign in to comment.