forked from timlrx/tailwind-nextjs-starter-blog
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
136 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: GitHub Pages | |
|
||
on: | ||
push: | ||
branches: main | ||
branches: pmndrs | ||
workflow_dispatch: | ||
|
||
permissions: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
import { ReactNode } from 'react' | ||
import { H1 } from './Typography' | ||
|
||
interface Props { | ||
children: ReactNode | ||
} | ||
|
||
export default function PageTitle({ children }: Props) { | ||
return ( | ||
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-5xl md:leading-14"> | ||
{children} | ||
</h1> | ||
) | ||
return <H1>{children}</H1> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export function H1({ children }: { children?: React.ReactNode }) { | ||
return ( | ||
<h1 className="text-4xl uppercase leading-none tracking-tight sm:text-5xl md:text-7xl"> | ||
{children} | ||
</h1> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
--- | ||
name: Tails Azimuth | ||
avatar: /static/images/avatar.png | ||
occupation: Professor of Atmospheric Science | ||
company: Stanford University | ||
email: [email protected] | ||
twitter: https://twitter.com/Twitter | ||
linkedin: https://www.linkedin.com | ||
github: https://github.com | ||
name: pmndrs | ||
avatar: /static/images/avatar-pmndrs.svg | ||
occupation: | ||
company: Poimandres | ||
email: | ||
twitter: https://x.com/pmndrs | ||
github: https://github.com/pmndrs | ||
--- | ||
|
||
Tails Azimuth is a professor of atmospheric sciences at the Stanford AI Lab. His research interests includes complexity modelling of tailwinds, headwinds and crosswinds. | ||
|
||
He leads the clean energy group which develops 3D air pollution-climate models, writes differential equation solvers, and manufactures titanium plated air ballons. In his free time he bakes raspberry pi. | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed neque elit, tristique placerat feugiat ac, facilisis vitae arcu. Proin eget egestas augue. Praesent ut sem nec arcu pellentesque aliquet. Duis dapibus diam vel metus tempus vulputate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
name: paulh | ||
avatar: /static/images/avatar-paulh.jpg | ||
occupation: | ||
company: Poimandres | ||
email: | ||
twitter: https://x.com/0xca0a | ||
github: https://github.com/drcmda | ||
--- |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
/** @type {import("pliny/config").PlinyConfig } */ | ||
const siteMetadata = { | ||
title: 'Next.js Starter Blog', | ||
author: 'Tails Azimuth', | ||
headerTitle: 'TailwindBlog', | ||
description: 'A blog created with Next.js and Tailwind.css', | ||
title: 'Poimandres', | ||
author: 'pmndrs', | ||
headerTitle: 'Pmndrs', | ||
description: 'Open source developer collective', | ||
language: 'en-us', | ||
theme: 'system', // system, dark or light | ||
siteUrl: 'https://tailwind-nextjs-starter-blog.vercel.app', | ||
siteRepo: 'https://github.com/timlrx/tailwind-nextjs-starter-blog', | ||
siteUrl: 'https://pmndrs.github.io', | ||
siteRepo: 'https://github.com/pmndrs/pmndrs.github.io', | ||
siteLogo: '/static/images/logo.png', | ||
socialBanner: '/static/images/twitter-card.png', | ||
mastodon: 'https://mastodon.social/@mastodonuser', | ||
email: '[email protected]', | ||
github: 'https://github.com', | ||
x: 'https://twitter.com/x', | ||
// mastodon: 'https://mastodon.social/@pmndrs', | ||
// email: '[email protected]', | ||
github: 'https://github.com/pmndrs', | ||
x: 'https://twitter.com/pmndrs', | ||
// twitter: 'https://twitter.com/Twitter', | ||
facebook: 'https://facebook.com', | ||
youtube: 'https://youtube.com', | ||
linkedin: 'https://www.linkedin.com', | ||
threads: 'https://www.threads.net', | ||
instagram: 'https://www.instagram.com', | ||
// facebook: 'https://facebook.com', | ||
// youtube: 'https://youtube.com', | ||
linkedin: 'https://www.linkedin.com/company/pmndrs/', | ||
// threads: 'https://www.threads.net', | ||
// instagram: 'https://www.instagram.com', | ||
locale: 'en-US', | ||
analytics: { | ||
// If you want to use an analytics provider you have to add it to the | ||
// content security policy in the `next.config.js` file. | ||
// supports Plausible, Simple Analytics, Umami, Posthog or Google Analytics. | ||
umamiAnalytics: { | ||
// We use an env variable for this site to avoid other users cloning our analytics ID | ||
umamiWebsiteId: process.env.NEXT_UMAMI_ID, // e.g. 123e4567-e89b-12d3-a456-426614174000 | ||
// You may also need to overwrite the script if you're storing data in the US - ex: | ||
// src: 'https://us.umami.is/script.js' | ||
// Remember to add 'us.umami.is' in `next.config.js` as a permitted domain for the CSP | ||
}, | ||
// umamiAnalytics: { | ||
// // We use an env variable for this site to avoid other users cloning our analytics ID | ||
// umamiWebsiteId: process.env.NEXT_UMAMI_ID, // e.g. 123e4567-e89b-12d3-a456-426614174000 | ||
// // You may also need to overwrite the script if you're storing data in the US - ex: | ||
// // src: 'https://us.umami.is/script.js' | ||
// // Remember to add 'us.umami.is' in `next.config.js` as a permitted domain for the CSP | ||
// }, | ||
// plausibleAnalytics: { | ||
// plausibleDataDomain: '', // e.g. tailwind-nextjs-starter-blog.vercel.app | ||
// }, | ||
|
@@ -46,37 +46,37 @@ const siteMetadata = { | |
newsletter: { | ||
// supports mailchimp, buttondown, convertkit, klaviyo, revue, emailoctopus | ||
// Please add your .env file and modify it according to your selection | ||
provider: 'buttondown', | ||
// provider: 'buttondown', | ||
}, | ||
comments: { | ||
// If you want to use an analytics provider you have to add it to the | ||
// content security policy in the `next.config.js` file. | ||
// Select a provider and use the environment variables associated to it | ||
// https://vercel.com/docs/environment-variables | ||
provider: 'giscus', // supported providers: giscus, utterances, disqus | ||
giscusConfig: { | ||
// Visit the link below, and follow the steps in the 'configuration' section | ||
// https://giscus.app/ | ||
repo: process.env.NEXT_PUBLIC_GISCUS_REPO, | ||
repositoryId: process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID, | ||
category: process.env.NEXT_PUBLIC_GISCUS_CATEGORY, | ||
categoryId: process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID, | ||
mapping: 'pathname', // supported options: pathname, url, title | ||
reactions: '1', // Emoji reactions: 1 = enable / 0 = disable | ||
// Send discussion metadata periodically to the parent window: 1 = enable / 0 = disable | ||
metadata: '0', | ||
// theme example: light, dark, dark_dimmed, dark_high_contrast | ||
// transparent_dark, preferred_color_scheme, custom | ||
theme: 'light', | ||
// theme when dark mode | ||
darkTheme: 'transparent_dark', | ||
// If the theme option above is set to 'custom` | ||
// please provide a link below to your custom theme css file. | ||
// example: https://giscus.app/themes/custom_example.css | ||
themeURL: '', | ||
// This corresponds to the `data-lang="en"` in giscus's configurations | ||
lang: 'en', | ||
}, | ||
// provider: 'giscus', // supported providers: giscus, utterances, disqus | ||
// giscusConfig: { | ||
// // Visit the link below, and follow the steps in the 'configuration' section | ||
// // https://giscus.app/ | ||
// repo: process.env.NEXT_PUBLIC_GISCUS_REPO, | ||
// repositoryId: process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID, | ||
// category: process.env.NEXT_PUBLIC_GISCUS_CATEGORY, | ||
// categoryId: process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID, | ||
// mapping: 'pathname', // supported options: pathname, url, title | ||
// reactions: '1', // Emoji reactions: 1 = enable / 0 = disable | ||
// // Send discussion metadata periodically to the parent window: 1 = enable / 0 = disable | ||
// metadata: '0', | ||
// // theme example: light, dark, dark_dimmed, dark_high_contrast | ||
// // transparent_dark, preferred_color_scheme, custom | ||
// theme: 'light', | ||
// // theme when dark mode | ||
// darkTheme: 'transparent_dark', | ||
// // If the theme option above is set to 'custom` | ||
// // please provide a link below to your custom theme css file. | ||
// // example: https://giscus.app/themes/custom_example.css | ||
// themeURL: '', | ||
// // This corresponds to the `data-lang="en"` in giscus's configurations | ||
// lang: 'en', | ||
// }, | ||
}, | ||
search: { | ||
provider: 'kbar', // kbar or algolia | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.