-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate metadata to new file based metadata
- Loading branch information
Showing
19 changed files
with
156 additions
and
235 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
|
@@ -8,7 +8,6 @@ import { | |
VStack, | ||
} from "@chakra-ui/react"; | ||
import NextImage from "next/image"; | ||
import { defaultMetaData, MetaData } from "^/lib/metaData"; | ||
import { | ||
externalServicesDarkmode, | ||
externalServicesLightmode, | ||
|
@@ -21,74 +20,68 @@ const AboutPageClient = () => { | |
); | ||
|
||
return ( | ||
<MetaData title="About"> | ||
<VStack p={5} shadow="md" borderWidth="1px" spacing={8}> | ||
<Heading as="h2" size="lg"> | ||
About npm-diff.app | ||
</Heading> | ||
<Text>{defaultMetaData.description}</Text> | ||
<Text> | ||
The comparing matches the behaviour of the CLI by using the | ||
official{" "} | ||
<Link | ||
href="https://npmjs.com/libnpmdiff" | ||
rel="noreferrer noopener" | ||
target="_blank" | ||
> | ||
<Code>libnpmdiff</Code> | ||
</Link>{" "} | ||
package to perform a diff between the packages you chose. We | ||
then visualize the differance. | ||
</Text> | ||
<Heading as="h3" size="md"> | ||
Redirection | ||
</Heading> | ||
<Text> | ||
For the URL you can use formats that are not exact, like:{" "} | ||
<Link | ||
href="https://npm-diff.app/[email protected]...~4.17.15" | ||
rel="noreferrer noopener" | ||
target="_blank" | ||
> | ||
<Code> | ||
https://npm-diff.app/[email protected]...~4.17.15 | ||
</Code> | ||
</Link>{" "} | ||
or{" "} | ||
<Link | ||
href="https://npm-diff.app/[email protected]@latest" | ||
rel="noreferrer noopener" | ||
target="_blank" | ||
> | ||
<Code> | ||
https://npm-diff.app/[email protected]@latest | ||
</Code> | ||
</Link> | ||
. If you go to any URL which is not exact, and therefore can | ||
change over time, we will redirect you to the exact URL. You | ||
will be redirected to an exact, canonical URL. This means | ||
you will get a cached version even if you used a unique | ||
query. | ||
</Text> | ||
<Heading as="h3" size="md"> | ||
External services | ||
</Heading> | ||
<NextImage | ||
src={externalServicesImage} | ||
alt="Screenshot of external services in npm-diff.app" | ||
priority | ||
style={{ width: "auto", height: "auto" }} | ||
/> | ||
<Text> | ||
We also use external services{" "} | ||
<Link href="https://bundlephobia.com">bundlephobia</Link>{" "} | ||
and{" "} | ||
<Link href="https://packagephobia.com">packagephobia</Link>{" "} | ||
to give an overview of the differances between the two, | ||
measured in install and bundle size. | ||
</Text> | ||
</VStack> | ||
</MetaData> | ||
<VStack p={5} shadow="md" borderWidth="1px" spacing={8}> | ||
<Heading as="h2" size="lg"> | ||
About npm-diff.app | ||
</Heading> | ||
<Text>Inspect changes between npm packages in a webapp</Text> | ||
<Text> | ||
The comparing matches the behaviour of the CLI by using the | ||
official{" "} | ||
<Link | ||
href="https://npmjs.com/libnpmdiff" | ||
rel="noreferrer noopener" | ||
target="_blank" | ||
> | ||
<Code>libnpmdiff</Code> | ||
</Link>{" "} | ||
package to perform a diff between the packages you chose. We | ||
then visualize the differance. | ||
</Text> | ||
<Heading as="h3" size="md"> | ||
Redirection | ||
</Heading> | ||
<Text> | ||
For the URL you can use formats that are not exact, like:{" "} | ||
<Link | ||
href="https://npm-diff.app/[email protected]...~4.17.15" | ||
rel="noreferrer noopener" | ||
target="_blank" | ||
> | ||
<Code>https://npm-diff.app/[email protected]...~4.17.15</Code> | ||
</Link>{" "} | ||
or{" "} | ||
<Link | ||
href="https://npm-diff.app/[email protected]@latest" | ||
rel="noreferrer noopener" | ||
target="_blank" | ||
> | ||
<Code> | ||
https://npm-diff.app/[email protected]@latest | ||
</Code> | ||
</Link> | ||
. If you go to any URL which is not exact, and therefore can | ||
change over time, we will redirect you to the exact URL. You | ||
will be redirected to an exact, canonical URL. This means you | ||
will get a cached version even if you used a unique query. | ||
</Text> | ||
<Heading as="h3" size="md"> | ||
External services | ||
</Heading> | ||
<NextImage | ||
src={externalServicesImage} | ||
alt="Screenshot of external services in npm-diff.app" | ||
priority | ||
style={{ width: "auto", height: "auto" }} | ||
/> | ||
<Text> | ||
We also use external services{" "} | ||
<Link href="https://bundlephobia.com">bundlephobia</Link> and{" "} | ||
<Link href="https://packagephobia.com">packagephobia</Link> to | ||
give an overview of the differances between the two, measured in | ||
install and bundle size. | ||
</Text> | ||
</VStack> | ||
); | ||
}; | ||
|
||
|
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
File renamed without changes
File renamed without changes.
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.