change name to cozy
This commit is contained in:
parent
7f9905a00c
commit
3e95f853af
6 changed files with 17 additions and 17 deletions
|
@ -14,13 +14,13 @@ This project is built with the following tech
|
|||
1. Clone
|
||||
|
||||
```
|
||||
git clone https://github.com/ayoayco/cozy-reader.git
|
||||
git clone https://github.com/ayoayco/cozy.git
|
||||
```
|
||||
|
||||
2. install dependencies
|
||||
|
||||
```
|
||||
cd cozy-reader
|
||||
cd cozy
|
||||
npm install
|
||||
```
|
||||
|
||||
|
@ -32,7 +32,7 @@ npm start
|
|||
|
||||
## Good first issues
|
||||
|
||||
Go to our [issues page](https://github.com/ayoayco/cozy-reader/issues) to watch out for issues we label as "good first issue" or "help wanted"
|
||||
Go to our [issues page](https://github.com/ayoayco/cozy/issues) to watch out for issues we label as "good first issue" or "help wanted"
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
|
|
12
README.md
12
README.md
|
@ -1,7 +1,7 @@
|
|||
<h1 align="center">Cozy Reader 🧸</h1>
|
||||
<h1 align="center">Cozy 🧸</h1>
|
||||
<p align="center">
|
||||
<a href="https://github.com/ayoayco/cozy-reader">
|
||||
<img alt="Last Commit" src="https://img.shields.io/github/last-commit/ayoayco/cozy-reader?logo=github" />
|
||||
<a href="https://github.com/ayoayco/cozy">
|
||||
<img alt="Last Commit" src="https://img.shields.io/github/last-commit/ayoayco/cozy?logo=github" />
|
||||
</a><br />
|
||||
Remove distractions. Save your favorites. Get useful insights.<br />
|
||||
Cozy is your modern-day reading assistant.
|
||||
|
@ -20,21 +20,21 @@ Cozy is your modern-day reading assistant.
|
|||
|
||||
**1. Copy, Paste**
|
||||
|
||||
It's simple. When you open an article and want to turn it into a more cozy reading experience, just copy the url and paste it to the [Cozy](https://cozy-reader.netlify.app/) address bar.
|
||||
It's simple. When you open an article and want to turn it into a more cozy reading experience, just copy the url and paste it to the [Cozy](https://cozy.netlify.app/) address bar.
|
||||
|
||||
**2. One-click Bookmark**
|
||||
|
||||
A bookmarklet could run a script to open the current page for you on Cozy. You can create this new bookmark titled 'Get cozy!' and put the following as value for the URL:
|
||||
|
||||
```
|
||||
javascript:(function(){ window.open('https://cozy-reader.netlify.app/?url=%27 + window.location.href, %27_self%27); })();
|
||||
javascript:(function(){ window.open('https://cozy.netlify.app/?url=%27 + window.location.href, %27_self%27); })();
|
||||
```
|
||||
|
||||
This is possible on all major browsers, including Safari on iOS (where I personally use this often). Some screenshots:
|
||||
|
||||
| Firefox | Chrome |
|
||||
| --- | --- |
|
||||
|  |  |
|
||||
|  |  |
|
||||
|
||||
**3. One-click Extension then...**
|
||||
|
||||
|
|
10
package-lock.json
generated
10
package-lock.json
generated
|
@ -1,9 +1,11 @@
|
|||
{
|
||||
"name": "@ayoayco/cozy-reader",
|
||||
"name": "@ayoayco/cozy",
|
||||
"version": "0.0.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"@astro-reactive/form": "^0.8.1",
|
||||
"@astro-reactive/validator": "^0.3.4",
|
||||
|
@ -12,8 +14,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"astro": "^2.4.4"
|
||||
},
|
||||
"version": "0.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@ampproject/remapping": {
|
||||
"version": "2.2.1",
|
||||
|
@ -9714,6 +9715,5 @@
|
|||
"resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",
|
||||
"integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A=="
|
||||
}
|
||||
},
|
||||
"version": "0.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ const form = new FormGroup([
|
|||
value: "Get cozy!",
|
||||
}}
|
||||
/>
|
||||
<a class="repo-link" href="https://github.com/ayoayco/cozy-reader"
|
||||
<a class="repo-link" href="https://github.com/ayoayco/cozy"
|
||||
>Star on GitHub</a
|
||||
>
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@ import "./reset.css";
|
|||
export interface Props {
|
||||
title?: string;
|
||||
}
|
||||
const appTitle = "Cozy Reader";
|
||||
const appTitle = "Cozy 🧸";
|
||||
const { title = "" } = Astro.props;
|
||||
---
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import Post from "../components/post.astro";
|
|||
import Layout from "../layouts/layout.astro";
|
||||
|
||||
// temporary default content while we don't have any good thing to put yet :)
|
||||
const defaultUrl = "https://github.com/ayoayco/cozy-reader";
|
||||
const defaultUrl = "https://github.com/ayoayco/cozy";
|
||||
const params = getParams(Astro.url);
|
||||
const url = params?.url || defaultUrl;
|
||||
let article;
|
||||
|
|
Loading…
Reference in a new issue