Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bicstone committed Jun 19, 2023
1 parent 002387c commit cbd7462
Show file tree
Hide file tree
Showing 76 changed files with 237 additions and 233 deletions.
2 changes: 1 addition & 1 deletion content
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 1 addition & 0 deletions content-sample/icons/VerifiedIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions content-sample/icons/VerifiedWhiteIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions content-sample/icons/YoutrustIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions content-sample/icons/ZennIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/components/icons/AutoAwesomeIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/AutoAwesomeIcon.svg";
import whiteIcon from "@/content/icons/AutoAwesomeWhiteIcon.svg";

export const AutoAwesomeIcon = styled(IconBase)(({ theme }) => ({
content: `url(${icon})`,
[theme.getColorSchemeSelector("dark")]: {
content: `url(${whiteIcon})`,
},
}));
9 changes: 9 additions & 0 deletions src/components/icons/BicstoneIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/BicstoneIcon.svg";

export const BicstoneIcon = styled(IconBase)({
content: `url(${icon})`,
});
13 changes: 13 additions & 0 deletions src/components/icons/BlogIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/DescriptionIcon.svg";
import whiteIcon from "@/content/icons/DescriptionWhiteIcon.svg";

export const BlogIcon = styled(IconBase)(({ theme }) => ({
content: `url(${icon})`,
[theme.getColorSchemeSelector("dark")]: {
content: `url(${whiteIcon})`,
},
}));
9 changes: 9 additions & 0 deletions src/components/icons/ConnpassIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/ConnpassIcon.svg";

export const ConnpassIcon = styled(IconBase)({
content: `url(${icon})`,
});
13 changes: 13 additions & 0 deletions src/components/icons/CorpIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/CorpIcon.svg";
import whiteIcon from "@/content/icons/CorpWhiteIcon.svg";

export const CorpIcon = styled(IconBase)(({ theme }) => ({
content: `url(${icon})`,
[theme.getColorSchemeSelector("dark")]: {
content: `url(${whiteIcon})`,
},
}));
11 changes: 11 additions & 0 deletions src/components/icons/CsmIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/CsmIcon.png";

export const CsmIcon = styled(IconBase)(({ theme }) => ({
content: `url(${icon})`,
width: theme.spacing(12),
height: theme.spacing(12),
}));
9 changes: 9 additions & 0 deletions src/components/icons/FeedIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/FeedIcon.svg";

export const FeedIcon = styled(IconBase)({
content: `url(${icon})`,
});
9 changes: 9 additions & 0 deletions src/components/icons/FindyIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/FindyIcon.svg";

export const FindyIcon = styled(IconBase)({
content: `url(${icon})`,
});
13 changes: 13 additions & 0 deletions src/components/icons/GitHubIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/GitHubIcon.svg";
import whiteIcon from "@/content/icons/GitHubWhiteIcon.svg";

export const GitHubIcon = styled(IconBase)(({ theme }) => ({
content: `url(${icon})`,
[theme.getColorSchemeSelector("dark")]: {
content: `url(${whiteIcon})`,
},
}));
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import styled from "@emotion/styled";
* 固定のSVGやPNGを埋め込む場合はStyledのコンポーネントを定義して使用
*/

export const LogoBase = styled("div")(({ theme }) => ({
export const IconBase = styled("div")(({ theme }) => ({
display: "inline-block",
width: theme.spacing(4),
height: theme.spacing(4),
Expand Down
9 changes: 9 additions & 0 deletions src/components/icons/LaprasIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/LaprasIcon.svg";

export const LaprasIcon = styled(IconBase)({
content: `url(${icon})`,
});
9 changes: 9 additions & 0 deletions src/components/icons/LinkedInIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/LinkedInIcon.png";

export const LinkedInIcon = styled(IconBase)({
content: `url(${icon})`,
});
9 changes: 9 additions & 0 deletions src/components/icons/PaycareerIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/PaycareerIcon.svg";

export const PaycareerIcon = styled(IconBase)({
content: `url(${icon})`,
});
11 changes: 11 additions & 0 deletions src/components/icons/RissIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/RissIcon.png";

export const RissIcon = styled(IconBase)(({ theme }) => ({
content: `url(${icon})`,
width: theme.spacing(12),
height: theme.spacing(12),
}));
9 changes: 9 additions & 0 deletions src/components/icons/SpeakerDeckIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/SpeakerDeckIcon.png";

export const SpeakerDeckIcon = styled(IconBase)({
content: `url(${icon})`,
});
9 changes: 9 additions & 0 deletions src/components/icons/TwitterIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/TwitterIcon.svg";

export const TwitterIcon = styled(IconBase)({
content: `url(${icon})`,
});
13 changes: 13 additions & 0 deletions src/components/icons/VerifiedIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/VerifiedIcon.svg";
import whiteIcon from "@/content/icons/VerifiedWhiteIcon.svg";

export const VerifiedIcon = styled(IconBase)(({ theme }) => ({
content: `url(${icon})`,
[theme.getColorSchemeSelector("dark")]: {
content: `url(${whiteIcon})`,
},
}));
9 changes: 9 additions & 0 deletions src/components/icons/YoutrustIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/YoutrustIcon.svg";

export const YoutrustIcon = styled(IconBase)({
content: `url(${icon})`,
});
9 changes: 9 additions & 0 deletions src/components/icons/ZennIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import styled from "@emotion/styled";

import { IconBase } from "./IconBase";

import icon from "@/content/icons/ZennIcon.svg";

export const ZennIcon = styled(IconBase)({
content: `url(${icon})`,
});
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
declare module "@/content/logos/*.svg" {
declare module "@/content/icons/*.svg" {
const svg: string;
export default svg;
}

declare module "@/content/logos/*.png" {
declare module "@/content/icons/*.png" {
const png: string;
export default png;
}
13 changes: 0 additions & 13 deletions src/components/logos/AutoAwesomeIcon.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/logos/BicstoneLogo.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions src/components/logos/CodeIcon.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/logos/ConnpassLogo.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions src/components/logos/CsmIcon.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions src/components/logos/DescriptionIcon.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/logos/FeedLogo.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/logos/FindyLogo.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions src/components/logos/GitHubLogo.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/logos/LaprasLogo.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/logos/LinkedInLogo.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/logos/PaycareerLogo.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions src/components/logos/RissIcon.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/logos/SpeakerDeckLogo.tsx

This file was deleted.

Loading

0 comments on commit cbd7462

Please sign in to comment.