-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Rexblane/test
Updating Reviews
- Loading branch information
Showing
12 changed files
with
131 additions
and
57 deletions.
There are no files selected for viewing
File renamed without changes.
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,14 @@ | ||
export default function facebookIcon() { | ||
return ( | ||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"> | ||
<path | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
d="M7 10v4h3v7h4v-7h3l1-4h-4V8a1 1 0 0 1 1-1h3V3h-3a5 5 0 0 0-5 5v2H7" | ||
/> | ||
</svg> | ||
); | ||
} |
File renamed without changes.
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,14 @@ | ||
export default function tiktokIcon() { | ||
return ( | ||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"> | ||
<path | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
d="M21 7.917v4.034A9.948 9.948 0 0 1 16 10v4.5a6.5 6.5 0 1 1-8-6.326V12.5a2.5 2.5 0 1 0 4 2V3h4.083A6.005 6.005 0 0 0 21 7.917z" | ||
/> | ||
</svg> | ||
); | ||
} |
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,14 @@ | ||
export default function twitchIcon() { | ||
return ( | ||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"> | ||
<path | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
d="M4 5v11a1 1 0 0 0 1 1h2v4l4-4h5.584c.266 0 .52-.105.707-.293l2.415-2.414c.187-.188.293-.442.293-.708V5a1 1 0 0 0-1-1h-14a1 1 0 0 0-1 1zm12 3v4m-4-4v4" | ||
/> | ||
</svg> | ||
); | ||
} |
File renamed without changes.
File renamed without changes.
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,24 +1,32 @@ | ||
import GithubIcon from "@/assets/githubIcon"; | ||
import InstagramIcon from "@/assets/instagramIcon"; | ||
import InstagramIcon from "@/assets/social/instagramIcon"; | ||
import SiteIcon from "@/assets/siteIcon"; | ||
import TwitterIcon from "@/assets/twitterIcon"; | ||
import YoutubeIcon from "@/assets/youtubeIcon"; | ||
import DiscordIcon from "@/assets/discordIcon"; | ||
import TwitterIcon from "@/assets/social/twitterIcon"; | ||
import YoutubeIcon from "@/assets/social/youtubeIcon"; | ||
import DiscordIcon from "@/assets/social/discordIcon"; | ||
import TwitchIcon from "@/assets/social/twitchIcon"; | ||
import FacebookIcon from "@/assets/social/facebookIcon"; | ||
import TiktokIcon from "@/assets/social/tiktokIcon"; | ||
|
||
export function getSocialMedia(key: string, animated?:boolean) { | ||
switch (key) { | ||
case "twitter": | ||
return <TwitterIcon/> | ||
case "instagram": | ||
return <InstagramIcon/> | ||
case "youtube": | ||
return <YoutubeIcon/> | ||
case "site": | ||
return <SiteIcon/> | ||
case "github": | ||
return <GithubIcon strokeWidth={2.2} animated={animated}/> | ||
case "discord": | ||
return <DiscordIcon animated={animated}/> | ||
|
||
} | ||
export function getSocialMedia(key: string, animated?: boolean) { | ||
switch (key) { | ||
case "twitter": | ||
return <TwitterIcon />; | ||
case "instagram": | ||
return <InstagramIcon />; | ||
case "youtube": | ||
return <YoutubeIcon />; | ||
case "site": | ||
return <SiteIcon />; | ||
case "github": | ||
return <GithubIcon strokeWidth={2.2} animated={animated} />; | ||
case "discord": | ||
return <DiscordIcon animated={animated} />; | ||
case "twitch": | ||
return <TwitchIcon />; | ||
case "facebook": | ||
return <FacebookIcon />; | ||
case "tiktok": | ||
return <TiktokIcon />; | ||
} | ||
} |
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