From 9b58d96ce969caf79cefb1e7da3ef67aaebeb053 Mon Sep 17 00:00:00 2001 From: Nick Oates Date: Sun, 3 Nov 2024 12:07:26 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Format=20w/=20Prettier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/NewsletterForm.tsx | 7 +++---- app/components/Orb.tsx | 5 +---- app/components/SidebarLinks.tsx | 8 ++------ app/lib/mergeMetadata.ts | 3 +-- app/page.tsx | 27 ++++++++++++--------------- app/projects/page.tsx | 23 +++++++---------------- content/sideloading.mdx | 4 ++-- content/verified-email.mdx | 6 +++--- content/wwdc-2023-wishlist.mdx | 6 +++--- 9 files changed, 34 insertions(+), 55 deletions(-) diff --git a/app/components/NewsletterForm.tsx b/app/components/NewsletterForm.tsx index c376145..4c08454 100644 --- a/app/components/NewsletterForm.tsx +++ b/app/components/NewsletterForm.tsx @@ -39,10 +39,9 @@ export default function NewsletterForm({
); } diff --git a/app/components/SidebarLinks.tsx b/app/components/SidebarLinks.tsx index 46af715..8943d7c 100644 --- a/app/components/SidebarLinks.tsx +++ b/app/components/SidebarLinks.tsx @@ -23,15 +23,11 @@ export default function SidebarLinks() { { "text-zinc-700 hover:text-black group-hover:bg-zinc-300/50 dark:text-zinc-300 dark:hover:text-white dark:group-hover:bg-zinc-700/50": pathname !== link.href, - "bg-zinc-300/70 dark:bg-zinc-700/70": - pathname === link.href, + "bg-zinc-300/70 dark:bg-zinc-700/70": pathname === link.href, }, )} > - + {link.title} diff --git a/app/lib/mergeMetadata.ts b/app/lib/mergeMetadata.ts index 53f39c5..1bca806 100644 --- a/app/lib/mergeMetadata.ts +++ b/app/lib/mergeMetadata.ts @@ -17,8 +17,7 @@ export default function mergeMetadata({ siteName: "Nick Oates", title: title ?? "Nick Oates", description: - description ?? - "Aspiring web developer whose code sometimes works.", + description ?? "Aspiring web developer whose code sometimes works.", images: { url: image ?? "/images/card-image.png", alt: diff --git a/app/page.tsx b/app/page.tsx index 5d6eb07..39837bd 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -23,22 +23,19 @@ export default async function Page() {

- Hello! I'm Nick, an aspiring web developer whose - code sometimes works. Right now, I'm focused on - mastering various web technologies, and I'm excited to - see where those skills can take me in the future! + Hello! I'm Nick, an aspiring web developer whose code + sometimes works. Right now, I'm focused on mastering various web + technologies, and I'm excited to see where those skills can take + me in the future!

- I enjoy designing and building cool things, and my best work - is displayed over on{" "} + I enjoy designing and building cool things, and my best work is + displayed over on{" "} my projects page . If you'd like to get in touch, email me at{" "} - + nick@nickoates.com . @@ -52,8 +49,8 @@ export default async function Page() { open-source software - , and I believe that those values are essential to a healthy - web. Thanks for stopping by my website! + , and I believe that those values are essential to a healthy web. + Thanks for stopping by my website!

@@ -81,9 +78,9 @@ export default async function Page() {

Newsletter

- Occasionally, I send out a newsletter to share my thoughts about - the latest tech news and other things I find interesting — - I won't spam you, promise! + Occasionally, I send out a newsletter to share my thoughts about the + latest tech news and other things I find interesting — I + won't spam you, promise!

diff --git a/app/projects/page.tsx b/app/projects/page.tsx index 30f2eb2..bfe1723 100644 --- a/app/projects/page.tsx +++ b/app/projects/page.tsx @@ -43,8 +43,7 @@ const projects: Record = { Swift: { cover: "swift.webp", - coverAlt: - "A text input that says 'Ask me anything' with a submit button.", + coverAlt: "A text input that says 'Ask me anything' with a submit button.", description: "Fast voice assistant built with Cartesia's Sonic model, with OpenAI Whisper and Meta Llama3 on Groq. Less than 1 second of latency between user and AI speech.", links: { @@ -134,13 +133,11 @@ export default function Page() { -

- Projects -

+

Projects

- Here's a few of the projects I've worked on. To see - everything I've contributed to, check out{" "} + Here's a few of the projects I've worked on. To see everything + I've contributed to, check out{" "} )}

{name}

-

- {data.description} -

+

{data.description}

{data.links && (
diff --git a/content/sideloading.mdx b/content/sideloading.mdx index 812ed6c..4fdf6e6 100644 --- a/content/sideloading.mdx +++ b/content/sideloading.mdx @@ -20,8 +20,8 @@ This has clearly worked out well for Apple; [they make billions of dollars every This restricts both developers' and consumers' freedom to choose how they want to do business. -- Yes, developers _could_ create their own platform, but it's unrealistic to expect that to happen just to avoid Apple's fees. And because of how tightly coupled Apple's ecosystem is, you would have to create an entirely new ecosystem if you wanted to actually compete with them. -- Yes, consumers _could_ switch to Android, but you shouldn't have to give up your iPhone just because you want to use a different payment system. +- Yes, developers _could_ create their own platform, but it's unrealistic to expect that to happen just to avoid Apple's fees. And because of how tightly coupled Apple's ecosystem is, you would have to create an entirely new ecosystem if you wanted to actually compete with them. +- Yes, consumers _could_ switch to Android, but you shouldn't have to give up your iPhone just because you want to use a different payment system. diff --git a/content/verified-email.mdx b/content/verified-email.mdx index 4ab59b9..ea0f4bd 100644 --- a/content/verified-email.mdx +++ b/content/verified-email.mdx @@ -14,9 +14,9 @@ I posted a tweet about being verified on Apple Mail, and a few people were askin 2. **Get an email client that supports signing emails.** Most web-based clients don't support this feature, but desktop ones do. I'd recommend [Outlook](https://outlook.com/) or [Thunderbird](https://www.thunderbird.net/). - - **For Outlook**, follow [the guide from Microsoft](https://support.microsoft.com/en-us/office/encrypt-messages-by-using-s-mime-in-outlook-on-the-web-878c79fc-7088-4b39-966f-14512658f480). - - **For Thunderbird**, follow [this guide from SSL Dragon](https://www.ssldragon.com/how-to/install-s-mime-thunderbird/). - - **If you're using another email client**, you'll have to search online, but the steps are usually quite similar -- go to settings, find something about encryption or security, and import the certificate. + - **For Outlook**, follow [the guide from Microsoft](https://support.microsoft.com/en-us/office/encrypt-messages-by-using-s-mime-in-outlook-on-the-web-878c79fc-7088-4b39-966f-14512658f480). + - **For Thunderbird**, follow [this guide from SSL Dragon](https://www.ssldragon.com/how-to/install-s-mime-thunderbird/). + - **If you're using another email client**, you'll have to search online, but the steps are usually quite similar -- go to settings, find something about encryption or security, and import the certificate. 3. **Send an email!** You might have to choose to sign the message when sending, but it's on by default for most email clients. diff --git a/content/wwdc-2023-wishlist.mdx b/content/wwdc-2023-wishlist.mdx index 7ec58ea..659f7c3 100644 --- a/content/wwdc-2023-wishlist.mdx +++ b/content/wwdc-2023-wishlist.mdx @@ -10,9 +10,9 @@ coverAlt: A metallic rainbow artwork on a black background. I'm interested to see how Apple will address these new regulations while trying to keep a tight grip on it's ecosystem. Apple is [set to hold](https://www.apple.com/newsroom/2023/03/apples-worldwide-developers-conference-returns-june-5/) their annual Worldwide Developers Conference (WWDC) on June 5th, where they announce new updates for iOS, macOS, and other platforms. Here's a few things I hope they'll announce, why I think it's makes sense, and why they probably won't. -- [A stable iOS update](#a-stable-ios-update) -- [RCS](#rcs) -- [Custom app icons](#custom-app-icons) +- [A stable iOS update](#a-stable-ios-update) +- [RCS](#rcs) +- [Custom app icons](#custom-app-icons) ## A stable iOS update