mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-05 19:15:30 -04:00
revert a9d83768ca
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
import { Suspense } from "react";
|
||||
import PageTitle from "@/components/layout/page-title";
|
||||
import Comments from "@/components/comments/comments";
|
||||
import CommentsSkeleton from "@/components/comments/comments-skeleton";
|
||||
import { createMetadata } from "@/lib/metadata";
|
||||
|
||||
export const metadata = createMetadata({
|
||||
@@ -10,8 +7,6 @@ export const metadata = createMetadata({
|
||||
canonical: "/cli",
|
||||
});
|
||||
|
||||
export const experimental_ppr = true;
|
||||
|
||||
<PageTitle canonical="/cli">CLI</PageTitle>
|
||||
|
||||
> The [Jake Jarvis](https://jarv.is/) CLI (aka the most useless Node module ever published, in history, by anyone, ever).
|
||||
@@ -39,7 +34,3 @@ npx @jakejarvis/cli
|
||||
## License
|
||||
|
||||
MIT © [Jake Jarvis](https://jarv.is/), [Sindre Sorhus](https://sindresorhus.com/)
|
||||
|
||||
<Suspense fallback={<CommentsSkeleton />}>
|
||||
<Comments slug="uses" />
|
||||
</Suspense>
|
||||
|
||||
+1
-4
@@ -5,7 +5,6 @@ import { SpeedInsights } from "@vercel/speed-insights/next";
|
||||
import { ThemeProvider, ThemeScript } from "@/components/layout/theme-context";
|
||||
import Header from "@/components/layout/header";
|
||||
import Footer from "@/components/layout/footer";
|
||||
import SkipNavButton, { SKIP_NAV_ID } from "@/components/layout/skip-nav";
|
||||
import Toaster from "@/components/ui/sonner";
|
||||
import { defaultMetadata } from "@/lib/metadata";
|
||||
import { GeistMono, GeistSans } from "@/lib/fonts";
|
||||
@@ -66,12 +65,10 @@ const RootLayout = ({ children }: Readonly<{ children: React.ReactNode }>) => {
|
||||
|
||||
<body className="bg-background text-foreground font-sans antialiased">
|
||||
<ThemeProvider>
|
||||
<SkipNavButton />
|
||||
|
||||
<div className="mx-auto w-full max-w-4xl px-5">
|
||||
<Header className="mt-4 mb-6 w-full" />
|
||||
|
||||
<main id={SKIP_NAV_ID}>{children}</main>
|
||||
<main>{children}</main>
|
||||
|
||||
<Footer className="my-6 w-full" />
|
||||
</div>
|
||||
|
||||
@@ -142,9 +142,19 @@ const Page = async ({ params }: { params: Promise<{ slug: string }> }) => {
|
||||
|
||||
<MDXContent />
|
||||
|
||||
<Suspense fallback={<CommentsSkeleton />}>
|
||||
<Comments slug={`${POSTS_DIR}/${frontmatter!.slug}`} closed={frontmatter!.noComments} />
|
||||
</Suspense>
|
||||
<section id="comments" className="isolate my-8 w-full border-t-2 pt-8">
|
||||
<div className="mx-auto w-full max-w-3xl space-y-6">
|
||||
{frontmatter!.noComments ? (
|
||||
<div className="bg-muted/40 flex justify-center rounded-lg px-6 py-12">
|
||||
<p className="text-center text-lg font-medium">Comments are closed.</p>
|
||||
</div>
|
||||
) : (
|
||||
<Suspense fallback={<CommentsSkeleton />}>
|
||||
<Comments slug={`${POSTS_DIR}/${frontmatter!.slug}`} />
|
||||
</Suspense>
|
||||
)}
|
||||
</div>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
import { Suspense } from "react";
|
||||
import PageTitle from "@/components/layout/page-title";
|
||||
import Comments from "@/components/comments/comments";
|
||||
import CommentsSkeleton from "@/components/comments/comments-skeleton";
|
||||
import { createMetadata } from "@/lib/metadata";
|
||||
|
||||
export const metadata = createMetadata({
|
||||
@@ -10,8 +7,6 @@ export const metadata = createMetadata({
|
||||
canonical: "/uses",
|
||||
});
|
||||
|
||||
export const experimental_ppr = true;
|
||||
|
||||
<PageTitle canonical="/uses">Uses</PageTitle>
|
||||
|
||||
~~I regularly get messages asking about which tools I use to work.~~
|
||||
@@ -169,7 +164,3 @@ Other geeky stuff:
|
||||
- 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/)
|
||||
|
||||
<Suspense fallback={<CommentsSkeleton />}>
|
||||
<Comments slug="uses" />
|
||||
</Suspense>
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
import { Suspense } from "react";
|
||||
import PageTitle from "@/components/layout/page-title";
|
||||
import Comments from "@/components/comments/comments";
|
||||
import CommentsSkeleton from "@/components/comments/comments-skeleton";
|
||||
import { createMetadata } from "@/lib/metadata";
|
||||
|
||||
import backgroundImg from "./sundar.jpg";
|
||||
@@ -12,8 +9,6 @@ export const metadata = createMetadata({
|
||||
canonical: "/zip",
|
||||
});
|
||||
|
||||
export const experimental_ppr = true;
|
||||
|
||||
export const Terminal = () => (
|
||||
<div
|
||||
className="relative mx-auto my-6 w-full rounded-lg"
|
||||
@@ -76,7 +71,3 @@ A little-known monopolistic internet conglomorate simply unleashed [multiple](ht
|
||||
- **Kaspersky:** [Beware the .zip and .mov domains!](https://usa.kaspersky.com/blog/zip-mov-domain-extension-confusion/28351/)
|
||||
- **Palo Alto Networks:** [New Top Level Domains .zip and .mov open the door for new attacks](https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000g1wOCAQ)
|
||||
- **Google, twenty years ago:** ["Don't be evil"](https://web.archive.org/web/20050204181615/http://investor.google.com/conduct.html)
|
||||
|
||||
<Suspense fallback={<CommentsSkeleton />}>
|
||||
<Comments slug="zip" />
|
||||
</Suspense>
|
||||
|
||||
Reference in New Issue
Block a user