mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 06:56:38 -04:00
move some non-post pages to mdx
This commit is contained in:
@ -27,13 +27,7 @@ export default function Page() {
|
||||
<PageTitle>📼 1996.MOV</PageTitle>
|
||||
|
||||
<Content>
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/birthday/birthday.webm",
|
||||
mp4: "/static/birthday/birthday.mp4",
|
||||
}}
|
||||
poster={thumbnail.src}
|
||||
/>
|
||||
<Video src={["/static/birthday/birthday.webm", "/static/birthday/birthday.mp4"]} poster={thumbnail.src} />
|
||||
</Content>
|
||||
</>
|
||||
);
|
||||
|
52
app/cli/page.mdx
Normal file
52
app/cli/page.mdx
Normal file
@ -0,0 +1,52 @@
|
||||
import PageTitle from "../../components/PageTitle";
|
||||
import Content from "../../components/Content";
|
||||
import { metadata as defaultMetadata } from "../layout";
|
||||
|
||||
import featuredImage from "./screenshot.png";
|
||||
|
||||
export const metadata = {
|
||||
title: "CLI",
|
||||
description: "AKA, the most useless Node module ever published, in history, by anyone, ever.",
|
||||
openGraph: {
|
||||
...defaultMetadata.openGraph,
|
||||
title: "CLI",
|
||||
images: [featuredImage.src],
|
||||
url: "/cli",
|
||||
},
|
||||
alternates: {
|
||||
...defaultMetadata.alternates,
|
||||
canonical: "/cli",
|
||||
},
|
||||
};
|
||||
|
||||
<PageTitle>🤖 CLI</PageTitle>
|
||||
|
||||
<Content>
|
||||
|
||||
> The [Jake Jarvis](https://jarv.is/) CLI (aka the most useless Node module ever published, in history, by anyone, ever).
|
||||
|
||||

|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
npx @jakejarvis/cli
|
||||
```
|
||||
|
||||
## Inspired by
|
||||
|
||||
- [@sindresorhus/sindresorhus-cli](https://github.com/sindresorhus/sindresorhus-cli)
|
||||
- [@yg/ygcodes](https://github.com/yg/ygcodes)
|
||||
|
||||
## Built with
|
||||
|
||||
- [ink](https://github.com/vadimdemedes/ink) - React for interactive command-line apps
|
||||
- [meow](https://github.com/sindresorhus/meow) - CLI helper
|
||||
|
||||
[View source on GitHub.](https://github.com/jakejarvis/jakejarvis/tree/main/cli)
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Jake Jarvis](https://jarv.is/), [Sindre Sorhus](https://sindresorhus.com/)
|
||||
|
||||
</Content>
|
@ -1,77 +0,0 @@
|
||||
import Content from "../../components/Content";
|
||||
import PageTitle from "../../components/PageTitle";
|
||||
import Link from "../../components/Link";
|
||||
import Image from "../../components/Image";
|
||||
import Blockquote from "../../components/Blockquote";
|
||||
import CodeBlock from "../../components/CodeBlock";
|
||||
import { H2 } from "../../components/Heading";
|
||||
import { UnorderedList, ListItem } from "../../components/List";
|
||||
import { metadata as defaultMetadata } from "../layout";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
import cliImg from "./images/screenshot.png";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "CLI",
|
||||
description: "AKA, the most useless Node module ever published, in history, by anyone, ever.",
|
||||
openGraph: {
|
||||
...defaultMetadata.openGraph,
|
||||
title: "CLI",
|
||||
images: [cliImg.src],
|
||||
url: "/cli",
|
||||
},
|
||||
alternates: {
|
||||
...defaultMetadata.alternates,
|
||||
canonical: "/cli",
|
||||
},
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<PageTitle>🤖 CLI</PageTitle>
|
||||
|
||||
<Content>
|
||||
<Blockquote>
|
||||
The <Link href="/">Jake Jarvis</Link> CLI (aka the most useless Node module ever published, in history, by
|
||||
anyone, ever).
|
||||
</Blockquote>
|
||||
|
||||
<Link href="https://www.npmjs.com/package/@jakejarvis/cli">
|
||||
<Image src={cliImg} alt="Terminal Screenshot" priority />
|
||||
</Link>
|
||||
|
||||
<H2 id="usage">Usage</H2>
|
||||
<CodeBlock withCopyButton>npx @jakejarvis/cli</CodeBlock>
|
||||
|
||||
<H2 id="inspired-by">Inspired by</H2>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://github.com/sindresorhus/sindresorhus-cli">@sindresorhus/sindresorhus-cli</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://github.com/yg/ygcodes">@yg/ygcodes</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<H2 id="built-with">Built with</H2>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://github.com/vadimdemedes/ink">ink</Link> - React for interactive command-line apps
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://github.com/sindresorhus/meow">meow</Link> - CLI helper
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
<p>
|
||||
<Link href="https://github.com/jakejarvis/jakejarvis/tree/main/cli">View source on GitHub.</Link>
|
||||
</p>
|
||||
|
||||
<H2 id="license">License</H2>
|
||||
<p>
|
||||
MIT © <Link href="/">Jake Jarvis</Link>, <Link href="https://sindresorhus.com">Sindre Sorhus</Link>
|
||||
</p>
|
||||
</Content>
|
||||
</>
|
||||
);
|
||||
}
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 110 KiB |
@ -1,5 +1,5 @@
|
||||
body {
|
||||
font-family: var(--fonts-sans);
|
||||
font-family: var(--fonts-sans) !important;
|
||||
background-color: var(--colors-backgroundInner);
|
||||
transition: background var(--transitions-fade);
|
||||
}
|
||||
@ -8,7 +8,7 @@ code,
|
||||
kbd,
|
||||
samp,
|
||||
pre {
|
||||
font-family: var(--fonts-mono);
|
||||
font-family: var(--fonts-mono) !important;
|
||||
}
|
||||
|
||||
/* https://css-tricks.com/almanac/rules/m/media/prefers-reduced-motion/ */
|
||||
|
@ -29,11 +29,11 @@ export default function Page() {
|
||||
|
||||
<Content>
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/hillary/convention-720p.webm",
|
||||
mp4: "/static/hillary/convention-720p.mp4",
|
||||
vtt: "/static/hillary/subs.en.vtt",
|
||||
}}
|
||||
src={[
|
||||
"/static/hillary/convention-720p.webm",
|
||||
"/static/hillary/convention-720p.mp4",
|
||||
"/static/hillary/subs.en.vtt",
|
||||
]}
|
||||
poster={thumbnail.src}
|
||||
/>
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
import clsx from "clsx";
|
||||
import { Analytics } from "@vercel/analytics/next";
|
||||
import { ThemeProvider } from "../contexts/ThemeContext";
|
||||
import Layout from "../components/Layout";
|
||||
import Header from "../components/Header";
|
||||
import Footer from "../components/Footer";
|
||||
import { SkipToContentLink, SkipToContentTarget } from "../components/SkipToContent";
|
||||
import config from "../lib/config";
|
||||
import type { Metadata } from "next";
|
||||
import type { Person, WithContext } from "schema-dts";
|
||||
@ -11,6 +13,8 @@ import "modern-normalize/modern-normalize.css"; // https://github.com/sindresorh
|
||||
import "./themes.css";
|
||||
import "./global.css";
|
||||
|
||||
import styles from "./layout.module.css";
|
||||
|
||||
import meJpg from "./me.jpg";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@ -88,7 +92,18 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
||||
|
||||
<body className={clsx(GeistMono.variable, GeistSans.variable)}>
|
||||
<ThemeProvider>
|
||||
<Layout>{children}</Layout>
|
||||
<SkipToContentLink />
|
||||
|
||||
<div className={styles.flex}>
|
||||
<Header />
|
||||
|
||||
<main className={styles.default}>
|
||||
<SkipToContentTarget />
|
||||
<div className={styles.container}>{children}</div>
|
||||
</main>
|
||||
|
||||
<Footer />
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
|
||||
<Analytics />
|
||||
|
@ -29,11 +29,7 @@ export default function Page() {
|
||||
|
||||
<Content>
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/leo/leo.webm",
|
||||
mp4: "/static/leo/leo.mp4",
|
||||
vtt: "/static/leo/subs.en.vtt",
|
||||
}}
|
||||
src={["/static/leo/leo.webm", "/static/leo/leo.mp4", "/static/leo/subs.en.vtt"]}
|
||||
poster={thumbnail.src}
|
||||
/>
|
||||
|
||||
|
200
app/license/page.mdx
Normal file
200
app/license/page.mdx
Normal file
@ -0,0 +1,200 @@
|
||||
import PageTitle from "../../components/PageTitle";
|
||||
import Content from "../../components/Content";
|
||||
import { metadata as defaultMetadata } from "../layout";
|
||||
|
||||
export const metadata = {
|
||||
title: "License",
|
||||
openGraph: {
|
||||
...defaultMetadata.openGraph,
|
||||
title: "License",
|
||||
url: "/license",
|
||||
},
|
||||
alternates: {
|
||||
...defaultMetadata.alternates,
|
||||
canonical: "/license",
|
||||
},
|
||||
};
|
||||
|
||||
<PageTitle>📜 License</PageTitle>
|
||||
|
||||
<Content>
|
||||
|
||||
Unless otherwise noted, content on this website is published under the [**Creative Commons Attribution 4.0 International Public License**](https://creativecommons.org/licenses/by/4.0/) (CC-BY-4.0), which means that you can copy, redistribute, remix, transform, and build upon the content for any purpose as long as you give appropriate credit (such as a hyperlink to the original URL).
|
||||
|
||||
The [full license](https://creativecommons.org/licenses/by/4.0/legalcode) is re-printed below.
|
||||
|
||||
---
|
||||
|
||||
## Creative Commons Attribution 4.0 International Public License
|
||||
|
||||
> Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.
|
||||
|
||||
### Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
|
||||
|
||||
- **Considerations for licensors:** Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. [More considerations for licensors](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors).
|
||||
|
||||
- **Considerations for the public:** By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. [More considerations for the public](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees).
|
||||
|
||||
### Licensed Rights
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
|
||||
|
||||
### Section 1 – Definitions.
|
||||
|
||||
a. **Adapted Material** means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
|
||||
|
||||
b. **Adapter's License** means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. **BY-SA Compatible License** means a license listed at [creativecommons.org/compatiblelicenses](http://creativecommons.org/compatiblelicenses), approved by Creative Commons as essentially the equivalent of this Public License.
|
||||
|
||||
d. **Copyright and Similar Rights** means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
|
||||
|
||||
e. **Effective Technological Measures** means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
|
||||
|
||||
f. **Exceptions and Limitations** means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
|
||||
|
||||
g. **License Elements** means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike.
|
||||
|
||||
h. **Licensed Material** means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
|
||||
|
||||
i. **Licensed Rights** means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
j. **Licensor** means the individual(s) or entity(ies) granting rights under this Public License.
|
||||
|
||||
k. **Share** means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
|
||||
|
||||
l. **Sui Generis Database Rights** means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
|
||||
|
||||
m. **You** means the individual or entity exercising the Licensed Rights under this Public License. **Your** has a corresponding meaning.
|
||||
|
||||
### Section 2 – Scope.
|
||||
|
||||
a. **_License grant._**
|
||||
|
||||
1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
A. reproduce and Share the Licensed Material, in whole or in part; and
|
||||
|
||||
B. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. **Exceptions and Limitations.** For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
|
||||
|
||||
3. **Term.** The term of this Public License is specified in Section 6(a).
|
||||
|
||||
4. **Media and formats; technical modifications allowed.** The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
|
||||
|
||||
5. **Downstream recipients.**
|
||||
|
||||
A. **Offer from the Licensor – Licensed Material.** Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
|
||||
|
||||
B. **Additional offer from the Licensor – Adapted Material.** Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply.
|
||||
|
||||
C. **No downstream restrictions.** You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
|
||||
|
||||
6. **No endorsement.** Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. **_Other rights._**
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
|
||||
|
||||
### Section 3 – License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
|
||||
|
||||
a. **_Attribution._**
|
||||
|
||||
1. If You Share the Licensed Material (including in modified form), You must:
|
||||
|
||||
A. retain the following if it is supplied by the Licensor with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
||||
|
||||
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
|
||||
|
||||
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
|
||||
|
||||
b. **_ShareAlike._**
|
||||
|
||||
In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
|
||||
|
||||
1. The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License.
|
||||
|
||||
2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
|
||||
|
||||
3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
|
||||
|
||||
### Section 4 – Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
|
||||
|
||||
### Section 5 – Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. **Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.**
|
||||
|
||||
b. **To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.**
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
|
||||
|
||||
### Section 6 – Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
||||
|
||||
### Section 7 – Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
|
||||
|
||||
### Section 8 – Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
|
||||
|
||||
> Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the [_CC0 Public Domain Dedication_](https://creativecommons.org/publicdomain/zero/1.0/legalcode). Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
|
||||
>
|
||||
> Creative Commons may be contacted at [creativecommons.org](https://creativecommons.org/).
|
||||
|
||||
</Content>
|
@ -1,477 +0,0 @@
|
||||
import Content from "../../components/Content";
|
||||
import PageTitle from "../../components/PageTitle";
|
||||
import Link from "../../components/Link";
|
||||
import HorizontalRule from "../../components/HorizontalRule";
|
||||
import Blockquote from "../../components/Blockquote";
|
||||
import { H2, H3 } from "../../components/Heading";
|
||||
import { UnorderedList, OrderedList, ListItem } from "../../components/List";
|
||||
import { metadata as defaultMetadata } from "../layout";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "License",
|
||||
openGraph: {
|
||||
...defaultMetadata.openGraph,
|
||||
title: "License",
|
||||
url: "/license",
|
||||
},
|
||||
alternates: {
|
||||
...defaultMetadata.alternates,
|
||||
canonical: "/license",
|
||||
},
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<PageTitle>📜 License</PageTitle>
|
||||
|
||||
<Content>
|
||||
<p>
|
||||
Unless otherwise noted, content on this website is published under the{" "}
|
||||
<Link href="https://creativecommons.org/licenses/by/4.0/">
|
||||
<strong>Creative Commons Attribution 4.0 International Public License</strong>
|
||||
</Link>{" "}
|
||||
(CC-BY-4.0), which means that you can copy, redistribute, remix, transform, and build upon the content for any
|
||||
purpose as long as you give appropriate credit (such as a hyperlink to the original URL).
|
||||
</p>
|
||||
<p>
|
||||
The <Link href="https://creativecommons.org/licenses/by/4.0/legalcode">full license</Link> is re-printed
|
||||
below.
|
||||
</p>
|
||||
|
||||
<HorizontalRule />
|
||||
|
||||
<H2 id="full-text">Creative Commons Attribution 4.0 International Public License</H2>
|
||||
|
||||
<p style={{ textAlign: "center", lineHeight: 0 }}>
|
||||
<Link href="https://creativecommons.org/licenses/by/4.0/" title="Creative Commons Attribution 4.0" plain>
|
||||
<svg width="120" height="42">
|
||||
<path d="M3.1.5l113.4.2c1.6 0 3-.2 3 3.2l-.1 37.3H.3V3.7C.3 2.1.4.5 3 .5z" fill="#aab2ab"></path>
|
||||
<path d="M117.8 0H2.2C1 0 0 1 0 2.2v39.3c0 .3.2.5.5.5h119c.3 0 .5-.2.5-.5V2.2c0-1.2-1-2.2-2.2-2.2zM2.2 1h115.6c.6 0 1.2.6 1.2 1.2v27.3H36.2a17.8 17.8 0 01-31.1 0H1V2.2C1 1.6 1.5 1 2.1 1z"></path>
|
||||
<path
|
||||
d="M73.8 32.7l.9.1.6.3.5.5.1.8c0 .3 0 .6-.2.8l-.7.6c.4 0 .7.3 1 .6l.2 1-.1 1-.6.5-.7.4H70.7v-6.6h3.1zm-.2 2.7c.3 0 .5 0 .7-.2l.2-.6v-.3l-.3-.3H74l-.4-.1h-1.4v1.5h1.5zm.1 2.8h.4l.4-.1.2-.3v-.4c0-.4 0-.6-.2-.8l-.8-.2h-1.6v1.8h1.6zM76.5 32.7h1.6l1.6 2.7 1.5-2.7H83l-2.5 4.1v2.6h-1.5v-2.6l-2.4-4zM34.3 19.6a13.6 13.6 0 01-27.3 0 13.6 13.6 0 0127.3 0z"
|
||||
fill="#fff"
|
||||
></path>
|
||||
<path d="M31.7 8.5c3 3 4.5 6.7 4.5 11.1a15.4 15.4 0 01-15.6 15.6 15 15 0 01-11-4.6 15 15 0 01-4.6-11c0-4.3 1.5-8 4.6-11.1 3-3 6.7-4.5 11-4.5 4.4 0 8 1.5 11.1 4.5zm-20 2a12.5 12.5 0 00-3.9 9.1c0 3.5 1.3 6.5 3.8 9s5.6 3.8 9 3.8c3.5 0 6.6-1.3 9.2-3.8a12 12 0 003.6-9c0-3.6-1.2-6.6-3.7-9a12.3 12.3 0 00-9-3.8c-3.6 0-6.6 1.2-9 3.7zm6.7 7.6c-.4-.9-1-1.3-1.8-1.3-1.4 0-2 1-2 2.8 0 1.8.6 2.8 2 2.8 1 0 1.6-.5 2-1.4l1.9 1a4.4 4.4 0 01-4.1 2.5c-1.4 0-2.5-.5-3.4-1.3-.8-.9-1.3-2-1.3-3.6 0-1.5.5-2.7 1.3-3.5 1-1 2-1.3 3.3-1.3 2 0 3.3.7 4.1 2.2l-2 1zm9 0c-.4-.9-1-1.3-1.8-1.3-1.4 0-2 1-2 2.8 0 1.8.6 2.8 2 2.8 1 0 1.6-.5 2-1.4l2 1a4.4 4.4 0 01-4.2 2.5c-1.4 0-2.5-.5-3.3-1.3-.9-.9-1.3-2-1.3-3.6 0-1.5.4-2.7 1.3-3.5.8-1 2-1.3 3.2-1.3 2 0 3.3.7 4.2 2.2l-2.1 1z"></path>
|
||||
<g transform="matrix(.99377 0 0 .99367 -177.7 0)">
|
||||
<circle cx="255.6" cy="15.3" r="10.8" fill="#fff"></circle>
|
||||
<path d="M258.7 12.2c0-.4-.4-.8-.8-.8h-4.7c-.5 0-.8.4-.8.8V17h1.3v5.6h3.6V17h1.4v-4.8z"></path>
|
||||
<circle cx="255.5" cy="9.2" r="1.6"></circle>
|
||||
<path
|
||||
clipRule="evenodd"
|
||||
d="M255.5 3.4c-3.2 0-6 1.1-8.2 3.4A11.4 11.4 0 00244 15c0 3.2 1.1 6 3.4 8.2 2.3 2.3 5 3.4 8.2 3.4 3.2 0 6-1.1 8.4-3.4a11 11 0 003.3-8.2c0-3.3-1.1-6-3.4-8.3-2.2-2.3-5-3.4-8.3-3.4zm0 2.1c2.7 0 5 1 6.8 2.8a9.2 9.2 0 012.8 6.8c0 2.7-1 4.9-2.7 6.7-2 1.9-4.2 2.8-6.8 2.8-2.7 0-5-1-6.8-2.8A9.2 9.2 0 01246 15c0-2.6 1-4.9 2.8-6.8a9 9 0 016.8-2.8z"
|
||||
fillRule="evenodd"
|
||||
></path>
|
||||
</g>
|
||||
</svg>
|
||||
</Link>
|
||||
</p>
|
||||
|
||||
<Blockquote>
|
||||
<p>
|
||||
<em>
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or
|
||||
legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other
|
||||
relationship. Creative Commons makes its licenses and related information available on an "as-is" basis.
|
||||
Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and
|
||||
conditions, or any related information. Creative Commons disclaims all liability for damages resulting
|
||||
from their use to the fullest extent possible.
|
||||
</em>
|
||||
</p>
|
||||
</Blockquote>
|
||||
|
||||
<H3>Using Creative Commons Public Licenses</H3>
|
||||
|
||||
<p>
|
||||
Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights
|
||||
holders may use to share original works of authorship and other material subject to copyright and certain
|
||||
other rights specified in the public license below. The following considerations are for informational
|
||||
purposes only, are not exhaustive, and do not form part of our licenses.
|
||||
</p>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<p>
|
||||
<strong>Considerations for licensors:</strong> Our public licenses are intended for use by those
|
||||
authorized to give the public permission to use material in ways otherwise restricted by copyright and
|
||||
certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and
|
||||
conditions of the license they choose before applying it. Licensors should also secure all rights
|
||||
necessary before applying our licenses so that the public can reuse the material as expected. Licensors
|
||||
should clearly mark any material not subject to the license. This includes other CC-licensed material, or
|
||||
material used under an exception or limitation to copyright.{" "}
|
||||
<Link href="https://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors">
|
||||
More considerations for licensors
|
||||
</Link>
|
||||
.
|
||||
</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>
|
||||
<strong>Considerations for the public:</strong> By using one of our public licenses, a licensor grants the
|
||||
public permission to use the licensed material under specified terms and conditions. If the licensor's
|
||||
permission is not necessary for any reason–for example, because of any applicable exception or limitation
|
||||
to copyright–then that use is not regulated by the license. Our licenses grant only permissions under
|
||||
copyright and certain other rights that a licensor has authority to grant. Use of the licensed material
|
||||
may still be restricted for other reasons, including because others have copyright or other rights in the
|
||||
material. A licensor may make special requests, such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to respect those requests where reasonable.{" "}
|
||||
<Link href="https://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees">
|
||||
More considerations for the public
|
||||
</Link>
|
||||
.
|
||||
</p>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<H3>Licensed Rights</H3>
|
||||
|
||||
<p>
|
||||
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and
|
||||
conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the
|
||||
extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in
|
||||
consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in
|
||||
consideration of benefits the Licensor receives from making the Licensed Material available under these terms
|
||||
and conditions.
|
||||
</p>
|
||||
|
||||
<H3>Section 1 – Definitions.</H3>
|
||||
|
||||
<p>
|
||||
a. <strong>Adapted Material</strong> means material subject to Copyright and Similar Rights that is derived
|
||||
from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged,
|
||||
transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights
|
||||
held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work,
|
||||
performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in
|
||||
timed relation with a moving image.
|
||||
</p>
|
||||
<p>
|
||||
b. <strong>Adapter's License</strong> means the license You apply to Your Copyright and Similar Rights in Your
|
||||
contributions to Adapted Material in accordance with the terms and conditions of this Public License.
|
||||
</p>
|
||||
<p>
|
||||
c. <strong>Copyright and Similar Rights</strong> means copyright and/or similar rights closely related to
|
||||
copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the
|
||||
rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
|
||||
</p>
|
||||
<p>
|
||||
d. <strong>Effective Technological Measures</strong> means those measures that, in the absence of proper
|
||||
authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international agreements.
|
||||
</p>
|
||||
<p>
|
||||
e. <strong>Exceptions and Limitations</strong> means fair use, fair dealing, and/or any other exception or
|
||||
limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
|
||||
</p>
|
||||
<p>
|
||||
f. <strong>Licensed Material</strong> means the artistic or literary work, database, or other material to
|
||||
which the Licensor applied this Public License.
|
||||
</p>
|
||||
<p>
|
||||
g. <strong>Licensed Rights</strong> means the rights granted to You subject to the terms and conditions of
|
||||
this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
</p>
|
||||
<p>
|
||||
h. <strong>Licensor</strong> means the individual(s) or entity(ies) granting rights under this Public License.
|
||||
</p>
|
||||
<p>
|
||||
i. <strong>Share</strong> means to provide material to the public by any means or process that requires
|
||||
permission under the Licensed Rights, such as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material available to the public including in ways
|
||||
that members of the public may access the material from a place and at a time individually chosen by them.
|
||||
</p>
|
||||
<p>
|
||||
j. <strong>Sui Generis Database Rights</strong> means rights other than copyright resulting from Directive
|
||||
96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
|
||||
</p>
|
||||
<p>
|
||||
k. <strong>You</strong> means the individual or entity exercising the Licensed Rights under this Public
|
||||
License. <strong>Your</strong> has a corresponding meaning.
|
||||
</p>
|
||||
|
||||
<H3>Section 2 – Scope.</H3>
|
||||
|
||||
<p>
|
||||
a.{" "}
|
||||
<em>
|
||||
<strong>License grant.</strong>
|
||||
</em>
|
||||
</p>
|
||||
<OrderedList>
|
||||
<ListItem>
|
||||
<p>
|
||||
Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide,
|
||||
royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the
|
||||
Licensed Material to:
|
||||
</p>
|
||||
<p>A. reproduce and Share the Licensed Material, in whole or in part; and</p>
|
||||
<p>B. produce, reproduce, and Share Adapted Material.</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>
|
||||
<strong>Exceptions and Limitations.</strong> For the avoidance of doubt, where Exceptions and Limitations
|
||||
apply to Your use, this Public License does not apply, and You do not need to comply with its terms and
|
||||
conditions.
|
||||
</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>
|
||||
<strong>Term.</strong> The term of this Public License is specified in Section 6(a).
|
||||
</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>
|
||||
<strong>Media and formats; technical modifications allowed.</strong> The Licensor authorizes You to
|
||||
exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make
|
||||
technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications necessary to exercise the Licensed Rights,
|
||||
including technical modifications necessary to circumvent Effective Technological Measures. For purposes
|
||||
of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces
|
||||
Adapted Material.
|
||||
</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>
|
||||
<strong>Downstream recipients.</strong>
|
||||
</p>
|
||||
<p>
|
||||
A. <strong>Offer from the Licensor – Licensed Material.</strong> Every recipient of the Licensed Material
|
||||
automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and
|
||||
conditions of this Public License.
|
||||
</p>
|
||||
<p>
|
||||
B. <strong>No downstream restrictions.</strong> You may not offer or impose any additional or different
|
||||
terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing
|
||||
so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
|
||||
</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>
|
||||
<strong>No endorsement.</strong> Nothing in this Public License constitutes or may be construed as
|
||||
permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with,
|
||||
or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive
|
||||
attribution as provided in Section 3(a)(1)(A)(i).
|
||||
</p>
|
||||
</ListItem>
|
||||
</OrderedList>
|
||||
<p>
|
||||
b.{" "}
|
||||
<em>
|
||||
<strong>Other rights.</strong>
|
||||
</em>
|
||||
</p>
|
||||
<OrderedList>
|
||||
<ListItem>
|
||||
<p>
|
||||
Moral rights, such as the right of integrity, are not licensed under this Public License, nor are
|
||||
publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor
|
||||
waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to
|
||||
allow You to exercise the Licensed Rights, but not otherwise.
|
||||
</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>Patent and trademark rights are not licensed under this Public License.</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>
|
||||
To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of
|
||||
the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable
|
||||
statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to
|
||||
collect such royalties.
|
||||
</p>
|
||||
</ListItem>
|
||||
</OrderedList>
|
||||
|
||||
<H3>Section 3 – License Conditions.</H3>
|
||||
|
||||
<p>Your exercise of the Licensed Rights is expressly made subject to the following conditions.</p>
|
||||
<p>
|
||||
a.{" "}
|
||||
<em>
|
||||
<strong>Attribution.</strong>
|
||||
</em>
|
||||
</p>
|
||||
<OrderedList>
|
||||
<ListItem>
|
||||
<p>If You Share the Licensed Material (including in modified form), You must:</p>
|
||||
<p>A. retain the following if it is supplied by the Licensor with the Licensed Material:</p>
|
||||
<p>
|
||||
i. identification of the creator(s) of the Licensed Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
|
||||
</p>
|
||||
<p>ii. a copyright notice;</p>
|
||||
<p>iii. a notice that refers to this Public License;</p>
|
||||
<p>iv. a notice that refers to the disclaimer of warranties;</p>
|
||||
<p>v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;</p>
|
||||
<p>
|
||||
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications;
|
||||
and
|
||||
</p>
|
||||
<p>
|
||||
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the
|
||||
URI or hyperlink to, this Public License.
|
||||
</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>
|
||||
You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and
|
||||
context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the
|
||||
conditions by providing a URI or hyperlink to a resource that includes the required information.
|
||||
</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>
|
||||
If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the
|
||||
extent reasonably practicable.
|
||||
</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>
|
||||
If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of
|
||||
the Adapted Material from complying with this Public License.
|
||||
</p>
|
||||
</ListItem>
|
||||
</OrderedList>
|
||||
|
||||
<H3>Section 4 – Sui Generis Database Rights.</H3>
|
||||
|
||||
<p>
|
||||
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
|
||||
</p>
|
||||
<p>
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share
|
||||
all or a substantial portion of the contents of the database;
|
||||
</p>
|
||||
<p>
|
||||
b. if You include all or a substantial portion of the database contents in a database in which You have Sui
|
||||
Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its
|
||||
individual contents) is Adapted Material; and
|
||||
</p>
|
||||
<p>
|
||||
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the
|
||||
contents of the database.
|
||||
</p>
|
||||
<p>
|
||||
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public
|
||||
License where the Licensed Rights include other Copyright and Similar Rights.
|
||||
</p>
|
||||
|
||||
<H3>Section 5 – Disclaimer of Warranties and Limitation of Liability.</H3>
|
||||
|
||||
<p>
|
||||
a.{" "}
|
||||
<strong>
|
||||
Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the
|
||||
Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning
|
||||
the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation,
|
||||
warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent
|
||||
or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable.
|
||||
Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
|
||||
</strong>
|
||||
</p>
|
||||
<p>
|
||||
b.{" "}
|
||||
<strong>
|
||||
To the extent possible, in no event will the Licensor be liable to You on any legal theory (including,
|
||||
without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential,
|
||||
punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use
|
||||
of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs,
|
||||
expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may
|
||||
not apply to You.
|
||||
</strong>
|
||||
</p>
|
||||
<p>
|
||||
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner
|
||||
that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
|
||||
</p>
|
||||
|
||||
<H3>Section 6 – Term and Termination.</H3>
|
||||
|
||||
<p>
|
||||
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You
|
||||
fail to comply with this Public License, then Your rights under this Public License terminate automatically.
|
||||
</p>
|
||||
<p>b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:</p>
|
||||
<OrderedList>
|
||||
<ListItem>
|
||||
<p>
|
||||
automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery
|
||||
of the violation; or
|
||||
</p>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<p>upon express reinstatement by the Licensor.</p>
|
||||
</ListItem>
|
||||
</OrderedList>
|
||||
<p>
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies
|
||||
for Your violations of this Public License.
|
||||
</p>
|
||||
<p>
|
||||
c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or
|
||||
conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this
|
||||
Public License.
|
||||
</p>
|
||||
<p>d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.</p>
|
||||
|
||||
<H3>Section 7 – Other Terms and Conditions.</H3>
|
||||
|
||||
<p>
|
||||
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You
|
||||
unless expressly agreed.
|
||||
</p>
|
||||
<p>
|
||||
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are
|
||||
separate from and independent of the terms and conditions of this Public License.
|
||||
</p>
|
||||
|
||||
<H3>Section 8 – Interpretation.</H3>
|
||||
|
||||
<p>
|
||||
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit,
|
||||
restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without
|
||||
permission under this Public License.
|
||||
</p>
|
||||
<p>
|
||||
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be
|
||||
automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be
|
||||
reformed, it shall be severed from this Public License without affecting the enforceability of the remaining
|
||||
terms and conditions.
|
||||
</p>
|
||||
<p>
|
||||
c. No term or condition of this Public License will be waived and no failure to comply consented to unless
|
||||
expressly agreed to by the Licensor.
|
||||
</p>
|
||||
<p>
|
||||
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any
|
||||
privileges and immunities that apply to the Licensor or You, including from the legal processes of any
|
||||
jurisdiction or authority.
|
||||
</p>
|
||||
|
||||
<Blockquote>
|
||||
<p>
|
||||
Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply
|
||||
one of its public licenses to material it publishes and in those instances will be considered the
|
||||
"Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the{" "}
|
||||
<Link href="https://creativecommons.org/publicdomain/zero/1.0/legalcode">
|
||||
<em>CC0 Public Domain Dedication</em>
|
||||
</Link>
|
||||
. Except for the limited purpose of indicating that material is shared under a Creative Commons public
|
||||
license or as otherwise permitted by the Creative Commons policies published at{" "}
|
||||
<Link href="https://creativecommons.org/policies">creativecommons.org/policies</Link>, Creative Commons does
|
||||
not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons
|
||||
without its prior written consent including, without limitation, in connection with any unauthorized
|
||||
modifications to any of its public licenses or any other arrangements, understandings, or agreements
|
||||
concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
</p>
|
||||
<p>
|
||||
Creative Commons may be contacted at <Link href="https://creativecommons.org/">creativecommons.org</Link>.
|
||||
</p>
|
||||
</Blockquote>
|
||||
</Content>
|
||||
</>
|
||||
);
|
||||
}
|
@ -4,16 +4,18 @@ import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "404 Not Found",
|
||||
description: null,
|
||||
openGraph: {},
|
||||
alternates: {
|
||||
canonical: null,
|
||||
},
|
||||
};
|
||||
|
||||
export default async function Page() {
|
||||
return (
|
||||
<div style={{ textAlign: "center" }}>
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/not-found/angry-panda.webm",
|
||||
mp4: "/static/not-found/angry-panda.mp4",
|
||||
}}
|
||||
src={["/static/not-found/angry-panda.webm", "/static/not-found/angry-panda.mp4"]}
|
||||
autoplay
|
||||
responsive={false}
|
||||
style={{
|
||||
|
@ -59,6 +59,13 @@
|
||||
color: var(--colors-text) !important;
|
||||
}
|
||||
|
||||
.comments {
|
||||
margin-top: 2em;
|
||||
padding-top: 2em;
|
||||
border-top: 2px solid var(--colors-light);
|
||||
min-height: 360px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.title {
|
||||
font-size: 1.8em;
|
||||
|
@ -150,7 +150,7 @@ export default async function Page({ params }: { params: Promise<{ slug: string
|
||||
</Content>
|
||||
|
||||
{!frontmatter.noComments && (
|
||||
<div id="comments">
|
||||
<div id="comments" className={styles.comments}>
|
||||
<Comments title={frontmatter.title} />
|
||||
</div>
|
||||
)}
|
||||
|
@ -47,11 +47,7 @@ export default async function Page() {
|
||||
<li className={styles.post} key={slug}>
|
||||
<Time date={date} format="MMM D" className={styles.postDate} />
|
||||
<span>
|
||||
<Link
|
||||
href={`/notes/${slug}` as Route}
|
||||
prefetch={null}
|
||||
dangerouslySetInnerHTML={{ __html: htmlTitle || title }}
|
||||
/>
|
||||
<Link href={`/notes/${slug}` as Route} dangerouslySetInnerHTML={{ __html: htmlTitle || title }} />
|
||||
</span>
|
||||
</li>
|
||||
))}
|
||||
@ -63,9 +59,5 @@ export default async function Page() {
|
||||
// grouped posts enter this component ordered chronologically -- we want reverse chronological
|
||||
const reversed = sections.reverse();
|
||||
|
||||
return (
|
||||
<>
|
||||
<Content>{reversed}</Content>
|
||||
</>
|
||||
);
|
||||
return <Content>{reversed}</Content>;
|
||||
}
|
||||
|
@ -18,6 +18,14 @@
|
||||
auto;
|
||||
}
|
||||
|
||||
.iframe {
|
||||
width: 100%;
|
||||
display: block;
|
||||
margin: 0.6em 0;
|
||||
border: 2px solid var(--colors-kindaLight);
|
||||
border-radius: var(--radii-corner);
|
||||
}
|
||||
|
||||
.screenshot,
|
||||
.divider {
|
||||
margin: 1em auto;
|
||||
|
@ -1,9 +1,7 @@
|
||||
// import Layout from "../../components/Layout";
|
||||
import Content from "../../components/Content";
|
||||
import PageTitle from "../../components/PageTitle";
|
||||
import Link from "../../components/Link";
|
||||
import Figure from "../../components/Figure";
|
||||
import IFrame from "../../components/IFrame";
|
||||
import CodeInline from "../../components/CodeInline";
|
||||
import HorizontalRule from "../../components/HorizontalRule";
|
||||
import { metadata as defaultMetadata } from "../layout";
|
||||
@ -100,12 +98,12 @@ export default async function Page() {
|
||||
</p>
|
||||
|
||||
<figure className={styles.screenshot}>
|
||||
<IFrame
|
||||
<iframe
|
||||
src="https://jakejarvis.github.io/my-first-website/"
|
||||
title="My Terrible, Horrible, No Good, Very Bad First Website"
|
||||
height={500}
|
||||
allowScripts
|
||||
style={{ margin: "0.6em 0" }}
|
||||
sandbox="allow-same-origin allow-scripts allow-popups"
|
||||
className={styles.iframe}
|
||||
style={{ height: "500px" }}
|
||||
/>
|
||||
<figcaption>
|
||||
<Link href="https://jakejarvis.github.io/my-first-website/">November 2001</Link> (
|
||||
|
56
app/privacy/page.mdx
Normal file
56
app/privacy/page.mdx
Normal file
@ -0,0 +1,56 @@
|
||||
import PageTitle from "../../components/PageTitle";
|
||||
import Content from "../../components/Content";
|
||||
import { metadata as defaultMetadata } from "../layout";
|
||||
|
||||
export const metadata = {
|
||||
title: "Privacy",
|
||||
openGraph: {
|
||||
...defaultMetadata.openGraph,
|
||||
title: "Privacy",
|
||||
url: "/privacy",
|
||||
},
|
||||
alternates: {
|
||||
...defaultMetadata.alternates,
|
||||
canonical: "/privacy",
|
||||
},
|
||||
};
|
||||
|
||||
<PageTitle>🕵️ Privacy</PageTitle>
|
||||
|
||||
<Content>
|
||||
|
||||
Okay, this is an easy one. 😉
|
||||
|
||||
## Hosting
|
||||
|
||||
Pages and first-party assets on this website are served by [**▲ Vercel**](https://vercel.com/). Refer to their [privacy policy](https://vercel.com/legal/privacy-policy) for more information.
|
||||
|
||||
For a likely excessive level of privacy and security, this website is also mirrored on the [🧅 Tor network](https://www.torproject.org/) at:
|
||||
|
||||
> [**jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion**](http://jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion/)
|
||||
|
||||
## Analytics
|
||||
|
||||
A very simple hit counter on each blog post tallies an aggregate number of pageviews (i.e. `hits = hits + 1`) in a [Neon Postgres](https://neon.tech/) database. Individual views and identifying (or non-identifying) details are **never stored or logged**.
|
||||
|
||||
The [database schema](https://github.com/jakejarvis/jarv.is/blob/main/prisma/schema.prisma), [serverless function](https://github.com/jakejarvis/jarv.is/blob/main/app/api/hits/route.ts) and [client script](https://github.com/jakejarvis/jarv.is/blob/main/app/notes/%5Bslug%5D/counter.tsx) are open source, and [snapshots of the database](https://github.com/jakejarvis/website-stats) are public.
|
||||
|
||||
[**Vercel Analytics**](https://vercel.com/products/observability) is also used to gain insights into referrers, search terms, etc. [without collecting anything identifiable](https://vercel.com/docs/analytics/privacy-policy#data-point-information) about you.
|
||||
|
||||
## Third-Party Content
|
||||
|
||||
Occasionally, embedded content from third-party services is included in posts, and some may contain tracking code that is outside of my control. Please refer to their privacy policies for more information:
|
||||
|
||||
- [CodePen](https://blog.codepen.io/documentation/privacy/)
|
||||
- [GitHub](https://docs.github.com/en/github/site-policy/github-privacy-statement)
|
||||
- [Twitter](https://twitter.com/en/privacy)
|
||||
- [Vimeo](https://vimeo.com/privacy)
|
||||
- [YouTube](https://policies.google.com/privacy)
|
||||
|
||||
## Fighting Spam
|
||||
|
||||
Using [**Cloudflare Turnstile**](https://www.cloudflare.com/products/turnstile/) to fight bot spam on the [contact form](/contact) was an easy choice over seemingly unavoidable alternatives like [reCAPTCHA](https://developers.google.com/recaptcha/).
|
||||
|
||||
You can refer to Cloudflare's [privacy policy](https://www.cloudflare.com/privacypolicy/) and [terms of service](https://www.cloudflare.com/website-terms/) for more details. While some information is sent to the Turnstile API about your behavior (on the contact page only), at least you won't be helping a certain internet conglomerate [train their self-driving cars](https://blog.cloudflare.com/moving-from-recaptcha-to-hcaptcha/). 🚗
|
||||
|
||||
</Content>
|
@ -1,139 +0,0 @@
|
||||
import Content from "../../components/Content";
|
||||
import PageTitle from "../../components/PageTitle";
|
||||
import Link from "../../components/Link";
|
||||
import Blockquote from "../../components/Blockquote";
|
||||
import CodeInline from "../../components/CodeInline";
|
||||
import { H2 } from "../../components/Heading";
|
||||
import { UnorderedList, ListItem } from "../../components/List";
|
||||
import { metadata as defaultMetadata } from "../layout";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Privacy",
|
||||
openGraph: {
|
||||
...defaultMetadata.openGraph,
|
||||
title: "Privacy",
|
||||
url: "/privacy",
|
||||
},
|
||||
alternates: {
|
||||
...defaultMetadata.alternates,
|
||||
canonical: "/privacy",
|
||||
},
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<PageTitle>🕵️ Privacy</PageTitle>
|
||||
|
||||
<Content>
|
||||
<p>Okay, this is an easy one. 😉</p>
|
||||
|
||||
<H2 id="hosting">Hosting</H2>
|
||||
|
||||
<p>
|
||||
Pages and first-party assets on this website are served by{" "}
|
||||
<Link href="https://vercel.com/">
|
||||
<strong>▲ Vercel</strong>
|
||||
</Link>
|
||||
. Refer to their <Link href="https://vercel.com/legal/privacy-policy">privacy policy</Link> for more
|
||||
information.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For a likely excessive level of privacy and security, this website is also mirrored on the{" "}
|
||||
<Link href="https://www.torproject.org/">🧅 Tor network</Link> at:
|
||||
</p>
|
||||
|
||||
<Blockquote style={{ overflowWrap: "break-word" }}>
|
||||
<Link href="http://jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion">
|
||||
<strong>jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion</strong>
|
||||
</Link>
|
||||
</Blockquote>
|
||||
|
||||
<H2 id="analytics">Analytics</H2>
|
||||
|
||||
<p>
|
||||
A very simple hit counter on each blog post tallies an aggregate number of pageviews (i.e.{" "}
|
||||
<CodeInline>hits = hits + 1</CodeInline>) in a <Link href="https://neon.tech/">Neon Postgres</Link> database.
|
||||
Individual views and identifying (or non-identifying) details are <strong>never stored or logged</strong>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The <Link href="https://github.com/jakejarvis/jarv.is/blob/main/prisma/schema.prisma">database schema</Link>,{" "}
|
||||
<Link href="https://github.com/jakejarvis/jarv.is/blob/main/app/api/hits/route.ts">serverless function</Link>{" "}
|
||||
and{" "}
|
||||
<Link href="https://github.com/jakejarvis/jarv.is/blob/main/app/notes/%5Bslug%5D/counter.tsx">
|
||||
client script
|
||||
</Link>{" "}
|
||||
are open source, and <Link href="https://github.com/jakejarvis/website-stats">snapshots of the database</Link>{" "}
|
||||
are public.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<Link href="https://vercel.com/products/observability">
|
||||
<strong>Vercel Analytics</strong>
|
||||
</Link>{" "}
|
||||
is also used to gain insights into referrers, search terms, etc.{" "}
|
||||
<Link href="https://vercel.com/docs/analytics/privacy-policy#data-point-information">
|
||||
without collecting anything identifiable
|
||||
</Link>{" "}
|
||||
about you.
|
||||
</p>
|
||||
|
||||
<H2 id="third-party">Third-Party Content</H2>
|
||||
|
||||
<p>
|
||||
Occasionally, embedded content from third-party services is included in posts, and some may contain tracking
|
||||
code that is outside of my control. Please refer to their privacy policies for more information:
|
||||
</p>
|
||||
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://blog.codepen.io/documentation/privacy/">CodePen</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.facebook.com/policy.php">Facebook</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://docs.github.com/en/github/site-policy/github-privacy-statement">GitHub</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://soundcloud.com/pages/privacy">SoundCloud</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://twitter.com/en/privacy">Twitter</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://vimeo.com/privacy">Vimeo</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://policies.google.com/privacy">YouTube</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<H2 id="spam">Fighting Spam</H2>
|
||||
|
||||
<p>
|
||||
Using{" "}
|
||||
<Link href="https://www.cloudflare.com/products/turnstile/">
|
||||
<strong>Cloudflare Turnstile</strong>
|
||||
</Link>{" "}
|
||||
to fight bot spam on the <Link href="/contact">contact form</Link> was an easy choice over seemingly
|
||||
unavoidable alternatives like <Link href="https://developers.google.com/recaptcha/">reCAPTCHA</Link>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
You can refer to Cloudflare's <Link href="https://www.cloudflare.com/privacypolicy/">privacy policy</Link> and{" "}
|
||||
<Link href="https://www.cloudflare.com/website-terms/">terms of service</Link> for more details. While some
|
||||
information is sent to the Turnstile API about your behavior <strong>(on the contact page only)</strong>, at
|
||||
least you won't be helping a certain internet conglomerate{" "}
|
||||
<Link href="https://blog.cloudflare.com/moving-from-recaptcha-to-hcaptcha/">
|
||||
train their self-driving cars
|
||||
</Link>
|
||||
. 🚗
|
||||
</p>
|
||||
</Content>
|
||||
</>
|
||||
);
|
||||
}
|
Before Width: | Height: | Size: 810 KiB After Width: | Height: | Size: 810 KiB |
182
app/uses/page.mdx
Normal file
182
app/uses/page.mdx
Normal file
@ -0,0 +1,182 @@
|
||||
import PageTitle from "../../components/PageTitle";
|
||||
import Content from "../../components/Content";
|
||||
import { metadata as defaultMetadata } from "../layout";
|
||||
|
||||
import featuredImage from "./desktop.png";
|
||||
|
||||
export const metadata = {
|
||||
title: "/uses",
|
||||
description: "Things I use daily.",
|
||||
openGraph: {
|
||||
...defaultMetadata.openGraph,
|
||||
title: "/uses",
|
||||
images: [featuredImage.src],
|
||||
url: "/uses",
|
||||
},
|
||||
alternates: {
|
||||
...defaultMetadata.alternates,
|
||||
canonical: "/uses",
|
||||
},
|
||||
};
|
||||
|
||||
<PageTitle>/uses</PageTitle>
|
||||
|
||||
<Content>
|
||||
|
||||
~~I regularly get messages asking about which tools I use to work.~~
|
||||
|
||||
Nobody has asked me what I use. Ever. But here's a list of my daily drivers and necessities anyways, mostly revolving around my Apple sheepy-ness. Inspired by [many, many others](https://uses.tech/). ❤️
|
||||
|
||||

|
||||
|
||||
## 🚘 Daily Drivers
|
||||
|
||||
- [**MacBook Pro** (14-inch)](https://browser.geekbench.com/v6/cpu/4493541)
|
||||
- Apple M3 Pro (12‑core CPU, 18‑core GPU) 🏎️💨
|
||||
- 36 GB RAM
|
||||
- 1 TB SSD
|
||||
- Space Black 🖤
|
||||
- **iPhone 15 Pro**
|
||||
- 512 GB in Natural Titanium
|
||||
- [Anker MagGo Matte case](https://a.co/d/75zuyyY) (surprisingly nice!)
|
||||
- **iPad Pro 10.5"**
|
||||
- 256 GB in Space Gray
|
||||
- Smart Keyboard & Apple Pencil
|
||||
- **Apple Watch Series 9** (Cellular + GPS)
|
||||
- Aluminum – Midnight
|
||||
- 41mm (I have incredibly small wrists.)
|
||||
- Usually with the [Midnight Blue sport band](https://www.apple.com/shop/product/MLL02ZM/A/42mm-midnight-blue-sport-band-s-m-m-l), 🏳️🌈 [Pride Edition woven nylon band](https://www.apple.com/shop/product/MQ4F2AM/A/38mm-pride-edition-woven-nylon), or employee 🏋️ [Close Your Rings Challenge woven nylon band](https://www.macrumors.com/2018/04/03/apple-employees-rewards-challenge/).
|
||||
|
||||
## 🧪 Homelab
|
||||
|
||||
- [**UniFi Dream Machine SE**](https://store.ui.com/us/en/products/udm-se), plus:
|
||||
- [Switch Enterprise 8 PoE](https://store.ui.com/us/en/products/usw-enterprise-8-poe)
|
||||
- 2x [U7 Pro access points](https://store.ui.com/us/en/products/u7-pro)
|
||||
- 2x [Switch Flex Mini 2.5G](https://store.ui.com/us/en/products/usw-flex-2-5g-5)
|
||||
- [UCI modem](https://store.ui.com/us/en/products/uci) _([It's Comcastic!™](https://www.youtube.com/watch?v=iW1tHr4Y_cI))_
|
||||
- [**Synology DiskStation DS224+**](https://www.synology.com/en-us/products/DS224+)
|
||||
- 2x recertified [16TB WD Ultrastar](https://serverpartdeals.com/products/western-digital-ultrastar-dc-hc550-wuh721816ale6l4-0f38462-16tb-7-2k-rpm-sata-6gb-s-512e-512mb-3-5-se-manufacturer-recertified-hdd) drives
|
||||
- [**Plex**](https://www.plex.tv/personal-media-server/) (installed as a package via [`syno.plexupdate`](https://github.com/michealespinola/syno.plexupdate) for hardware encoding)
|
||||
- 2x [**Dell Optiplex 7060 Micro**](https://www.servethehome.com/dell-optiplex-7060-micro-tinyminimicro-at-65w-tdp-cpu-overview/) mini PCs
|
||||
- Both are running [**Proxmox VE**](https://www.proxmox.com/en/products/proxmox-virtual-environment/overview) with various VMs and LXC containers spread between the two, including:
|
||||
- [Home Assistant](https://www.home-assistant.io/)
|
||||
- [Homebridge](https://homebridge.io/)
|
||||
- [Scrypted](https://www.scrypted.app/)
|
||||
- [Homepage](https://gethomepage.dev/)
|
||||
- [Gitea](https://about.gitea.com/)
|
||||
- [Immich](https://immich.app/)
|
||||
- [Sonarr](https://sonarr.tv/), [Radarr](https://radarr.video/), [Bazarr](https://www.bazarr.media/), [Prowlarr](https://github.com/Prowlarr/Prowlarr)
|
||||
- [qBittorrent](https://www.qbittorrent.org/) (web client)
|
||||
- [Tautulli](https://tautulli.com/)
|
||||
- [Traefik](https://traefik.io/traefik/)
|
||||
- [Authelia](https://www.authelia.com/)
|
||||
- Full post with more details coming soon!
|
||||
|
||||
## 💾 Development
|
||||
|
||||
- [**iTerm 2**](https://iterm2.com/)
|
||||
- My various [ZSH aliases](https://github.com/jakejarvis/dotfiles/blob/main/zsh/aliases.zsh) and [functions](https://github.com/jakejarvis/dotfiles/blob/main/zsh/functions.zsh) are in [my `.dotfiles` repository.](https://github.com/jakejarvis/dotfiles)
|
||||
- [Oh My ZSH](https://ohmyz.sh/)
|
||||
- [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
|
||||
- [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
|
||||
- [**Visual Studio Code**](https://code.visualstudio.com/)
|
||||
- [All of my settings.](https://github.com/jakejarvis/dotfiles/tree/main/vscode)
|
||||
- Themes:
|
||||
- [GitHub Dark theme](https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme)
|
||||
- [Material Icon theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme)
|
||||
- [SF Mono font](https://developer.apple.com/fonts/)
|
||||
- Extensions:
|
||||
- [EditorConfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)
|
||||
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
|
||||
- [GitHub Pull Requests](https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github)
|
||||
- [Import Cost](https://marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost)
|
||||
- [MDX](https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-mdx)
|
||||
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
|
||||
- [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
|
||||
- [**Homebrew**](https://brew.sh/)
|
||||
- [View my messy `Brewfile` dump](https://github.com/jakejarvis/dotfiles/blob/main/Brewfile) with all of my installed packages.
|
||||
- [**Xcode**](https://developer.apple.com/xcode/)
|
||||
- [**Docker Desktop**](https://www.docker.com/products/docker-desktop)
|
||||
- [**Parallels Desktop Pro**](https://www.parallels.com/products/desktop/)
|
||||
- Switched from VMware Fusion when Parallels beat them to the punch with [M1 support](https://www.parallels.com/blogs/parallels-desktop-m1/).
|
||||
- [**Sketch**](https://www.sketch.com/)
|
||||
- [**Adobe Creative Cloud**](https://www.adobe.com/creativecloud.html)
|
||||
- Still on the $20/month [Student Plan](https://www.adobe.com/creativecloud/buy/students.html), somehow. 🤫 Will need to re-evaulate once I'm kicked off; it's hard to justify spending almost 3x that...
|
||||
- [**Transmit**](https://panic.com/transmit/)
|
||||
- [~~Sequel Pro~~](https://www.sequelpro.com/) → [**TablePlus**](https://tableplus.com/)
|
||||
- [~~Robo 3T~~](https://robomongo.org/) → [**TablePlus**](https://tableplus.com/)
|
||||
- [**ImageOptim**](https://imageoptim.com/mac)
|
||||
- [**Sip**](https://sipapp.io/)
|
||||
- [**Local**](https://localwp.com/) for WordPress development.
|
||||
|
||||
## 🌎 Browsing
|
||||
|
||||
- [**Firefox**](https://www.mozilla.org/en-US/firefox/new/) 🦊
|
||||
- [My default `user.js` settings.](https://github.com/jakejarvis/dotfiles/blob/main/firefox/user.js)
|
||||
- Extensions:
|
||||
- [1Password](https://1password.com/downloads/browser-extension)
|
||||
- [Dark Reader](https://addons.mozilla.org/en-US/firefox/addon/darkreader/)
|
||||
- [React Developer Tools](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/)
|
||||
- [OctoLinker](https://addons.mozilla.org/en-US/firefox/addon/octolinker/)
|
||||
- [Privacy Badger](https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/)
|
||||
- [Raindrop.io](https://raindrop.io/)
|
||||
- [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/)
|
||||
|
||||
## 💻 macOS
|
||||
|
||||
- [**1Password**](https://1password.com/)
|
||||
- [**Little Snitch**](https://www.obdev.at/products/littlesnitch/index.html)
|
||||
- [**iStat Menus**](https://bjango.com/mac/istatmenus/)
|
||||
- [**Backblaze**](https://www.backblaze.com/) ([referral link](https://secure.backblaze.com/r/00x84e))
|
||||
- [**Raindrop.io**](https://raindrop.io/)
|
||||
- [**MacUpdater**](https://www.corecode.io/macupdater/)
|
||||
- [**AppCleaner**](https://freemacsoft.net/appcleaner/)
|
||||
- [**GPG Suite**](https://gpgtools.org/)
|
||||
- ~~VLC~~ → [**IINA**](https://iina.io/)
|
||||
- [**Transmission**](https://transmissionbt.com/)
|
||||
- [**Amphetamine**](https://roaringapps.com/app/amphetamine)
|
||||
- [**TG Pro**](https://www.tunabellysoftware.com/tgpro/)
|
||||
- [**Keka**](https://www.keka.io/en/)
|
||||
|
||||
## 📱 iOS
|
||||
|
||||
I have far too many apps to count, but here the essentials that have earned a spot on my home screen:
|
||||
|
||||
- [**1Password** (beta)](https://apps.apple.com/app/id568903335)
|
||||
- [**Waze** (beta)](https://apps.apple.com/app/id323229106)
|
||||
- [**Pocket Casts**](https://apps.apple.com/app/id414834813)
|
||||
- [**Raindrop.io**](https://apps.apple.com/app/id1021913807)
|
||||
- [**Plex** (beta)](https://apps.apple.com/app/id383457673)
|
||||
- [**Discord**](https://apps.apple.com/app/id985746746)
|
||||
- [**UniFi**](https://apps.apple.com/app/id1057750338) and [**WiFiman**](https://apps.apple.com/app/id1385561119)
|
||||
|
||||
## ☁️ Cloud
|
||||
|
||||
I've been making recent efforts to [de-Google](/zip) my life, with mixed results...
|
||||
|
||||
- ~~Gmail~~ → [**Fastmail**](https://www.fastmail.com/) ([referral link](https://ref.fm/u20274504)) & [**Mail.app**](https://en.wikipedia.org/wiki/Apple_Mail)
|
||||
- ~~Google Drive~~ → ~~Dropbox~~ → [**iCloud Drive**](https://www.icloud.com/iclouddrive)
|
||||
- [Read why.](/notes/dropping-dropbox)
|
||||
- ~~Google Docs~~ → [**Microsoft Office**](https://products.office.com/en-us/mac/microsoft-office-for-mac) (hey, it works 🤷)
|
||||
- ~~Google Photos~~ → [**iCloud Photos**](https://www.icloud.com/photos/) and [**Immich**](https://immich.app/)
|
||||
- ~~Google Analytics~~ → [**Fathom Analytics**](https://usefathom.com/) ([referral link](https://usefathom.com/ref/ZEYG0O))
|
||||
- ~~Google Public DNS~~ → [**Cloudflare's 1.1.1.1**](https://1.1.1.1/dns/) on my home network.
|
||||
- ~~GoDaddy~~ → ~~Google Domains~~ → [**Cloudflare Registrar**](https://www.cloudflare.com/products/registrar/) (and [**ISNIC**](https://isnic.is/en/) for this domain, of course 🇮🇸)
|
||||
|
||||
Other geeky stuff:
|
||||
|
||||
- [**Vercel**](https://vercel.com/) and [**Netlify**](https://www.netlify.com/) for "serverless" sites.
|
||||
- [**DigitalOcean**](https://www.digitalocean.com/) ([referral link](https://m.do.co/c/afcf288a7dac)) and [**Linode**](https://www.linode.com/) ([referral link](https://www.linode.com/?r=0c5aeace9bd591be9fbf32f96f58470295f1ee05)) for virtual Linux servers.
|
||||
- [**DNSimple**](https://dnsimple.com/) ([referral link](https://dnsimple.com/r/eb6ced548f1e0a)) and [**Cloudflare**](https://www.cloudflare.com/) for domain DNS.
|
||||
- [**Backblaze**](https://www.backblaze.com/) ([referral link](https://secure.backblaze.com/r/00x84e)) for off-site Mac backups.
|
||||
- [**Gitea**](https://gitea.io/en-us/) as a [self-hosted](https://git.jrvs.io/) Git backup/mirror.
|
||||
- [**Tailscale**](https://tailscale.com/) to access my home network and VPSes from anywhere.
|
||||
|
||||
## 🏠 Internet of ~~Things~~ Crap
|
||||
|
||||
- [**Philips Hue**](https://www2.meethue.com/en-us) color bulbs, dimmer switches, etc.
|
||||
- 2x [**ecobee3 lite**](https://www.ecobee.com/en-us/smart-thermostats/smart-wifi-thermostat/)
|
||||
- 2x [**Sonos One**](https://www.sonos.com/en-us/shop/one.html) (with Alexa turned off...hopefully? 🤫)
|
||||
- 2x [**Apple TV 4K** (2021)](https://www.apple.com/apple-tv-4k/)
|
||||
|
||||
</Content>
|
@ -1,730 +0,0 @@
|
||||
import Content from "../../components/Content";
|
||||
import PageTitle from "../../components/PageTitle";
|
||||
import Link from "../../components/Link";
|
||||
import Image from "../../components/Image";
|
||||
import CodeInline from "../../components/CodeInline";
|
||||
import { H2 } from "../../components/Heading";
|
||||
import { UnorderedList, ListItem } from "../../components/List";
|
||||
import { metadata as defaultMetadata } from "../layout";
|
||||
import type { Metadata, Route } from "next";
|
||||
|
||||
import desktopImg from "./images/desktop.png";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "/uses",
|
||||
description: "Things I use daily.",
|
||||
openGraph: {
|
||||
...defaultMetadata.openGraph,
|
||||
title: "/uses",
|
||||
images: [desktopImg.src],
|
||||
url: "/uses",
|
||||
},
|
||||
alternates: {
|
||||
...defaultMetadata.alternates,
|
||||
canonical: "/uses",
|
||||
},
|
||||
};
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<PageTitle>/uses</PageTitle>
|
||||
|
||||
<Content>
|
||||
<p>
|
||||
<del>I regularly get messages asking about which tools I use to work.</del>
|
||||
</p>
|
||||
<p>
|
||||
Nobody has asked me what I use. Ever. But here's a list of my daily drivers and necessities anyways, mostly
|
||||
revolving around my Apple sheepy-ness. Inspired by <Link href="https://uses.tech/">many, many others</Link>.
|
||||
❤️
|
||||
</p>
|
||||
|
||||
<Link href={desktopImg.src as Route} openInNewTab>
|
||||
<Image src={desktopImg} alt="My mess of a desktop." priority />
|
||||
</Link>
|
||||
|
||||
<H2 id="hardware">
|
||||
<span style={{ marginRight: "0.45em" }}>🚘</span>
|
||||
Daily Drivers
|
||||
</H2>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://browser.geekbench.com/v6/cpu/4493541">
|
||||
<strong>MacBook Pro</strong> (14-inch)
|
||||
</Link>
|
||||
<UnorderedList>
|
||||
<ListItem>Apple M3 Pro (12‑core CPU, 18‑core GPU) 🏎️💨</ListItem>
|
||||
<ListItem>36 GB RAM</ListItem>
|
||||
<ListItem>1 TB SSD</ListItem>
|
||||
<ListItem>Space Black 🖤</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<strong>iPhone 15 Pro</strong>
|
||||
<UnorderedList>
|
||||
<ListItem>512 GB in Natural Titanium</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://a.co/d/75zuyyY">Anker MagGo Matte case</Link> (surprisingly nice!)
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<strong>iPad Pro 10.5"</strong>
|
||||
<UnorderedList>
|
||||
<ListItem>256 GB in Space Gray</ListItem>
|
||||
<ListItem>Smart Keyboard & Apple Pencil</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<strong>Apple Watch Series 9</strong> (Cellular + GPS)
|
||||
<UnorderedList>
|
||||
<ListItem>Aluminum – Midnight</ListItem>
|
||||
<ListItem>41mm (I have incredibly small wrists.)</ListItem>
|
||||
<ListItem>
|
||||
Usually with the{" "}
|
||||
<Link href="https://www.apple.com/shop/product/MLL02ZM/A/42mm-midnight-blue-sport-band-s-m-m-l">
|
||||
Midnight Blue sport band
|
||||
</Link>
|
||||
, 🏳️🌈{" "}
|
||||
<Link href="https://www.apple.com/shop/product/MQ4F2AM/A/38mm-pride-edition-woven-nylon">
|
||||
Pride Edition woven nylon band
|
||||
</Link>
|
||||
, or employee 🏋️{" "}
|
||||
<Link href="https://www.macrumors.com/2018/04/03/apple-employees-rewards-challenge/">
|
||||
Close Your Rings Challenge woven nylon band
|
||||
</Link>
|
||||
.
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<H2 id="homelab">
|
||||
<span style={{ marginRight: "0.45em" }}>🧪</span>
|
||||
Homelab
|
||||
</H2>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://store.ui.com/us/en/products/udm-se">
|
||||
<strong>UniFi Dream Machine SE</strong>
|
||||
</Link>
|
||||
, plus:
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://store.ui.com/us/en/products/usw-enterprise-8-poe">Switch Enterprise 8 PoE</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
2x <Link href="https://store.ui.com/us/en/products/u7-pro">U7 Pro access points</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
2x <Link href="https://store.ui.com/us/en/products/usw-flex-2-5g-5">Switch Flex Mini 2.5G</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://store.ui.com/us/en/products/uci">UCI modem</Link>{" "}
|
||||
<em>
|
||||
(<Link href="https://www.youtube.com/watch?v=iW1tHr4Y_cI">It's Comcastic!™</Link>)
|
||||
</em>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.synology.com/en-us/products/DS224+">
|
||||
<strong>Synology DiskStation DS224+</strong>
|
||||
</Link>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
2x recertified{" "}
|
||||
<Link href="https://serverpartdeals.com/products/western-digital-ultrastar-dc-hc550-wuh721816ale6l4-0f38462-16tb-7-2k-rpm-sata-6gb-s-512e-512mb-3-5-se-manufacturer-recertified-hdd">
|
||||
16TB WD Ultrastar
|
||||
</Link>{" "}
|
||||
drives
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.plex.tv/personal-media-server/">
|
||||
<strong>Plex</strong>
|
||||
</Link>{" "}
|
||||
(installed as a package via{" "}
|
||||
<Link href="https://github.com/michealespinola/syno.plexupdate">
|
||||
<CodeInline>syno.plexupdate</CodeInline>
|
||||
</Link>{" "}
|
||||
for hardware encoding)
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
2x{" "}
|
||||
<Link href="https://www.servethehome.com/dell-optiplex-7060-micro-tinyminimicro-at-65w-tdp-cpu-overview/">
|
||||
<strong>Dell Optiplex 7060 Micro</strong>
|
||||
</Link>{" "}
|
||||
mini PCs
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
Both are running{" "}
|
||||
<Link href="https://www.proxmox.com/en/products/proxmox-virtual-environment/overview">
|
||||
<strong>Proxmox VE</strong>
|
||||
</Link>{" "}
|
||||
with various VMs and LXC containers spread between the two, including:
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://www.home-assistant.io/">Home Assistant</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://homebridge.io/">Homebridge</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.scrypted.app/">Scrypted</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://gethomepage.dev/">Homepage</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://about.gitea.com/">Gitea</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://immich.app/">Immich</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://sonarr.tv/">Sonarr</Link>, <Link href="https://radarr.video/">Radarr</Link>,{" "}
|
||||
<Link href="https://www.bazarr.media/">Bazarr</Link>,{" "}
|
||||
<Link href="https://github.com/Prowlarr/Prowlarr">Prowlarr</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.qbittorrent.org/">qBittorrent</Link> (web client)
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://tautulli.com/">Tautulli</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://traefik.io/traefik/">Traefik</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.authelia.com/">Authelia</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>Full post with more details coming soon!</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<H2 id="development">
|
||||
<span style={{ marginRight: "0.45em" }}>💾</span>
|
||||
Development
|
||||
</H2>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://iterm2.com/">
|
||||
<strong>iTerm 2</strong>
|
||||
</Link>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
My various{" "}
|
||||
<Link href="https://github.com/jakejarvis/dotfiles/blob/main/zsh/aliases.zsh">ZSH aliases</Link> and{" "}
|
||||
<Link href="https://github.com/jakejarvis/dotfiles/blob/main/zsh/functions.zsh">functions</Link> are in{" "}
|
||||
<Link href="https://github.com/jakejarvis/dotfiles">
|
||||
my <CodeInline>.dotfiles</CodeInline> repository.
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://ohmyz.sh/">Oh My ZSH</Link>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://github.com/zsh-users/zsh-autosuggestions">zsh-autosuggestions</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://github.com/zsh-users/zsh-syntax-highlighting">zsh-syntax-highlighting</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://code.visualstudio.com/">
|
||||
<strong>Visual Studio Code</strong>
|
||||
</Link>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://github.com/jakejarvis/dotfiles/tree/main/vscode">All of my settings.</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
Themes:
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme">
|
||||
GitHub Dark theme
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme">
|
||||
Material Icon theme
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://developer.apple.com/fonts/">SF Mono font</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
Extensions:
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig">
|
||||
EditorConfig
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint">
|
||||
ESLint
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github">
|
||||
GitHub Pull Requests
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost">
|
||||
Import Cost
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-mdx">MDX</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode">
|
||||
Prettier
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint">
|
||||
Stylelint
|
||||
</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://brew.sh/">
|
||||
<strong>Homebrew</strong>
|
||||
</Link>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://github.com/jakejarvis/dotfiles/blob/main/Brewfile">
|
||||
View my messy <CodeInline>Brewfile</CodeInline> dump
|
||||
</Link>{" "}
|
||||
with all of my installed packages.
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://developer.apple.com/xcode/">
|
||||
<strong>Xcode</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.docker.com/products/docker-desktop">
|
||||
<strong>Docker Desktop</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.parallels.com/products/desktop/">
|
||||
<strong>Parallels Desktop Pro</strong>
|
||||
</Link>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
Switched from VMware Fusion when Parallels beat them to the punch with{" "}
|
||||
<Link href="https://www.parallels.com/blogs/parallels-desktop-m1/">M1 support</Link>.
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.sketch.com/">
|
||||
<strong>Sketch</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.adobe.com/creativecloud.html">
|
||||
<strong>Adobe Creative Cloud</strong>
|
||||
</Link>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
Still on the $20/month{" "}
|
||||
<Link href="https://www.adobe.com/creativecloud/buy/students.html">Student Plan</Link>, somehow. 🤫 Will
|
||||
need to re-evaulate once I'm kicked off; it's hard to justify spending almost 3x that...
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://panic.com/transmit/">
|
||||
<strong>Transmit</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.sequelpro.com/">
|
||||
<del>Sequel Pro</del>
|
||||
</Link>{" "}
|
||||
→{" "}
|
||||
<Link href="https://tableplus.com/">
|
||||
<strong>TablePlus</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://robomongo.org/">
|
||||
<del>Robo 3T</del>
|
||||
</Link>{" "}
|
||||
→{" "}
|
||||
<Link href="https://tableplus.com/">
|
||||
<strong>TablePlus</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://imageoptim.com/mac">
|
||||
<strong>ImageOptim</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://sipapp.io/">
|
||||
<strong>Sip</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://localwp.com/">
|
||||
<strong>Local</strong>
|
||||
</Link>{" "}
|
||||
for WordPress development.
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<H2 id="browsing">
|
||||
<span style={{ marginRight: "0.45em" }}>🌎</span>
|
||||
Browsing
|
||||
</H2>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://www.mozilla.org/en-US/firefox/new/">
|
||||
<strong>Firefox</strong>
|
||||
</Link>{" "}
|
||||
🦊
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://github.com/jakejarvis/dotfiles/blob/main/firefox/user.js">
|
||||
My default <CodeInline>user.js</CodeInline> settings.
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
Extensions:
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://1password.com/downloads/browser-extension">1Password</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://addons.mozilla.org/en-US/firefox/addon/darkreader/">Dark Reader</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://addons.mozilla.org/en-US/firefox/addon/react-devtools/">
|
||||
React Developer Tools
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://addons.mozilla.org/en-US/firefox/addon/octolinker/">OctoLinker</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/">Privacy Badger</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://raindrop.io/">Raindrop.io</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/">uBlock Origin</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<H2 id="macos">
|
||||
<span style={{ marginRight: "0.45em" }}>💻</span>
|
||||
macOS
|
||||
</H2>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://1password.com/">
|
||||
<strong>1Password</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.obdev.at/products/littlesnitch/index.html">
|
||||
<strong>Little Snitch</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://bjango.com/mac/istatmenus/">
|
||||
<strong>iStat Menus</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.backblaze.com/">
|
||||
<strong>Backblaze</strong>
|
||||
</Link>{" "}
|
||||
(<Link href="https://secure.backblaze.com/r/00x84e">referral link</Link>)
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://raindrop.io/">
|
||||
<strong>Raindrop.io</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.corecode.io/macupdater/">
|
||||
<strong>MacUpdater</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://freemacsoft.net/appcleaner/">
|
||||
<strong>AppCleaner</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://gpgtools.org/">
|
||||
<strong>GPG Suite</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<del>VLC</del> →{" "}
|
||||
<Link href="https://iina.io/">
|
||||
<strong>IINA</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://transmissionbt.com/">
|
||||
<strong>Transmission</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://roaringapps.com/app/amphetamine">
|
||||
<strong>Amphetamine</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.tunabellysoftware.com/tgpro/">
|
||||
<strong>TG Pro</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.keka.io/en/">
|
||||
<strong>Keka</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<H2 id="ios">
|
||||
<span style={{ marginRight: "0.45em" }}>📱</span>
|
||||
iOS
|
||||
</H2>
|
||||
<p>I have far too many apps to count, but here the essentials that have earned a spot on my home screen:</p>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://apps.apple.com/app/id568903335">
|
||||
<strong>1Password</strong> (beta)
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://apps.apple.com/app/id323229106">
|
||||
<strong>Waze</strong> (beta)
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://apps.apple.com/app/id414834813">
|
||||
<strong>Pocket Casts</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://apps.apple.com/app/id1021913807">
|
||||
<strong>Raindrop.io</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://apps.apple.com/app/id383457673">
|
||||
<strong>Plex</strong> (beta)
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://apps.apple.com/app/id985746746">
|
||||
<strong>Discord</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://apps.apple.com/app/id1057750338">
|
||||
<strong>UniFi</strong>
|
||||
</Link>{" "}
|
||||
and{" "}
|
||||
<Link href="https://apps.apple.com/app/id1385561119">
|
||||
<strong>WiFiman</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<H2 id="cloud">
|
||||
<span style={{ marginRight: "0.45em" }}>☁️</span>
|
||||
Cloud
|
||||
</H2>
|
||||
<p>
|
||||
I've been making recent efforts to <Link href="https://www.stallman.org/google.html">de-Google</Link> my life,
|
||||
with mixed results...
|
||||
</p>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<del>Gmail</del> →{" "}
|
||||
<Link href="https://www.fastmail.com/">
|
||||
<strong>Fastmail</strong>
|
||||
</Link>{" "}
|
||||
(<Link href="https://ref.fm/u20274504">referral link</Link>) &{" "}
|
||||
<Link href="https://en.wikipedia.org/wiki/Apple_Mail">
|
||||
<strong>Mail.app</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<del>Google Drive</del> → <del>Dropbox</del> →{" "}
|
||||
<Link href="https://www.icloud.com/iclouddrive">
|
||||
<strong>iCloud Drive</strong>
|
||||
</Link>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href={"/notes/dropping-dropbox/" as Route}>Read why.</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<del>Google Docs</del> →{" "}
|
||||
<Link href="https://products.office.com/en-us/mac/microsoft-office-for-mac">
|
||||
<strong>Microsoft Office</strong>
|
||||
</Link>{" "}
|
||||
(hey, it works 🤷)
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<del>Google Photos</del> →{" "}
|
||||
<Link href="https://www.icloud.com/photos/">
|
||||
<strong>iCloud Photos</strong>
|
||||
</Link>{" "}
|
||||
and{" "}
|
||||
<Link href="https://immich.app/">
|
||||
<strong>Immich</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<del>Google Analytics</del> →{" "}
|
||||
<Link href="https://usefathom.com/">
|
||||
<strong>Fathom Analytics</strong>
|
||||
</Link>{" "}
|
||||
(<Link href="https://usefathom.com/ref/ZEYG0O">referral link</Link>)
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<del>Google Public DNS</del> →{" "}
|
||||
<Link href="https://1.1.1.1/dns/">
|
||||
<strong>Cloudflare's 1.1.1.1</strong>
|
||||
</Link>{" "}
|
||||
on my home network.
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<del>GoDaddy</del> → <del>Google Domains</del> →{" "}
|
||||
<Link href="https://www.cloudflare.com/products/registrar/">
|
||||
<strong>Cloudflare Registrar</strong>
|
||||
</Link>{" "}
|
||||
(and{" "}
|
||||
<Link href="https://isnic.is/en/">
|
||||
<strong>ISNIC</strong>
|
||||
</Link>{" "}
|
||||
for this domain, of course 🇮🇸)
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<p>Other geeky stuff:</p>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://vercel.com/">
|
||||
<strong>Vercel</strong>
|
||||
</Link>{" "}
|
||||
and{" "}
|
||||
<Link href="https://www.netlify.com/">
|
||||
<strong>Netlify</strong>
|
||||
</Link>{" "}
|
||||
for "serverless" sites.
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.digitalocean.com/">
|
||||
<strong>DigitalOcean</strong>
|
||||
</Link>{" "}
|
||||
(<Link href="https://m.do.co/c/afcf288a7dac">referral link</Link>) and{" "}
|
||||
<Link href="https://www.linode.com/">
|
||||
<strong>Linode</strong>
|
||||
</Link>{" "}
|
||||
(<Link href="https://www.linode.com/?r=0c5aeace9bd591be9fbf32f96f58470295f1ee05">referral link</Link>) for
|
||||
virtual Linux servers.
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://dnsimple.com/">
|
||||
<strong>DNSimple</strong>
|
||||
</Link>{" "}
|
||||
(<Link href="https://dnsimple.com/r/eb6ced548f1e0a">referral link</Link>) and{" "}
|
||||
<Link href="https://www.cloudflare.com/">
|
||||
<strong>Cloudflare</strong>
|
||||
</Link>{" "}
|
||||
for domain DNS.
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://www.backblaze.com/">
|
||||
<strong>Backblaze</strong>
|
||||
</Link>{" "}
|
||||
(<Link href="https://secure.backblaze.com/r/00x84e">referral link</Link>) for off-site Mac backups.
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://gitea.io/en-us/">
|
||||
<strong>Gitea</strong>
|
||||
</Link>{" "}
|
||||
as a <Link href="https://git.jrvs.io/">self-hosted</Link> Git backup/mirror.
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<Link href="https://tailscale.com/">
|
||||
<strong>Tailscale</strong>
|
||||
</Link>{" "}
|
||||
to access my home network and VPSes from anywhere.
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
|
||||
<H2 id="iot">
|
||||
<span style={{ marginRight: "0.45em" }}>🏠</span>
|
||||
Internet of <del>Things</del> <Link href={"/notes/shodan-search-queries/" as Route}>Crap</Link>
|
||||
</H2>
|
||||
<UnorderedList>
|
||||
<ListItem>
|
||||
<Link href="https://www2.meethue.com/en-us">
|
||||
<strong>Philips Hue</strong>
|
||||
</Link>{" "}
|
||||
color bulbs, dimmer switches, etc.
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
2x{" "}
|
||||
<Link href="https://www.ecobee.com/en-us/smart-thermostats/smart-wifi-thermostat/">
|
||||
<strong>ecobee3 lite</strong>
|
||||
</Link>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
2x{" "}
|
||||
<Link href="https://www.sonos.com/en-us/shop/one.html">
|
||||
<strong>Sonos One</strong>
|
||||
</Link>{" "}
|
||||
(with Alexa turned off...hopefully? 🤫)
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
2x{" "}
|
||||
<Link href="https://www.apple.com/apple-tv-4k/">
|
||||
<strong>Apple TV 4K</strong> (2021)
|
||||
</Link>
|
||||
</ListItem>
|
||||
</UnorderedList>
|
||||
</Content>
|
||||
</>
|
||||
);
|
||||
}
|
@ -4,7 +4,7 @@ import CodeBlock from "../../components/CodeBlock/CodeBlock";
|
||||
import { metadata as defaultMetadata } from "../layout";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
import backgroundImg from "./images/sundar.jpg";
|
||||
import backgroundImg from "./sundar.jpg";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "fuckyougoogle.zip",
|
||||
|
Before Width: | Height: | Size: 477 KiB After Width: | Height: | Size: 477 KiB |
32
components/CodePen/CodePen.tsx
Normal file
32
components/CodePen/CodePen.tsx
Normal file
@ -0,0 +1,32 @@
|
||||
export type CodePenProps = {
|
||||
username: string;
|
||||
id: string;
|
||||
height?: number;
|
||||
defaultTab?: string;
|
||||
preview?: boolean;
|
||||
editable?: boolean;
|
||||
};
|
||||
|
||||
const CodePen = ({
|
||||
username,
|
||||
id,
|
||||
height = 500,
|
||||
defaultTab = "html",
|
||||
preview = true,
|
||||
editable = false,
|
||||
}: CodePenProps) => {
|
||||
return (
|
||||
<iframe
|
||||
src={`https://codepen.io/${username}/embed/${id}/?${new URLSearchParams({
|
||||
"default-tab": `${defaultTab},result`,
|
||||
preview: `${!!preview}`,
|
||||
editable: `${!!editable}`,
|
||||
})}`}
|
||||
scrolling="no"
|
||||
sandbox="allow-same-origin allow-scripts allow-popups allow-top-navigation-by-user-activation"
|
||||
style={{ height: `${height}px`, width: "100%", border: "0" }}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default CodePen;
|
2
components/CodePen/index.ts
Normal file
2
components/CodePen/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from "./CodePen";
|
||||
export { default } from "./CodePen";
|
@ -1,3 +0,0 @@
|
||||
.wrapper {
|
||||
width: 100%;
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
import clsx from "clsx";
|
||||
import IFrame from "../IFrame";
|
||||
|
||||
import styles from "./CodePenEmbed.module.css";
|
||||
|
||||
export type CodePenEmbedProps = {
|
||||
username: string;
|
||||
id: string;
|
||||
height?: number;
|
||||
defaultTab?: string;
|
||||
preview?: boolean;
|
||||
editable?: boolean;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
const CodePenEmbed = ({
|
||||
username,
|
||||
id,
|
||||
height = 500,
|
||||
defaultTab = "html",
|
||||
preview = true,
|
||||
editable = false,
|
||||
className,
|
||||
}: CodePenEmbedProps) => {
|
||||
return (
|
||||
<div className={clsx(styles.wrapper, className)} style={{ height }}>
|
||||
<IFrame
|
||||
src={`https://codepen.io/${username}/embed/${id}/?${new URLSearchParams({
|
||||
"default-tab": `${defaultTab},result`,
|
||||
preview: `${!!preview}`,
|
||||
editable: `${!!editable}`,
|
||||
})}`}
|
||||
height={height}
|
||||
allowScripts
|
||||
noScroll
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CodePenEmbed;
|
@ -1,2 +0,0 @@
|
||||
export * from "./CodePenEmbed";
|
||||
export { default } from "./CodePenEmbed";
|
@ -1,6 +0,0 @@
|
||||
.comments {
|
||||
margin-top: 2em;
|
||||
padding-top: 2em;
|
||||
border-top: 2px solid var(--colors-light);
|
||||
min-height: 360px;
|
||||
}
|
@ -1,44 +1,37 @@
|
||||
"use client";
|
||||
|
||||
import Giscus from "@giscus/react";
|
||||
import clsx from "clsx";
|
||||
import useTheme from "../../hooks/useTheme";
|
||||
import config from "../../lib/config";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
import type { GiscusProps } from "@giscus/react";
|
||||
|
||||
import styles from "./Comments.module.css";
|
||||
|
||||
export type CommentsProps = ComponentPropsWithoutRef<"div"> & {
|
||||
export type CommentsProps = {
|
||||
title: string;
|
||||
};
|
||||
|
||||
const Comments = ({ title, className, ...rest }: CommentsProps) => {
|
||||
const { theme } = useTheme();
|
||||
|
||||
const Comments = ({ title }: CommentsProps) => {
|
||||
// fail silently if giscus isn't configured
|
||||
if (!config.giscusConfig) {
|
||||
console.warn("Giscus isn't configured in lib/config/index.js.");
|
||||
console.warn(
|
||||
"[giscus] not configured, ensure giscusConfig.repoId and giscusConfig.categoryId are set in lib/config/index.js"
|
||||
);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
// TODO: use custom `<Loading />` spinner component during suspense
|
||||
return (
|
||||
<div className={clsx(styles.comments, className)} {...rest}>
|
||||
<Giscus
|
||||
repo={config.githubRepo as GiscusProps["repo"]}
|
||||
repoId={config.giscusConfig.repoId}
|
||||
term={title}
|
||||
category="Comments"
|
||||
categoryId={config.giscusConfig.categoryId}
|
||||
mapping="specific"
|
||||
reactionsEnabled="1"
|
||||
emitMetadata="0"
|
||||
inputPosition="top"
|
||||
loading="lazy"
|
||||
theme={theme === "dark" ? theme : "light"}
|
||||
/>
|
||||
</div>
|
||||
<Giscus
|
||||
repo={config.githubRepo as GiscusProps["repo"]}
|
||||
repoId={config.giscusConfig.repoId}
|
||||
term={title}
|
||||
category="Comments"
|
||||
categoryId={config.giscusConfig.categoryId}
|
||||
mapping="specific"
|
||||
reactionsEnabled="1"
|
||||
emitMetadata="0"
|
||||
inputPosition="top"
|
||||
loading="lazy"
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
|
43
components/Gist/Gist.tsx
Normal file
43
components/Gist/Gist.tsx
Normal file
@ -0,0 +1,43 @@
|
||||
import Link from "../Link";
|
||||
|
||||
export type GistProps = {
|
||||
id: string;
|
||||
file?: string;
|
||||
};
|
||||
|
||||
const Gist = async ({ id, file }: GistProps) => {
|
||||
const iframeId = `gist-${id}${file ? `-${file}` : ""}`;
|
||||
|
||||
const scriptUrl = `https://gist.github.com/${id}.js${file ? `?file=${file}` : ""}`;
|
||||
const scriptResponse = await fetch(scriptUrl);
|
||||
|
||||
if (!scriptResponse.ok) {
|
||||
console.warn(`[gist] fetching js for https://gist.github.com/${id} failed:`, scriptResponse.statusText);
|
||||
|
||||
return (
|
||||
<p style={{ textAlign: "center" }}>
|
||||
Failed to load gist.{" "}
|
||||
<Link href={`https://gist.github.com/${id}${file ? `?file=${file}` : ""}`}>Try opening it manually?</Link>
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
||||
const script = await scriptResponse.text();
|
||||
|
||||
// https://github.com/tleunen/react-gist/blob/master/src/index.js#L29
|
||||
const iframeHtml = `<html><head><base target="_parent"></head><body onload="parent.document.getElementById('${iframeId}').style.height=document.body.scrollHeight + 'px'" style="margin:0"><script>${script}</script></body></html>`;
|
||||
|
||||
return (
|
||||
<iframe
|
||||
width="100%"
|
||||
scrolling="no"
|
||||
id={iframeId}
|
||||
srcDoc={iframeHtml}
|
||||
sandbox="allow-same-origin allow-scripts allow-popups allow-top-navigation-by-user-activation"
|
||||
style={{ border: "0", overflow: "hidden" }}
|
||||
suppressHydrationWarning
|
||||
></iframe>
|
||||
);
|
||||
};
|
||||
|
||||
export default Gist;
|
2
components/Gist/index.ts
Normal file
2
components/Gist/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from "./Gist";
|
||||
export { default } from "./Gist";
|
@ -1,37 +0,0 @@
|
||||
"use client";
|
||||
|
||||
import Frame from "react-frame-component";
|
||||
import useHasMounted from "../../hooks/useHasMounted";
|
||||
|
||||
export type GistEmbedProps = {
|
||||
id: string;
|
||||
file?: string;
|
||||
};
|
||||
|
||||
const GistEmbed = ({ id, file }: GistEmbedProps) => {
|
||||
const hasMounted = useHasMounted();
|
||||
|
||||
const scriptUrl = `https://gist.github.com/${id}.js${file ? `?file=${file}` : ""}`;
|
||||
const iframeId = file ? `gist-${id}-${file}` : `gist-${id}`;
|
||||
// https://github.com/tleunen/react-gist/blob/master/src/index.js#L29
|
||||
const iframeHtml = `<html><head><base target="_parent"><style>*{font-size:12px;}</style></head><body onload="parent.document.getElementById('${iframeId}').style.height=document.body.scrollHeight + 'px'" style="margin:0;"><script type="text/javascript" src="${scriptUrl}"></script></body></html>`;
|
||||
|
||||
return (
|
||||
<>
|
||||
{hasMounted && (
|
||||
<Frame
|
||||
width="100%"
|
||||
frameBorder={0}
|
||||
scrolling="no"
|
||||
id={iframeId}
|
||||
initialContent={iframeHtml}
|
||||
style={{ height: "0px", overflow: "hidden" }}
|
||||
>
|
||||
<></>
|
||||
</Frame>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default GistEmbed;
|
@ -1,2 +0,0 @@
|
||||
export * from "./GistEmbed";
|
||||
export { default } from "./GistEmbed";
|
@ -1,7 +0,0 @@
|
||||
.iframe {
|
||||
width: 100%;
|
||||
display: block;
|
||||
margin: 1em auto;
|
||||
border: 2px solid var(--colors-kindaLight);
|
||||
border-radius: var(--radii-corner);
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
import clsx from "clsx";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import styles from "./IFrame.module.css";
|
||||
|
||||
export type IFrameProps = ComponentPropsWithoutRef<"iframe"> & {
|
||||
src: string;
|
||||
height: number;
|
||||
width?: number; // defaults to 100%
|
||||
allowScripts?: boolean;
|
||||
noScroll?: boolean;
|
||||
};
|
||||
|
||||
const IFrame = ({ src, title, height, width, allowScripts, noScroll, className, style, ...rest }: IFrameProps) => {
|
||||
return (
|
||||
<iframe
|
||||
src={src}
|
||||
title={title}
|
||||
sandbox={allowScripts ? "allow-same-origin allow-scripts allow-popups" : undefined}
|
||||
scrolling={noScroll ? "no" : undefined}
|
||||
loading="lazy"
|
||||
className={clsx(styles.iframe, className)}
|
||||
style={{
|
||||
height: `${height}px`,
|
||||
maxWidth: width ? `${width}px` : "100%",
|
||||
...style,
|
||||
}}
|
||||
{...rest}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default IFrame;
|
@ -1,2 +0,0 @@
|
||||
export * from "./IFrame";
|
||||
export { default } from "./IFrame";
|
@ -1,30 +0,0 @@
|
||||
import clsx from "clsx";
|
||||
import Header from "../Header";
|
||||
import Footer from "../Footer";
|
||||
import { SkipToContentLink, SkipToContentTarget } from "../SkipToContent";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import styles from "./Layout.module.css";
|
||||
|
||||
export type LayoutProps = ComponentPropsWithoutRef<"div">;
|
||||
|
||||
const Layout = ({ className, children, ...rest }: LayoutProps) => {
|
||||
return (
|
||||
<>
|
||||
<SkipToContentLink />
|
||||
|
||||
<div className={clsx(styles.flex, className)} {...rest}>
|
||||
<Header />
|
||||
|
||||
<main className={styles.default}>
|
||||
<SkipToContentTarget />
|
||||
<div className={styles.container}>{children}</div>
|
||||
</main>
|
||||
|
||||
<Footer />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout;
|
@ -1,2 +0,0 @@
|
||||
export * from "./Layout";
|
||||
export { default } from "./Layout";
|
@ -2,18 +2,18 @@ import clsx from "clsx";
|
||||
import Link from "../Link";
|
||||
import type { Route } from "next";
|
||||
import type { IconType } from "react-icons";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import styles from "./MenuItem.module.css";
|
||||
|
||||
export type MenuItemProps = {
|
||||
export type MenuItemProps = Omit<ComponentPropsWithoutRef<typeof Link>, "href"> & {
|
||||
text?: string;
|
||||
href?: Route;
|
||||
icon?: IconType;
|
||||
current?: boolean;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
const MenuItem = ({ text, href, icon, current, className }: MenuItemProps) => {
|
||||
const MenuItem = ({ text, href, icon, current, className, ...rest }: MenuItemProps) => {
|
||||
const Icon = icon;
|
||||
|
||||
const item = (
|
||||
@ -32,6 +32,7 @@ const MenuItem = ({ text, href, icon, current, className }: MenuItemProps) => {
|
||||
title={text}
|
||||
plain
|
||||
aria-label={text}
|
||||
{...rest}
|
||||
>
|
||||
{item}
|
||||
</Link>
|
||||
|
@ -1,16 +0,0 @@
|
||||
.octocatLink {
|
||||
margin: 0 0.4em;
|
||||
color: var(--colors-text) !important;
|
||||
}
|
||||
|
||||
.octocatLink:hover,
|
||||
.octocatLink:focus-visible {
|
||||
color: var(--colors-link) !important;
|
||||
}
|
||||
|
||||
.octocat {
|
||||
display: inline;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
vertical-align: -0.2em;
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
import Link from "../Link";
|
||||
import { SiGithub } from "react-icons/si";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import styles from "./OctocatLink.module.css";
|
||||
import clsx from "clsx";
|
||||
|
||||
export type OctocatLinkProps = Omit<ComponentPropsWithoutRef<typeof Link>, "href"> & {
|
||||
repo: string;
|
||||
};
|
||||
|
||||
const OctocatLink = ({ repo, className, ...rest }: OctocatLinkProps) => {
|
||||
return (
|
||||
<Link href={`https://github.com/${repo}`} plain className={styles.octocatLink} {...rest}>
|
||||
<SiGithub className={clsx(styles.octocat, className)} />
|
||||
</Link>
|
||||
);
|
||||
};
|
||||
|
||||
export default OctocatLink;
|
@ -1,2 +0,0 @@
|
||||
export * from "./OctocatLink";
|
||||
export { default } from "./OctocatLink";
|
@ -1,22 +1,22 @@
|
||||
"use client";
|
||||
|
||||
import useHasMounted from "../../hooks/useHasMounted";
|
||||
import { useHasMounted } from "../../hooks";
|
||||
import { formatDate, formatTimeAgo } from "../../lib/helpers/format-date";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
export type RelativeTimeProps = {
|
||||
export type RelativeTimeProps = ComponentPropsWithoutRef<"time"> & {
|
||||
date: string | number | Date;
|
||||
verb?: string; // optional "Updated", "Published", "Created", etc.
|
||||
staticFormat?: string; // format for the placeholder/fallback before client-side renders the relative time
|
||||
className?: string;
|
||||
};
|
||||
|
||||
const RelativeTime = ({ date, verb, staticFormat, className }: RelativeTimeProps) => {
|
||||
const RelativeTime = ({ date, verb, staticFormat, ...rest }: RelativeTimeProps) => {
|
||||
// play nice with SSR -- only use relative time on the client, since it'll quickly become outdated on the server and
|
||||
// cause a react hydration mismatch error.
|
||||
const hasMounted = useHasMounted();
|
||||
|
||||
return (
|
||||
<time dateTime={formatDate(date)} title={formatDate(date, "MMM D, YYYY, h:mm A z")} className={className}>
|
||||
<time dateTime={formatDate(date)} title={formatDate(date, "MMM D, YYYY, h:mm A z")} {...rest}>
|
||||
{verb && `${verb} `}
|
||||
{hasMounted ? formatTimeAgo(date, { suffix: true }) : `on ${formatDate(date, staticFormat)}`}
|
||||
</time>
|
||||
|
@ -2,9 +2,7 @@
|
||||
|
||||
import { useEffect, useId } from "react";
|
||||
import { animated, Globals, useSpring, useReducedMotion } from "@react-spring/web";
|
||||
import useFirstMountState from "../../hooks/useFirstMountState";
|
||||
import useTheme from "../../hooks/useTheme";
|
||||
import useHasMounted from "../../hooks/useHasMounted";
|
||||
import { useFirstMountState, useHasMounted, useTheme } from "../../hooks";
|
||||
|
||||
import styles from "./ThemeToggle.module.css";
|
||||
|
||||
|
@ -5,14 +5,14 @@ import { getTweet } from "react-tweet/api";
|
||||
import clsx from "clsx";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import styles from "./TweetEmbed.module.css";
|
||||
import styles from "./Tweet.module.css";
|
||||
|
||||
export type TweetEmbedProps = Omit<ComponentPropsWithoutRef<typeof EmbeddedTweet>, "tweet"> & {
|
||||
export type TweetProps = Omit<ComponentPropsWithoutRef<typeof EmbeddedTweet>, "tweet"> & {
|
||||
id: string;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
const TweetEmbed = async ({ id, className, ...rest }: TweetEmbedProps) => {
|
||||
const Tweet = async ({ id, className, ...rest }: TweetProps) => {
|
||||
try {
|
||||
const tweet = await getTweet(id);
|
||||
|
||||
@ -40,8 +40,12 @@ const TweetEmbed = async ({ id, className, ...rest }: TweetEmbedProps) => {
|
||||
} catch (
|
||||
error // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
) {
|
||||
return <TweetNotFound />;
|
||||
return (
|
||||
<div className={clsx(styles.tweet, className)}>
|
||||
<TweetNotFound />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export default TweetEmbed;
|
||||
export default Tweet;
|
2
components/Tweet/index.ts
Normal file
2
components/Tweet/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from "./Tweet";
|
||||
export { default } from "./Tweet";
|
@ -1,2 +0,0 @@
|
||||
export * from "./TweetEmbed";
|
||||
export { default } from "./TweetEmbed";
|
@ -4,42 +4,43 @@ import type { ComponentPropsWithoutRef } from "react";
|
||||
import styles from "./Video.module.css";
|
||||
|
||||
export type VideoProps = Omit<Partial<ComponentPropsWithoutRef<"video">>, "src"> & {
|
||||
src: {
|
||||
// at least one is required:
|
||||
webm?: string;
|
||||
mp4?: string;
|
||||
// optional:
|
||||
vtt?: string;
|
||||
};
|
||||
src: string[];
|
||||
poster?: string;
|
||||
autoplay?: boolean;
|
||||
responsive?: boolean;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
const Video = ({ src, poster, autoplay = false, responsive = true, className, ...rest }: VideoProps) => {
|
||||
if (!src || (!src.mp4 && !src.webm)) {
|
||||
throw new Error("'src' prop must include either 'mp4' or 'webm' URL.");
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={clsx(styles.wrapper, responsive && styles.responsive, className)}>
|
||||
<video
|
||||
width="100%"
|
||||
height="100%"
|
||||
className={styles.player}
|
||||
preload={autoplay ? "auto" : "metadata"}
|
||||
controls={!autoplay}
|
||||
autoPlay={autoplay || undefined}
|
||||
playsInline={autoplay} // safari autoplay workaround
|
||||
loop={autoplay || undefined}
|
||||
muted={autoplay || undefined}
|
||||
poster={poster}
|
||||
{...(autoplay
|
||||
? {
|
||||
preload: "auto",
|
||||
controls: false,
|
||||
autoPlay: true,
|
||||
playsInline: true, // safari autoplay workaround
|
||||
loop: true,
|
||||
muted: true,
|
||||
}
|
||||
: {
|
||||
preload: "metadata",
|
||||
controls: true,
|
||||
})}
|
||||
{...rest}
|
||||
>
|
||||
{src.webm && <source key={src.webm} src={src.webm} type="video/webm" />}
|
||||
{src.mp4 && <source key={src.mp4} src={src.mp4} type="video/mp4" />}
|
||||
{src.vtt && <track key={src.vtt} kind="subtitles" src={src.vtt} srcLang="en" label="English" default />}
|
||||
{src.map((file) => {
|
||||
const extension = file.split(".").pop();
|
||||
if (extension === "vtt") {
|
||||
return <track key={file} kind="subtitles" src={file} srcLang="en" label="English" default />;
|
||||
} else {
|
||||
return <source key={file} src={file} type={`video/${file.split(".").pop()}`} />;
|
||||
}
|
||||
})}
|
||||
</video>
|
||||
</div>
|
||||
);
|
||||
|
3
components/YouTube/YouTube.module.css
Normal file
3
components/YouTube/YouTube.module.css
Normal file
@ -0,0 +1,3 @@
|
||||
.wrapper :global(lite-youtube) {
|
||||
margin: 0 auto;
|
||||
}
|
17
components/YouTube/YouTube.tsx
Normal file
17
components/YouTube/YouTube.tsx
Normal file
@ -0,0 +1,17 @@
|
||||
import { YouTubeEmbed } from "@next/third-parties/google";
|
||||
|
||||
import styles from "./YouTube.module.css";
|
||||
|
||||
export type YouTubeProps = {
|
||||
id: string;
|
||||
};
|
||||
|
||||
const YouTube = ({ id }: YouTubeProps) => {
|
||||
return (
|
||||
<div className={styles.wrapper}>
|
||||
<YouTubeEmbed videoid={id} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default YouTube;
|
2
components/YouTube/index.ts
Normal file
2
components/YouTube/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from "./YouTube";
|
||||
export { default } from "./YouTube";
|
@ -1,15 +0,0 @@
|
||||
.wrapper {
|
||||
position: relative;
|
||||
padding-top: 56.25%; /* ratio of 1280x720 */
|
||||
}
|
||||
|
||||
.player {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.player .react-player__preview,
|
||||
.player iframe {
|
||||
border-radius: var(--radii-corner);
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
import clsx from "clsx";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import styles from "./YouTubeEmbed.module.css";
|
||||
|
||||
export type YouTubeEmbedProps = ComponentPropsWithoutRef<"div"> & {
|
||||
id: string;
|
||||
};
|
||||
|
||||
const YouTubeEmbed = ({ id, className, ...rest }: YouTubeEmbedProps) => {
|
||||
return (
|
||||
<div className={clsx(styles.wrapper, className)} {...rest}>
|
||||
<iframe
|
||||
src={`https://www.youtube-nocookie.com/embed/${id}`}
|
||||
className={styles.player}
|
||||
width="100%"
|
||||
height="100%"
|
||||
frameBorder="0"
|
||||
loading="lazy"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowFullScreen
|
||||
></iframe>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default YouTubeEmbed;
|
@ -1,2 +0,0 @@
|
||||
export * from "./YouTubeEmbed";
|
||||
export { default } from "./YouTubeEmbed";
|
@ -1,8 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { createContext, useCallback, useEffect, useState } from "react";
|
||||
import useLocalStorage from "../hooks/useLocalStorage";
|
||||
import useMedia from "../hooks/useMedia";
|
||||
import { useLocalStorage, useMediaQuery } from "../hooks";
|
||||
import type { Context, PropsWithChildren } from "react";
|
||||
|
||||
type Themes = "light" | "dark";
|
||||
@ -29,7 +28,7 @@ export const ThemeProvider = ({ children }: PropsWithChildren) => {
|
||||
const [systemTheme, setSystemTheme] = useState<Themes>("" as Themes);
|
||||
// hook into system `prefers-dark-mode` setting
|
||||
// https://web.dev/prefers-color-scheme/#the-prefers-color-scheme-media-query
|
||||
const isSystemDark = useMedia("(prefers-color-scheme: dark)");
|
||||
const isSystemDark = useMediaQuery("(prefers-color-scheme: dark)");
|
||||
|
||||
// updates the DOM and optionally saves the new theme to local storage
|
||||
const applyTheme = useCallback(
|
||||
|
@ -62,6 +62,7 @@ export default [
|
||||
"mdx/remark": "warn",
|
||||
"mdx/code-blocks": "off",
|
||||
"react/jsx-no-undef": "off", // components are injected automatically from mdx-components.ts
|
||||
"react/no-unescaped-entities": "off",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
5
hooks/index.ts
Normal file
5
hooks/index.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export { default as useFirstMountState } from "./useFirstMountState";
|
||||
export { default as useHasMounted } from "./useHasMounted";
|
||||
export { default as useLocalStorage } from "./useLocalStorage";
|
||||
export { default as useMediaQuery } from "./useMediaQuery";
|
||||
export { default as useTheme } from "./useTheme";
|
@ -2,7 +2,7 @@
|
||||
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
const useMedia = (query: string, defaultState?: boolean): boolean => {
|
||||
const useMediaQuery = (query: string, defaultState?: boolean): boolean => {
|
||||
const [state, setState] = useState(() => {
|
||||
if (defaultState !== undefined) {
|
||||
return defaultState;
|
||||
@ -38,4 +38,4 @@ const useMedia = (query: string, defaultState?: boolean): boolean => {
|
||||
return state;
|
||||
};
|
||||
|
||||
export default useMedia;
|
||||
export default useMediaQuery;
|
@ -1,3 +1,4 @@
|
||||
export { default as rehypeMdxImportMedia } from "rehype-mdx-import-media";
|
||||
export { default as rehypePrism } from "rehype-prism-plus";
|
||||
export { default as rehypeSanitize } from "rehype-sanitize";
|
||||
export { default as rehypeSlug } from "rehype-slug";
|
||||
@ -7,6 +8,3 @@ export { default as remarkGfm } from "remark-gfm";
|
||||
export { default as remarkParse } from "remark-parse";
|
||||
export { default as remarkRehype } from "remark-rehype";
|
||||
export { default as remarkSmartypants } from "remark-smartypants";
|
||||
|
||||
// @ts-ignore
|
||||
export { default as rehypeMdxImportMedia } from "rehype-mdx-import-media";
|
||||
|
@ -1,20 +1,18 @@
|
||||
import type { MDXComponents } from "mdx/types";
|
||||
|
||||
import Image from "./components/Image";
|
||||
import Figure from "./components/Figure";
|
||||
import Link from "./components/Link";
|
||||
import Code from "./components/Code";
|
||||
import Blockquote from "./components/Blockquote";
|
||||
import HorizontalRule from "./components/HorizontalRule";
|
||||
import * as Heading from "./components/Heading";
|
||||
import * as List from "./components/List";
|
||||
import Tweet from "./components/TweetEmbed";
|
||||
import IFrame from "./components/IFrame";
|
||||
import Figure from "./components/Figure";
|
||||
import Video from "./components/Video";
|
||||
import YouTube from "./components/YouTubeEmbed";
|
||||
import Gist from "./components/GistEmbed";
|
||||
import CodePen from "./components/CodePenEmbed";
|
||||
import OctocatLink from "./components/OctocatLink";
|
||||
import Tweet from "./components/Tweet";
|
||||
import YouTube from "./components/YouTube";
|
||||
import Gist from "./components/Gist";
|
||||
import CodePen from "./components/CodePen";
|
||||
|
||||
export function useMDXComponents(components: MDXComponents): MDXComponents {
|
||||
return {
|
||||
@ -36,14 +34,14 @@ export function useMDXComponents(components: MDXComponents): MDXComponents {
|
||||
ol: List.OrderedList,
|
||||
li: List.ListItem,
|
||||
|
||||
// non-native components:
|
||||
// html components with custom props:
|
||||
Figure,
|
||||
IFrame,
|
||||
Video,
|
||||
YouTube,
|
||||
|
||||
// third-party embeds:
|
||||
Tweet,
|
||||
YouTube,
|
||||
Gist,
|
||||
CodePen,
|
||||
OctocatLink,
|
||||
};
|
||||
}
|
||||
|
@ -39,10 +39,10 @@ Using either feature, a volunteer starts with a search of the database for the v
|
||||
Here's one of the instructional videos provided internally to volunteers:
|
||||
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/bernie-sanders-bern-app-data/friend-to-friend.webm",
|
||||
mp4: "/static/bernie-sanders-bern-app-data/friend-to-friend.mp4",
|
||||
}}
|
||||
src={[
|
||||
"/static/bernie-sanders-bern-app-data/friend-to-friend.webm",
|
||||
"/static/bernie-sanders-bern-app-data/friend-to-friend.mp4",
|
||||
]}
|
||||
poster="/static/bernie-sanders-bern-app-data/poster-friend-to-friend.png"
|
||||
/>
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
import Link from "../../components/Link";
|
||||
import { SiGithub } from "react-icons/si";
|
||||
import featuredImage from "./covid19dashboards.png";
|
||||
|
||||
export const frontmatter = {
|
||||
@ -9,6 +11,18 @@ export const frontmatter = {
|
||||
image: featuredImage.src,
|
||||
};
|
||||
|
||||
export const OctocatLink = ({ repo }) => {
|
||||
return (
|
||||
<Link
|
||||
href={`https://github.com/${repo}`}
|
||||
plain
|
||||
style={{ margin: "0 0.4em", color: "var(--colors-text) !important" }}
|
||||
>
|
||||
<SiGithub style={{ display: "inline", height: "1.2em", width: "1.2em", verticalAlign: "-0.2em" }} />
|
||||
</Link>
|
||||
);
|
||||
};
|
||||
|
||||
We're all quickly learning that worldwide pandemics can bring out both [the best](https://www.vox.com/culture/2020/3/13/21179293/coronavirus-italy-covid19-music-balconies-sing) and [the worst](https://twitter.com/9NewsAUS/status/1236088663093608448) of humanity. But one thing has become readily apparent to me — outside of the large teams of medical professionals risking their lives right this minute, the open source community stands alone in its ability to rapidly organize in the midst of chaos to give back to the world and, in this case, make it safer for all of us.
|
||||
|
||||
These are just a few incredible open source projects that didn't exist a few months ago, but rapidly formed teams of dozens of contributors to fill both big needs and small niches in the fight to defeat the novel coronavirus, aka [**COVID-19**](https://www.cdc.gov/coronavirus/2019-nCoV/index.html).
|
||||
@ -90,10 +104,7 @@ You can [download their software here](https://foldingathome.org/start-folding/)
|
||||
**Fun fact:** The team behind Folding@home has seen a [**huge** spike in computational power](https://www.reddit.com/r/pcmasterrace/comments/flgm7q/ama_with_the_team_behind_foldinghome_coronavirus/) this month after cryptominers started mining coronavirus proteins instead of boring, old Ethereum with their insanely overpowered GPUs! 👏
|
||||
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/coronavirus-open-source/folding.webm",
|
||||
mp4: "/static/coronavirus-open-source/folding.mp4",
|
||||
}}
|
||||
src={["/static/coronavirus-open-source/folding.webm", "/static/coronavirus-open-source/folding.mp4"]}
|
||||
poster="/static/coronavirus-open-source/folding-thumb.png"
|
||||
autoplay
|
||||
/>
|
||||
|
@ -23,14 +23,13 @@ I've written a simple implementation below, which...
|
||||
|
||||
...meaning that any CSS selectors beginning with `body.dark` or `body.light` will only apply when the respective mode is active. A good place to start is by separating any color rules — your background, text, links, etc. — into a different section of your CSS. Using [SASS or SCSS](https://sass-lang.com/) makes this a whole lot [easier with nesting](https://sass-lang.com/guide#topic-3) but is not required; this was written with a [KISS](https://www.youtube-nocookie.com/embed/O58A7MJfOwU?hl=en&fs=1&showinfo=1&rel=0&iv_load_policy=3) mentality.
|
||||
|
||||
<IFrame
|
||||
<iframe
|
||||
src="https://jakejarvis.github.io/dark-mode-example/"
|
||||
title="Dark Mode Example"
|
||||
loading="lazy"
|
||||
height={190}
|
||||
width={650}
|
||||
allowScripts
|
||||
/>
|
||||
style={{ height: "190px", width: "100%" }}
|
||||
sandbox="allow-same-origin allow-scripts allow-popups allow-top-navigation-by-user-activation"
|
||||
></iframe>
|
||||
|
||||
A _very_ barebones example is embedded above ([view the source here](https://github.com/jakejarvis/dark-mode-example), or [open in a new window](https://jakejarvis.github.io/dark-mode-example/) if your browser is blocking the frame) and you can try it out on this site by clicking the 💡 lightbulb in the upper right corner of this page. You'll notice that the dark theme sticks when refreshing this page, navigating between other pages, or if you were to return to this example weeks from now.
|
||||
|
||||
|
@ -27,10 +27,7 @@ Decisions made by the top folks at Dropbox gave me an increasingly sour taste in
|
||||
- ...and as a bonus, making the process of canceling Dropbox Pro incredibly convoluted, annoying, and sketchy. Here's a video demonstration via [Justin Dunham](https://twitter.com/jwyattd):
|
||||
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/dropping-dropbox/cancel.webm",
|
||||
mp4: "/static/dropping-dropbox/cancel.mp4",
|
||||
}}
|
||||
src={["/static/dropping-dropbox/cancel.webm", "/static/dropping-dropbox/cancel.mp4"]}
|
||||
poster="/static/dropping-dropbox/cancel.png"
|
||||
/>
|
||||
|
||||
|
@ -43,9 +43,5 @@ As [Bill Maher](https://medium.com/u/cdc04a9799f6) (an avid Bernie supporter) [s
|
||||
**Update:** The campaign has included my snowy New Hampshire interaction with her in one of the DNC convention videos! See a few short seconds of my joy at 1:24.
|
||||
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/hillary/convention-720p.webm",
|
||||
mp4: "/static/hillary/convention-720p.mp4",
|
||||
vtt: "/static/hillary/subs.en.vtt",
|
||||
}}
|
||||
src={["/static/hillary/convention-720p.webm", "/static/hillary/convention-720p.mp4", "/static/hillary/subs.en.vtt"]}
|
||||
/>
|
||||
|
@ -25,10 +25,10 @@ I'm a _huge_ sucker for Kate McKinnon's spot-on impression of Warren on Saturday
|
||||
Although the designer who selected this GIF likely had _thousands_ of choices when searching "[Bernie finger wagging GIF](https://www.google.com/search?q=Bernie+finger+wagging+GIF&tbm=isch&tbs=itp:animated)," the text beside it is well-written and funny — even though we both know putting a page at [berniesanders.com/zxcliaosid](https://berniesanders.com/zxcliaosid/) probably won't be a top priority of a President Sanders.
|
||||
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/presidential-candidates-404-pages/sanders.webm",
|
||||
mp4: "/static/presidential-candidates-404-pages/sanders.mp4",
|
||||
}}
|
||||
src={[
|
||||
"/static/presidential-candidates-404-pages/sanders.webm",
|
||||
"/static/presidential-candidates-404-pages/sanders.mp4",
|
||||
]}
|
||||
autoplay
|
||||
/>
|
||||
|
||||
@ -43,10 +43,10 @@ Uncle Joe has a nice and simple 404 page. I like it, along with the Ray-Bans and
|
||||
A ballsy move, considering Beto's infamous [DUI arrest](https://www.politifact.com/texas/statements/2019/mar/14/club-growth/beto-orourke-arrested-dwi-flee-scene/) in the '90s — but still a clever ask for a donation and a great use of a GIF, even if it's left over from his Senate campaign.
|
||||
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/presidential-candidates-404-pages/orourke.webm",
|
||||
mp4: "/static/presidential-candidates-404-pages/orourke.mp4",
|
||||
}}
|
||||
src={[
|
||||
"/static/presidential-candidates-404-pages/orourke.webm",
|
||||
"/static/presidential-candidates-404-pages/orourke.mp4",
|
||||
]}
|
||||
autoplay
|
||||
/>
|
||||
|
||||
@ -55,10 +55,10 @@ A ballsy move, considering Beto's infamous [DUI arrest](https://www.politifact.c
|
||||
Another clean and simple page with a top-notch GIF. It injected some emotion into visiting [kamalaharris.com/alskdjf](https://kamalaharris.com/alskdjf).
|
||||
|
||||
<Video
|
||||
src={{
|
||||
webm: "/static/presidential-candidates-404-pages/harris.webm",
|
||||
mp4: "/static/presidential-candidates-404-pages/harris.mp4",
|
||||
}}
|
||||
src={[
|
||||
"/static/presidential-candidates-404-pages/harris.webm",
|
||||
"/static/presidential-candidates-404-pages/harris.mp4",
|
||||
]}
|
||||
autoplay
|
||||
/>
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
"@mdx-js/react": "^3.1.0",
|
||||
"@next/bundle-analyzer": "15.2.2-canary.3",
|
||||
"@next/mdx": "15.2.2-canary.3",
|
||||
"@next/third-parties": "15.2.2-canary.3",
|
||||
"@octokit/graphql": "^8.2.1",
|
||||
"@octokit/graphql-schema": "^15.26.0",
|
||||
"@prisma/client": "^6.4.1",
|
||||
@ -46,7 +47,6 @@
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
"react-error-boundary": "^5.0.0",
|
||||
"react-frame-component": "^5.2.7",
|
||||
"react-icons": "5.5.0",
|
||||
"react-innertext": "^1.1.5",
|
||||
"react-is": "19.0.0",
|
||||
@ -81,7 +81,7 @@
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^9.21.0",
|
||||
"eslint-config-next": "15.2.2-canary.3",
|
||||
"eslint-config-prettier": "^10.0.2",
|
||||
"eslint-config-prettier": "^10.1.1",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||
"eslint-plugin-mdx": "^3.1.5",
|
||||
|
84
pnpm-lock.yaml
generated
84
pnpm-lock.yaml
generated
@ -23,6 +23,9 @@ importers:
|
||||
'@next/mdx':
|
||||
specifier: 15.2.2-canary.3
|
||||
version: 15.2.2-canary.3(@mdx-js/loader@3.1.0(acorn@8.14.1))(@mdx-js/react@3.1.0(@types/react@19.0.10)(react@19.0.0))
|
||||
'@next/third-parties':
|
||||
specifier: 15.2.2-canary.3
|
||||
version: 15.2.2-canary.3(next@15.2.2-canary.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0)
|
||||
'@octokit/graphql':
|
||||
specifier: ^8.2.1
|
||||
version: 8.2.1
|
||||
@ -89,9 +92,6 @@ importers:
|
||||
react-error-boundary:
|
||||
specifier: ^5.0.0
|
||||
version: 5.0.0(react@19.0.0)
|
||||
react-frame-component:
|
||||
specifier: ^5.2.7
|
||||
version: 5.2.7(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
|
||||
react-icons:
|
||||
specifier: 5.5.0
|
||||
version: 5.5.0(react@19.0.0)
|
||||
@ -190,8 +190,8 @@ importers:
|
||||
specifier: 15.2.2-canary.3
|
||||
version: 15.2.2-canary.3(eslint@9.21.0)(typescript@5.8.2)
|
||||
eslint-config-prettier:
|
||||
specifier: ^10.0.2
|
||||
version: 10.0.2(eslint@9.21.0)
|
||||
specifier: ^10.1.1
|
||||
version: 10.1.1(eslint@9.21.0)
|
||||
eslint-plugin-import:
|
||||
specifier: ^2.31.0
|
||||
version: 2.31.0(@typescript-eslint/parser@8.26.0(eslint@9.21.0)(typescript@5.8.2))(eslint-import-resolver-typescript@3.8.3)(eslint@9.21.0)
|
||||
@ -203,7 +203,7 @@ importers:
|
||||
version: 3.1.5(eslint@9.21.0)
|
||||
eslint-plugin-prettier:
|
||||
specifier: ^5.2.3
|
||||
version: 5.2.3(eslint-config-prettier@10.0.2(eslint@9.21.0))(eslint@9.21.0)(prettier@3.5.3)
|
||||
version: 5.2.3(eslint-config-prettier@10.1.1(eslint@9.21.0))(eslint@9.21.0)(prettier@3.5.3)
|
||||
eslint-plugin-react:
|
||||
specifier: ^7.37.4
|
||||
version: 7.37.4(eslint@9.21.0)
|
||||
@ -669,6 +669,12 @@ packages:
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@next/third-parties@15.2.2-canary.3':
|
||||
resolution: {integrity: sha512-Vya2X/0G3fKck0WMCIiLVTfvUqrRdgYOdPA6TMza3+qMC0K5WnPMR2gj8SgXb4GHGeKLnObME80QNWr+vabdlw==}
|
||||
peerDependencies:
|
||||
next: ^13.0.0 || ^14.0.0 || ^15.0.0
|
||||
react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
|
||||
|
||||
'@nodelib/fs.scandir@2.1.5':
|
||||
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
||||
engines: {node: '>= 8'}
|
||||
@ -1283,8 +1289,8 @@ packages:
|
||||
supports-color:
|
||||
optional: true
|
||||
|
||||
decode-named-character-reference@1.0.2:
|
||||
resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==}
|
||||
decode-named-character-reference@1.1.0:
|
||||
resolution: {integrity: sha512-Wy+JTSbFThEOXQIR2L6mxJvEs+veIzpmqD7ynWxMXGpnk3smkHQOp6forLdHsKpAMW9iJpaBBIxz285t1n1C3w==}
|
||||
|
||||
deep-is@0.1.4:
|
||||
resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
|
||||
@ -1440,8 +1446,8 @@ packages:
|
||||
typescript:
|
||||
optional: true
|
||||
|
||||
eslint-config-prettier@10.0.2:
|
||||
resolution: {integrity: sha512-1105/17ZIMjmCOJOPNfVdbXafLCLj3hPmkmB7dLgt7XsQ/zkxSuDerE/xgO3RxoHysR1N1whmquY0lSn2O0VLg==}
|
||||
eslint-config-prettier@10.1.1:
|
||||
resolution: {integrity: sha512-4EQQr6wXwS+ZJSzaR5ZCrYgLxqvUjdXctaEtBqHcbkW944B1NQyO4qpdHQbXBONfwxXdkAY81HH4+LUfrg+zPw==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
eslint: '>=7.0.0'
|
||||
@ -2442,8 +2448,8 @@ packages:
|
||||
ms@2.1.3:
|
||||
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
|
||||
|
||||
nanoid@3.3.8:
|
||||
resolution: {integrity: sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==}
|
||||
nanoid@3.3.9:
|
||||
resolution: {integrity: sha512-SppoicMGpZvbF1l3z4x7No3OlIjP7QJvC9XR7AhZr1kL133KHnKPztkKDc+Ir4aJ/1VhTySrtKhrsycmrMQfvg==}
|
||||
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
||||
hasBin: true
|
||||
|
||||
@ -2725,13 +2731,6 @@ packages:
|
||||
peerDependencies:
|
||||
react: '>=16.13.1'
|
||||
|
||||
react-frame-component@5.2.7:
|
||||
resolution: {integrity: sha512-ROjHtSLoSVYUBfTieazj/nL8jIX9rZFmHC0yXEU+dx6Y82OcBEGgU9o7VyHMrBFUN9FuQ849MtIPNNLsb4krbg==}
|
||||
peerDependencies:
|
||||
prop-types: ^15.5.9
|
||||
react: '>= 16.3'
|
||||
react-dom: '>= 16.3'
|
||||
|
||||
react-icons@5.5.0:
|
||||
resolution: {integrity: sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==}
|
||||
peerDependencies:
|
||||
@ -3145,8 +3144,8 @@ packages:
|
||||
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
|
||||
engines: {node: '>= 0.4'}
|
||||
|
||||
swr@2.3.2:
|
||||
resolution: {integrity: sha512-RosxFpiabojs75IwQ316DGoDRmOqtiAj0tg8wCcbEu4CiLZBs/a9QNtHV7TUfDXmmlgqij/NqzKq/eLelyv9xA==}
|
||||
swr@2.3.3:
|
||||
resolution: {integrity: sha512-dshNvs3ExOqtZ6kJBaAsabhPdHyeY4P2cKwRCniDVifBMoG/SVI7tfLWqPXriVspf2Rg4tPzXJTnwaihIeFw2A==}
|
||||
peerDependencies:
|
||||
react: ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||
|
||||
@ -3158,6 +3157,9 @@ packages:
|
||||
resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==}
|
||||
engines: {node: '>=6'}
|
||||
|
||||
third-party-capital@1.0.20:
|
||||
resolution: {integrity: sha512-oB7yIimd8SuGptespDAZnNkzIz+NWaJCu2RMsbs4Wmp9zSDUM8Nhi3s2OOcqYuv3mN4hitXc8DVx+LyUmbUDiA==}
|
||||
|
||||
tinyglobby@0.2.12:
|
||||
resolution: {integrity: sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==}
|
||||
engines: {node: '>=12.0.0'}
|
||||
@ -3763,6 +3765,12 @@ snapshots:
|
||||
'@next/swc-win32-x64-msvc@15.2.2-canary.3':
|
||||
optional: true
|
||||
|
||||
'@next/third-parties@15.2.2-canary.3(next@15.2.2-canary.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0)':
|
||||
dependencies:
|
||||
next: 15.2.2-canary.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
|
||||
react: 19.0.0
|
||||
third-party-capital: 1.0.20
|
||||
|
||||
'@nodelib/fs.scandir@2.1.5':
|
||||
dependencies:
|
||||
'@nodelib/fs.stat': 2.0.5
|
||||
@ -4412,7 +4420,7 @@ snapshots:
|
||||
dependencies:
|
||||
ms: 2.1.3
|
||||
|
||||
decode-named-character-reference@1.0.2:
|
||||
decode-named-character-reference@1.1.0:
|
||||
dependencies:
|
||||
character-entities: 2.0.2
|
||||
|
||||
@ -4674,7 +4682,7 @@ snapshots:
|
||||
- eslint-plugin-import-x
|
||||
- supports-color
|
||||
|
||||
eslint-config-prettier@10.0.2(eslint@9.21.0):
|
||||
eslint-config-prettier@10.1.1(eslint@9.21.0):
|
||||
dependencies:
|
||||
eslint: 9.21.0
|
||||
|
||||
@ -4803,14 +4811,14 @@ snapshots:
|
||||
- bluebird
|
||||
- supports-color
|
||||
|
||||
eslint-plugin-prettier@5.2.3(eslint-config-prettier@10.0.2(eslint@9.21.0))(eslint@9.21.0)(prettier@3.5.3):
|
||||
eslint-plugin-prettier@5.2.3(eslint-config-prettier@10.1.1(eslint@9.21.0))(eslint@9.21.0)(prettier@3.5.3):
|
||||
dependencies:
|
||||
eslint: 9.21.0
|
||||
prettier: 3.5.3
|
||||
prettier-linter-helpers: 1.0.0
|
||||
synckit: 0.9.2
|
||||
optionalDependencies:
|
||||
eslint-config-prettier: 10.0.2(eslint@9.21.0)
|
||||
eslint-config-prettier: 10.1.1(eslint@9.21.0)
|
||||
|
||||
eslint-plugin-react-hooks@5.2.0(eslint@9.21.0):
|
||||
dependencies:
|
||||
@ -5689,7 +5697,7 @@ snapshots:
|
||||
dependencies:
|
||||
'@types/mdast': 4.0.4
|
||||
'@types/unist': 3.0.3
|
||||
decode-named-character-reference: 1.0.2
|
||||
decode-named-character-reference: 1.1.0
|
||||
devlop: 1.1.0
|
||||
mdast-util-to-string: 4.0.0
|
||||
micromark: 4.0.2
|
||||
@ -5849,7 +5857,7 @@ snapshots:
|
||||
|
||||
micromark-core-commonmark@2.0.3:
|
||||
dependencies:
|
||||
decode-named-character-reference: 1.0.2
|
||||
decode-named-character-reference: 1.1.0
|
||||
devlop: 1.1.0
|
||||
micromark-factory-destination: 2.0.1
|
||||
micromark-factory-label: 2.0.1
|
||||
@ -6046,7 +6054,7 @@ snapshots:
|
||||
|
||||
micromark-util-decode-string@2.0.1:
|
||||
dependencies:
|
||||
decode-named-character-reference: 1.0.2
|
||||
decode-named-character-reference: 1.1.0
|
||||
micromark-util-character: 2.1.1
|
||||
micromark-util-decode-numeric-character-reference: 2.0.2
|
||||
micromark-util-symbol: 2.0.1
|
||||
@ -6102,7 +6110,7 @@ snapshots:
|
||||
dependencies:
|
||||
'@types/debug': 4.1.12
|
||||
debug: 4.4.0
|
||||
decode-named-character-reference: 1.0.2
|
||||
decode-named-character-reference: 1.1.0
|
||||
devlop: 1.1.0
|
||||
micromark-core-commonmark: 2.0.3
|
||||
micromark-factory-space: 2.0.1
|
||||
@ -6153,7 +6161,7 @@ snapshots:
|
||||
|
||||
ms@2.1.3: {}
|
||||
|
||||
nanoid@3.3.8: {}
|
||||
nanoid@3.3.9: {}
|
||||
|
||||
natural-compare@1.4.0: {}
|
||||
|
||||
@ -6323,7 +6331,7 @@ snapshots:
|
||||
'@types/unist': 2.0.11
|
||||
character-entities-legacy: 3.0.0
|
||||
character-reference-invalid: 2.0.1
|
||||
decode-named-character-reference: 1.0.2
|
||||
decode-named-character-reference: 1.1.0
|
||||
is-alphanumerical: 2.0.1
|
||||
is-decimal: 2.0.1
|
||||
is-hexadecimal: 2.0.1
|
||||
@ -6389,7 +6397,7 @@ snapshots:
|
||||
|
||||
postcss@8.4.31:
|
||||
dependencies:
|
||||
nanoid: 3.3.8
|
||||
nanoid: 3.3.9
|
||||
picocolors: 1.1.1
|
||||
source-map-js: 1.2.1
|
||||
|
||||
@ -6447,12 +6455,6 @@ snapshots:
|
||||
'@babel/runtime': 7.26.9
|
||||
react: 19.0.0
|
||||
|
||||
react-frame-component@5.2.7(prop-types@15.8.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0):
|
||||
dependencies:
|
||||
prop-types: 15.8.1
|
||||
react: 19.0.0
|
||||
react-dom: 19.0.0(react@19.0.0)
|
||||
|
||||
react-icons@5.5.0(react@19.0.0):
|
||||
dependencies:
|
||||
react: 19.0.0
|
||||
@ -6490,7 +6492,7 @@ snapshots:
|
||||
clsx: 2.1.1
|
||||
react: 19.0.0
|
||||
react-dom: 19.0.0(react@19.0.0)
|
||||
swr: 2.3.2(react@19.0.0)
|
||||
swr: 2.3.3(react@19.0.0)
|
||||
|
||||
react@19.0.0: {}
|
||||
|
||||
@ -7034,7 +7036,7 @@ snapshots:
|
||||
|
||||
supports-preserve-symlinks-flag@1.0.0: {}
|
||||
|
||||
swr@2.3.2(react@19.0.0):
|
||||
swr@2.3.3(react@19.0.0):
|
||||
dependencies:
|
||||
dequal: 2.0.3
|
||||
react: 19.0.0
|
||||
@ -7047,6 +7049,8 @@ snapshots:
|
||||
|
||||
tapable@2.2.1: {}
|
||||
|
||||
third-party-capital@1.0.20: {}
|
||||
|
||||
tinyglobby@0.2.12:
|
||||
dependencies:
|
||||
fdir: 6.4.3(picomatch@4.0.2)
|
||||
|
@ -14,7 +14,7 @@
|
||||
"incremental": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"moduleResolution": "bundler",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
|
Reference in New Issue
Block a user