chore(app): clean up links, metadata

This commit is contained in:
rektdeckard
2023-02-12 18:03:47 -07:00
parent 345acafb45
commit baeec27267
7 changed files with 7 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "phosphor-home", "name": "phosphor-home",
"version": "1.4.0", "version": "2.0.0",
"license": "MIT", "license": "MIT",
"homepage": "https://phosphoricons.com", "homepage": "https://phosphoricons.com",
"author": { "author": {
@@ -18,7 +18,7 @@
"UI", "UI",
"UX" "UX"
], ],
"repository": "github:phosphor-icons/phosphor-home", "repository": "github:phosphor-icons/homepage",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@@ -116,13 +116,6 @@ const Footer = (_: FooterProps) => {
<a className="main-link" href="mailto:hello@phosphoricons.com"> <a className="main-link" href="mailto:hello@phosphoricons.com">
hello@phosphoricons.com hello@phosphoricons.com
</a> </a>
. Check out our sister project:{" "}
<a
className="main-link"
href="https://play.google.com/store/apps/details?id=com.tobiasfried.phosphor"
>
Phosphor for Android
</a>
. Type set in{" "} . Type set in{" "}
<a className="main-link" href="https://manropefont.com/"> <a className="main-link" href="https://manropefont.com/">
Manrope Manrope

View File

@@ -23,7 +23,7 @@ type HeaderProps = {};
const handleGetStarted = () => const handleGetStarted = () =>
window.open( window.open(
"https://github.com/phosphor-icons/phosphor-home#phosphor-icons", "https://github.com/phosphor-icons/homepage#phosphor-icons",
"_blank", "_blank",
"noopener noreferrer" "noopener noreferrer"
); );

View File

@@ -101,7 +101,6 @@ const DetailFooter = () => {
...entry.tags, ...entry.tags,
]) ])
)} )}
isDark={isDark}
/> />
), ),
}, },

View File

@@ -47,7 +47,7 @@ const IconGrid = (_: IconGridProps) => {
return ( return (
<Notice> <Notice>
<span>Try searching a category or keyword:</span> <span>Try searching a category or keyword:</span>
<TagCloud name="empty-state" isDark={isDark} tags={defaultSearchTags} /> <TagCloud name="empty-state" tags={defaultSearchTags} />
</Notice> </Notice>
); );

View File

@@ -8,10 +8,9 @@ import "./TagCloud.css";
interface TagCloudProps { interface TagCloudProps {
name: string; name: string;
tags: string[]; tags: string[];
isDark: boolean;
} }
const TagCloud = ({ name, tags, isDark }: TagCloudProps) => { const TagCloud = ({ name, tags }: TagCloudProps) => {
const isMobile = useMediaQuery("(max-width: 719px)"); const isMobile = useMediaQuery("(max-width: 719px)");
const setQuery = useSetRecoilState(searchQueryAtom); const setQuery = useSetRecoilState(searchQueryAtom);
const handleTagClick = useCallback( const handleTagClick = useCallback(

View File

@@ -73,7 +73,7 @@ const Links = (_: LinksProps) => {
<div> <div>
<ArrowElbowDownRight size={24} /> <ArrowElbowDownRight size={24} />
<OutboundLink <OutboundLink
href="https://github.com/phosphor-icons/phosphor-home" href="https://github.com/phosphor-icons/homepage"
eventLabel="GitHub" eventLabel="GitHub"
> >
GitHub GitHub
@@ -82,7 +82,7 @@ const Links = (_: LinksProps) => {
<div> <div>
<ArrowElbowDownRight size={24} /> <ArrowElbowDownRight size={24} />
<OutboundLink <OutboundLink
href="https://github.com/phosphor-icons/phosphor-home/issues" href="https://github.com/phosphor-icons/homepage/issues"
eventLabel="Request" eventLabel="Request"
> >
Request an icon Request an icon