Skip to content

Commit

Permalink
Glow up
Browse files Browse the repository at this point in the history
  • Loading branch information
Montoya committed Mar 13, 2024
1 parent 98c30cc commit 8188cae
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 13 deletions.
Binary file added docs/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html>
<head>
<title>Farfeed Snap</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width"/>
<meta property="og:title" content="Farfeed Snap" />
<link rel="stylesheet" href="https://unpkg.com/spectre.css/dist/spectre.min.css">
<style type="text/css">
body {
display:flex;
justify-content:center;
align-items:center;
height:100vh;
background-color:#fff;
}
#page {
width:760px;
}
#screenshot {
float:left;
margin-right:36px;
}
#screenshot img {
border:1px solid #777;
border-radius:12px;
}
h1 {
font-size:1.5rem;
line-height:64px;
padding:0;
margin-bottom:72px;
}
h1 img {
vertical-align:top;
}
h2 {
font-size:1.125rem;
font-weight:bold;
}
#footer {
position:fixed;
width:860px;
bottom:0;
left:50%;
margin-left:-430px;
}
#links {
float:right;
}
</style>
</head>
<body>
<div id="page">
<div id="screenshot">
<img src="screenshot.jpg" width="338" height="594" alt="Screenshot of Farfeed">
</div>
<h1><img src="icon.png" width="64" height="64" alt=""> Farfeed Snap</h1>
<h2>Follow the crowd.</h2>
<p>Get the latest casts from the /metamask channel right inside of MetaMask!</p>
<p>After installing the Snap, open the Snaps menu in MetaMask and click on Farfeed to view the feed.</p>
</div>
<div id="footer">
Powered by MetaMask Snaps
<div id="links">
<a href="https://github.com/Montoya/farfeed-snap">GitHub</a>
</div>
</div>
</body>
</html>
Binary file added docs/screenshot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 4 additions & 10 deletions packages/snap/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# TypeScript Example Snap
# Farfeed Snap

This snap demonstrates how to develop a snap with TypeScript. It is a simple
snap that displays a confirmation dialog when the `hello` JSON-RPC method is
called.
View the latest casts from the `/metamask` channel on Warpcast inside of a
MetaMask Snap!

## Testing

The snap comes with some basic tests, to demonstrate how to write tests for
snaps. To test the snap, run `yarn test` in this directory. This will use
[`@metamask/snaps-jest`](https://github.com/MetaMask/snaps/tree/main/packages/snaps-jest)
to run the tests in `src/index.test.ts`.
Learn more and install at https://montoya.github.io/farfeed-snap/
2 changes: 1 addition & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "farfeed-snap",
"version": "0.1.0",
"version": "0.1.1",
"description": "Your Farcaster feed inside MetaMask.",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.1.0",
"version": "0.1.1",
"description": "Your Farcaster feed inside MetaMask.",
"proposedName": "FarFeed",
"repository": {
"type": "git",
"url": "https://github.com/Montoya/farfeed-snap.git"
},
"source": {
"shasum": "yGSBLV6N0y+KB5a2nIeaoDdbtsRr+AKQUi5N4NgvPDU=",
"shasum": "cB5Np7BRDD1WQgOL8lLJ3+fCAkiIJMHDU13kWvLiZ38=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down

0 comments on commit 8188cae

Please sign in to comment.