Skip to content

Commit ea6d5be

Browse files
Add Epic Games component (#82)
Co-authored-by: ridemountainpig <92412722+ridemountainpig@users.noreply.github.com>
1 parent 317f86b commit ea6d5be

File tree

5 files changed

+55
-0
lines changed

5 files changed

+55
-0
lines changed

docs/content/docs/components.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3425,6 +3425,18 @@ description: Explore the full collection of React Svgl components. Instantly sea
34253425

34263426
---
34273427

3428+
## Epic Games [Entertainment,Platform,Software,Marketplace,Devtool]
3429+
3430+
```ts tab="light"
3431+
<EpicGamesLight />
3432+
```
3433+
3434+
```ts tab="dark"
3435+
<EpicGamesDark />
3436+
```
3437+
3438+
---
3439+
34283440
## Tabby [Software]
34293441

34303442
```ts

src/components/EpicGamesDark.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import * as React from "react";
2+
import type { SVGProps } from "react";
3+
const EpicGamesDark = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
xmlns="http://www.w3.org/2000/svg"
6+
fill="none"
7+
viewBox="3.227 1.25 25.548 29.501"
8+
width="100%"
9+
height="100%"
10+
preserveAspectRatio="xMidYMid meet"
11+
{...props}
12+
>
13+
<path
14+
fill="#fff"
15+
d="M26.439 1.25c1.712 0 2.336.623 2.336 2.31v20.56c0 .265-.047.74-.133.944-.087.205-.167.371-.327.52-.164.153-.45.312-.587.375l-11.067 4.657a1.69 1.69 0 0 1-1.322 0L4.273 25.961a2.6 2.6 0 0 1-.586-.376c-.16-.149-.24-.315-.327-.519-.086-.203-.133-.68-.133-.944V3.56c0-1.687.624-2.31 2.336-2.31h20.875ZM11.845 26.07a.1.1 0 0 0-.029.019.1.1 0 0 0-.02.028.1.1 0 0 0-.007.035.1.1 0 0 0 .007.037.1.1 0 0 0 .049.046l4.007 1.7a.36.36 0 0 0 .28 0l4.038-1.7a.1.1 0 0 0 .028-.018.1.1 0 0 0 .02-.028.1.1 0 0 0 .007-.037.1.1 0 0 0-.027-.063.08.08 0 0 0-.063-.026H11.88a.1.1 0 0 0-.035.006ZM8.7 18.901q-.401 0-.745.137t-.593.38a1.8 1.8 0 0 0-.388.565q-.142.324-.141.7v.011q0 .387.143.712.143.326.396.56.254.237.598.368.345.132.75.132.477 0 .853-.152a2.5 2.5 0 0 0 .654-.378v-1.543H8.632v.698h.683v.416a1 1 0 0 1-.554.141 1 1 0 0 1-.38-.07.87.87 0 0 1-.492-.498 1 1 0 0 1-.07-.382v-.01a.97.97 0 0 1 .257-.666.84.84 0 0 1 .629-.274q.259 0 .454.083.196.083.384.24l.565-.67a2.2 2.2 0 0 0-.612-.368 2.2 2.2 0 0 0-.796-.132m14.96.007a1.8 1.8 0 0 0-.561.081 1.3 1.3 0 0 0-.423.229 1 1 0 0 0-.268.347 1.05 1.05 0 0 0-.092.44v.012q0 .264.102.443t.278.299q.177.12.414.196.237.075.515.139.179.039.29.076t.178.076a.25.25 0 0 1 .092.08q.024.041.025.096v.01a.19.19 0 0 1-.103.173.6.6 0 0 1-.293.062q-.606 0-1.125-.412l-.536.633q.323.283.742.425.418.142.883.142.318 0 .576-.075.258-.077.44-.22.184-.146.286-.351.102-.206.102-.471v-.01a.9.9 0 0 0-.09-.414.8.8 0 0 0-.257-.297 1.7 1.7 0 0 0-.41-.208 4 4 0 0 0-.537-.15 4 4 0 0 1-.294-.075 1 1 0 0 1-.184-.074.25.25 0 0 1-.095-.08.2.2 0 0 1-.027-.102v-.011q0-.093.087-.156a.44.44 0 0 1 .26-.065q.232 0 .483.087.25.086.488.252l.48-.67a2 2 0 0 0-.63-.342 2.5 2.5 0 0 0-.797-.115Zm-13.127 3.486h1.012l.248-.614h1.338l.253.614h1.031l-1.477-3.455h-.927zm4.219 0h.941v-1.96l.883 1.332h.02l.887-1.342v1.97h.956v-3.43h-1.015l-.83 1.328-.826-1.327h-1.016zm4.33 0h2.814v-.808h-1.863v-.544h1.665v-.75h-1.665v-.519h1.84v-.808h-2.791zm-6.23-1.353h-.778l.39-.975zm9.275-16.19c-1.42 0-2.123.695-2.123 2.101v7.305c0 1.406.703 2.1 2.124 2.1h.865c1.42 0 2.123-.695 2.123-2.1v-2.635h-1.715v2.554c0 .452-.212.662-.653.662h-.326c-.457 0-.67-.21-.67-.662V7.034c0-.453.212-.663.67-.663h.294c.44 0 .652.21.652.663v2.213h1.715v-2.31c0-1.406-.686-2.085-2.106-2.085zm-15.21 11.41h3.919v-1.568H8.664v-3.409h2.058V9.717H8.664v-3.2h2.139V4.95H6.917v11.312Zm4.763 0h1.747v-4.105h.996c1.42 0 2.123-.694 2.123-2.1V7.05c0-1.407-.702-2.1-2.123-2.1H11.68v11.31ZM17.334 4.95v11.312h1.747V4.95zm-3.19 1.519c.441 0 .654.21.654.662v2.845c0 .452-.212.663-.653.663h-.718v-4.17z"
16+
/>
17+
</svg>
18+
);
19+
export default EpicGamesDark;

src/components/EpicGamesLight.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import * as React from "react";
2+
import type { SVGProps } from "react";
3+
const EpicGamesLight = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
xmlns="http://www.w3.org/2000/svg"
6+
fill="none"
7+
viewBox="3.227 1.25 25.548 29.501"
8+
width="100%"
9+
height="100%"
10+
preserveAspectRatio="xMidYMid meet"
11+
{...props}
12+
>
13+
<path
14+
fill="#000"
15+
d="M26.439 1.25c1.712 0 2.336.623 2.336 2.31v20.56c0 .265-.047.74-.133.944-.087.205-.167.371-.327.52-.164.153-.45.312-.587.375l-11.067 4.657a1.69 1.69 0 0 1-1.322 0L4.273 25.961a2.6 2.6 0 0 1-.586-.376c-.16-.149-.24-.315-.327-.519-.086-.203-.133-.68-.133-.944V3.56c0-1.687.624-2.31 2.336-2.31h20.875ZM11.845 26.07a.1.1 0 0 0-.029.019.1.1 0 0 0-.02.028.1.1 0 0 0-.007.035.1.1 0 0 0 .007.037.1.1 0 0 0 .049.046l4.007 1.7a.36.36 0 0 0 .28 0l4.038-1.7a.1.1 0 0 0 .028-.018.1.1 0 0 0 .02-.028.1.1 0 0 0 .007-.037.1.1 0 0 0-.027-.063.08.08 0 0 0-.063-.026H11.88a.1.1 0 0 0-.035.006ZM8.7 18.901q-.401 0-.745.137t-.593.38a1.8 1.8 0 0 0-.388.565q-.142.324-.141.7v.011q0 .387.143.712.143.326.396.56.254.237.598.368.345.132.75.132.477 0 .853-.152a2.5 2.5 0 0 0 .654-.378v-1.543H8.632v.698h.683v.416a1 1 0 0 1-.554.141 1 1 0 0 1-.38-.07.87.87 0 0 1-.492-.498 1 1 0 0 1-.07-.382v-.01a.97.97 0 0 1 .257-.666.84.84 0 0 1 .629-.274q.259 0 .454.083.196.083.384.24l.565-.67a2.2 2.2 0 0 0-.612-.368 2.2 2.2 0 0 0-.796-.132m14.96.007a1.8 1.8 0 0 0-.561.081 1.3 1.3 0 0 0-.423.229 1 1 0 0 0-.268.347 1.05 1.05 0 0 0-.092.44v.012q0 .264.102.443t.278.299q.177.12.414.196.237.075.515.139.179.039.29.076t.178.076a.25.25 0 0 1 .092.08q.024.041.025.096v.01a.19.19 0 0 1-.103.173.6.6 0 0 1-.293.062q-.606 0-1.125-.412l-.536.633q.323.283.742.425.418.142.883.142.318 0 .576-.075.258-.077.44-.22.184-.146.286-.351.102-.206.102-.471v-.01a.9.9 0 0 0-.09-.414.8.8 0 0 0-.257-.297 1.7 1.7 0 0 0-.41-.208 4 4 0 0 0-.537-.15 4 4 0 0 1-.294-.075 1 1 0 0 1-.184-.074.25.25 0 0 1-.095-.08.2.2 0 0 1-.027-.102v-.011q0-.093.087-.156a.44.44 0 0 1 .26-.065q.232 0 .483.087.25.086.488.252l.48-.67a2 2 0 0 0-.63-.342 2.5 2.5 0 0 0-.797-.115Zm-13.127 3.486h1.012l.248-.614h1.338l.253.614h1.031l-1.477-3.455h-.927zm4.219 0h.941v-1.96l.883 1.332h.02l.887-1.342v1.97h.956v-3.43h-1.015l-.83 1.328-.826-1.327h-1.016zm4.33 0h2.814v-.808h-1.863v-.544h1.665v-.75h-1.665v-.519h1.84v-.808h-2.791zm-6.23-1.353h-.778l.39-.975zm9.275-16.19c-1.42 0-2.123.695-2.123 2.101v7.305c0 1.406.703 2.1 2.124 2.1h.865c1.42 0 2.123-.695 2.123-2.1v-2.635h-1.715v2.554c0 .452-.212.662-.653.662h-.326c-.457 0-.67-.21-.67-.662V7.034c0-.453.212-.663.67-.663h.294c.44 0 .652.21.652.663v2.213h1.715v-2.31c0-1.406-.686-2.085-2.106-2.085zm-15.21 11.41h3.919v-1.568H8.664v-3.409h2.058V9.717H8.664v-3.2h2.139V4.95H6.917v11.312Zm4.763 0h1.747v-4.105h.996c1.42 0 2.123-.694 2.123-2.1V7.05c0-1.407-.702-2.1-2.123-2.1H11.68v11.31ZM17.334 4.95v11.312h1.747V4.95zm-3.19 1.519c.441 0 .654.21.654.662v2.845c0 .452-.212.663-.653.663h-.718v-4.17z"
16+
/>
17+
</svg>
18+
);
19+
export default EpicGamesLight;

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ export { default as Elementor } from "./components/Elementor";
165165
export { default as ElysiaJS } from "./components/ElysiaJS";
166166
export { default as Emacs } from "./components/Emacs";
167167
export { default as Ember } from "./components/Ember";
168+
export { default as EpicGamesDark } from "./components/EpicGamesDark";
169+
export { default as EpicGamesLight } from "./components/EpicGamesLight";
168170
export { default as Esbuild } from "./components/Esbuild";
169171
export { default as Ethereum } from "./components/Ethereum";
170172
export { default as Exome } from "./components/Exome";
@@ -889,6 +891,8 @@ export type SvglComponentName =
889891
| "ElysiaJS"
890892
| "Emacs"
891893
| "Ember"
894+
| "EpicGamesDark"
895+
| "EpicGamesLight"
892896
| "Esbuild"
893897
| "Ethereum"
894898
| "Exome"

src/urls.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export const ElementorUrl = "https://elementor.com/";
138138
export const ElysiaJSUrl = "https://elysiajs.com/";
139139
export const EmacsUrl = "https://www.gnu.org/software/emacs/";
140140
export const EmberUrl = "https://emberjs.com/";
141+
export const EpicGamesUrl = "https://www.epicgames.com/";
141142
export const EsbuildUrl = "https://esbuild.github.io/";
142143
export const EthereumUrl = "https://ethereum.org/";
143144
export const ExomeUrl = "https://exome.dev/";

0 commit comments

Comments
 (0)