react-car-logo 0.2.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/README.md +46 -46
  2. package/dist/ReactCarLogo.d.ts +4 -0
  3. package/dist/allLogos.d.ts +1 -40
  4. package/dist/brands.d.ts +2 -0
  5. package/dist/index.d.ts +3 -41
  6. package/dist/index.esm.js +61 -641
  7. package/dist/index.js +60 -718
  8. package/dist/types.d.ts +15 -10
  9. package/package.json +2 -8
  10. package/src/ReactCarLogo.tsx +32 -0
  11. package/src/allLogos.ts +3 -43
  12. package/src/brands.ts +51 -0
  13. package/src/index.ts +3 -46
  14. package/src/types.ts +59 -10
  15. package/dist/logos/Abarth.d.ts +0 -5
  16. package/dist/logos/Abarth.js +0 -20
  17. package/dist/logos/AlfaRomeo.d.ts +0 -5
  18. package/dist/logos/AlfaRomeo.js +0 -20
  19. package/dist/logos/Alpine.d.ts +0 -5
  20. package/dist/logos/Alpine.js +0 -20
  21. package/dist/logos/Apollo.d.ts +0 -5
  22. package/dist/logos/Apollo.js +0 -24
  23. package/dist/logos/Arash.d.ts +0 -5
  24. package/dist/logos/Arash.js +0 -20
  25. package/dist/logos/AstonMartin.d.ts +0 -5
  26. package/dist/logos/AstonMartin.js +0 -20
  27. package/dist/logos/Audi.d.ts +0 -5
  28. package/dist/logos/Audi.js +0 -20
  29. package/dist/logos/BMW.d.ts +0 -5
  30. package/dist/logos/BMW.js +0 -20
  31. package/dist/logos/Bentley.d.ts +0 -5
  32. package/dist/logos/Bentley.js +0 -20
  33. package/dist/logos/Brabus.d.ts +0 -5
  34. package/dist/logos/Brabus.js +0 -20
  35. package/dist/logos/Bugatti.d.ts +0 -5
  36. package/dist/logos/Bugatti.js +0 -20
  37. package/dist/logos/Chevrolet.d.ts +0 -5
  38. package/dist/logos/Chevrolet.js +0 -20
  39. package/dist/logos/Czinger.d.ts +0 -5
  40. package/dist/logos/Czinger.js +0 -24
  41. package/dist/logos/Dallara.d.ts +0 -5
  42. package/dist/logos/Dallara.js +0 -24
  43. package/dist/logos/DeTomaso.d.ts +0 -5
  44. package/dist/logos/DeTomaso.js +0 -20
  45. package/dist/logos/Dodge.d.ts +0 -5
  46. package/dist/logos/Dodge.js +0 -20
  47. package/dist/logos/Ferrari.d.ts +0 -5
  48. package/dist/logos/Ferrari.js +0 -20
  49. package/dist/logos/Ford.d.ts +0 -5
  50. package/dist/logos/Ford.js +0 -20
  51. package/dist/logos/Glickenhaus.d.ts +0 -5
  52. package/dist/logos/Glickenhaus.js +0 -24
  53. package/dist/logos/Gumpert.d.ts +0 -5
  54. package/dist/logos/Gumpert.js +0 -20
  55. package/dist/logos/Hennessey.d.ts +0 -5
  56. package/dist/logos/Hennessey.js +0 -20
  57. package/dist/logos/Icona.d.ts +0 -5
  58. package/dist/logos/Icona.js +0 -24
  59. package/dist/logos/Italdesign.d.ts +0 -5
  60. package/dist/logos/Italdesign.js +0 -24
  61. package/dist/logos/Jaguar.d.ts +0 -5
  62. package/dist/logos/Jaguar.js +0 -20
  63. package/dist/logos/Koenigsegg.d.ts +0 -5
  64. package/dist/logos/Koenigsegg.js +0 -20
  65. package/dist/logos/Lamborghini.d.ts +0 -5
  66. package/dist/logos/Lamborghini.js +0 -20
  67. package/dist/logos/Lister.d.ts +0 -5
  68. package/dist/logos/Lister.js +0 -24
  69. package/dist/logos/Lotus.d.ts +0 -5
  70. package/dist/logos/Lotus.js +0 -20
  71. package/dist/logos/Lykan.d.ts +0 -5
  72. package/dist/logos/Lykan.js +0 -24
  73. package/dist/logos/Maserati.d.ts +0 -5
  74. package/dist/logos/Maserati.js +0 -20
  75. package/dist/logos/Maybach.d.ts +0 -5
  76. package/dist/logos/Maybach.js +0 -20
  77. package/dist/logos/McLaren.d.ts +0 -5
  78. package/dist/logos/McLaren.js +0 -20
  79. package/dist/logos/MercedesAMG.d.ts +0 -5
  80. package/dist/logos/MercedesAMG.js +0 -20
  81. package/dist/logos/Mosler.d.ts +0 -5
  82. package/dist/logos/Mosler.js +0 -20
  83. package/dist/logos/Noble.d.ts +0 -5
  84. package/dist/logos/Noble.js +0 -24
  85. package/dist/logos/Pagani.d.ts +0 -5
  86. package/dist/logos/Pagani.js +0 -20
  87. package/dist/logos/Pininfarina.d.ts +0 -5
  88. package/dist/logos/Pininfarina.js +0 -20
  89. package/dist/logos/Polestar.d.ts +0 -5
  90. package/dist/logos/Polestar.js +0 -20
  91. package/dist/logos/Porsche.d.ts +0 -5
  92. package/dist/logos/Porsche.js +0 -20
  93. package/dist/logos/RUF.d.ts +0 -5
  94. package/dist/logos/RUF.js +0 -24
  95. package/dist/logos/Radical.d.ts +0 -5
  96. package/dist/logos/Radical.js +0 -20
  97. package/dist/logos/Rimac.d.ts +0 -5
  98. package/dist/logos/Rimac.js +0 -20
  99. package/dist/logos/RollsRoyce.d.ts +0 -5
  100. package/dist/logos/RollsRoyce.js +0 -20
  101. package/dist/logos/SSC.d.ts +0 -5
  102. package/dist/logos/SSC.js +0 -20
  103. package/dist/logos/Saleen.d.ts +0 -5
  104. package/dist/logos/Saleen.js +0 -20
  105. package/dist/logos/Shelby.d.ts +0 -5
  106. package/dist/logos/Shelby.js +0 -20
  107. package/dist/logos/Spyker.d.ts +0 -5
  108. package/dist/logos/Spyker.js +0 -20
  109. package/dist/logos/TVR.d.ts +0 -5
  110. package/dist/logos/TVR.js +0 -20
  111. package/dist/logos/WMotors.d.ts +0 -5
  112. package/dist/logos/WMotors.js +0 -20
  113. package/dist/logos/Zenvo.d.ts +0 -5
  114. package/dist/logos/Zenvo.js +0 -20
  115. package/dist/types-B2mOhqdm.js +0 -44
  116. package/dist/types-DV3vCP6D.js +0 -45
  117. package/dist/types-DfZOvtAx.js +0 -54
  118. package/src/logos/Abarth.tsx +0 -39
  119. package/src/logos/AlfaRomeo.tsx +0 -39
  120. package/src/logos/Alpine.tsx +0 -39
  121. package/src/logos/Arash.tsx +0 -39
  122. package/src/logos/AstonMartin.tsx +0 -39
  123. package/src/logos/Audi.tsx +0 -39
  124. package/src/logos/BMW.tsx +0 -39
  125. package/src/logos/Bentley.tsx +0 -39
  126. package/src/logos/Brabus.tsx +0 -39
  127. package/src/logos/Bugatti.tsx +0 -39
  128. package/src/logos/Chevrolet.tsx +0 -39
  129. package/src/logos/DeTomaso.tsx +0 -39
  130. package/src/logos/Dodge.tsx +0 -39
  131. package/src/logos/Ferrari.tsx +0 -39
  132. package/src/logos/Ford.tsx +0 -39
  133. package/src/logos/Gumpert.tsx +0 -39
  134. package/src/logos/Hennessey.tsx +0 -39
  135. package/src/logos/Jaguar.tsx +0 -39
  136. package/src/logos/Koenigsegg.tsx +0 -39
  137. package/src/logos/Lamborghini.tsx +0 -39
  138. package/src/logos/Lotus.tsx +0 -39
  139. package/src/logos/Maserati.tsx +0 -39
  140. package/src/logos/Maybach.tsx +0 -39
  141. package/src/logos/McLaren.tsx +0 -39
  142. package/src/logos/MercedesAMG.tsx +0 -39
  143. package/src/logos/Mosler.tsx +0 -39
  144. package/src/logos/Pagani.tsx +0 -39
  145. package/src/logos/Pininfarina.tsx +0 -39
  146. package/src/logos/Polestar.tsx +0 -39
  147. package/src/logos/Porsche.tsx +0 -39
  148. package/src/logos/Radical.tsx +0 -39
  149. package/src/logos/Rimac.tsx +0 -39
  150. package/src/logos/RollsRoyce.tsx +0 -39
  151. package/src/logos/SSC.tsx +0 -39
  152. package/src/logos/Saleen.tsx +0 -39
  153. package/src/logos/Shelby.tsx +0 -39
  154. package/src/logos/Spyker.tsx +0 -39
  155. package/src/logos/TVR.tsx +0 -39
  156. package/src/logos/WMotors.tsx +0 -39
  157. package/src/logos/Zenvo.tsx +0 -39
@@ -1,44 +0,0 @@
1
- /******************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
15
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
16
-
17
-
18
- function __rest(s, e) {
19
- var t = {};
20
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
21
- t[p] = s[p];
22
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
23
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
24
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
25
- t[p[i]] = s[p[i]];
26
- }
27
- return t;
28
- }
29
-
30
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
31
- var e = new Error(message);
32
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
33
- };
34
-
35
- /**
36
- * Pixel dimensions for each size tier.
37
- */
38
- const SIZE_MAP = {
39
- sm: 80, // Thumbnails, nav icons, table cells
40
- md: 160, // Cards, lists, sidebars (default)
41
- lg: 320, // Hero sections, detail views
42
- };
43
-
44
- export { SIZE_MAP as S, __rest as _ };
@@ -1,45 +0,0 @@
1
- /******************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
15
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
16
-
17
-
18
- function __rest(s, e) {
19
- var t = {};
20
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
21
- t[p] = s[p];
22
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
23
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
24
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
25
- t[p[i]] = s[p[i]];
26
- }
27
- return t;
28
- }
29
-
30
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
31
- var e = new Error(message);
32
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
33
- };
34
-
35
- /**
36
- * Pixel dimensions for each size tier.
37
- * Maps directly to carlogos.org's available PNG widths.
38
- */
39
- const SIZE_MAP = {
40
- sm: 80, // Thumbnails, nav icons, table cells
41
- md: 160, // Cards, lists, sidebars (default)
42
- lg: 320, // Hero sections, detail views
43
- };
44
-
45
- export { SIZE_MAP as S, __rest as _ };
@@ -1,54 +0,0 @@
1
- /******************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
15
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
16
-
17
-
18
- function __rest(s, e) {
19
- var t = {};
20
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
21
- t[p] = s[p];
22
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
23
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
24
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
25
- t[p[i]] = s[p[i]];
26
- }
27
- return t;
28
- }
29
-
30
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
31
- var e = new Error(message);
32
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
33
- };
34
-
35
- /**
36
- * Pixel dimensions for each size tier.
37
- * Maps directly to carlogos.org's available PNG widths.
38
- */
39
- const SIZE_MAP = {
40
- sm: 80, // Thumbnails, nav icons, table cells
41
- md: 160, // Cards, lists, sidebars (default)
42
- lg: 320, // Hero sections, detail views
43
- };
44
- /**
45
- * Width in pixels used when fetching from carlogos.org.
46
- * Their CDN serves: 160, 320, 640.
47
- */
48
- const CDN_WIDTH_MAP = {
49
- sm: 160, // Fetch 160px for 80px display (2x retina)
50
- md: 320, // Fetch 320px for 160px display (2x retina)
51
- lg: 640, // Fetch 640px for 320px display (2x retina)
52
- };
53
-
54
- export { CDN_WIDTH_MAP as C, SIZE_MAP as S, __rest as _ };
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Abarth",
7
- slug: "abarth",
8
- pngUrl: "https://www.carlogos.org/logo/Abarth-logo.png",
9
- country: "Italy",
10
- region: "Italian",
11
- founded: 1949,
12
- hex: "CC0000",
13
- };
14
-
15
- export const Abarth: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Abarth",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Abarth-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Abarth;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Alfa Romeo",
7
- slug: "alfa-romeo",
8
- pngUrl: "https://www.carlogos.org/logo/Alfa-Romeo-logo.png",
9
- country: "Italy",
10
- region: "Italian",
11
- founded: 1910,
12
- hex: "CC0000",
13
- };
14
-
15
- export const AlfaRomeo: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Alfa Romeo",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Alfa-Romeo-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default AlfaRomeo;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Alpine",
7
- slug: "alpine",
8
- pngUrl: "https://www.carlogos.org/logo/Alpine-logo.png",
9
- country: "France",
10
- region: "French",
11
- founded: 1955,
12
- hex: "003087",
13
- };
14
-
15
- export const Alpine: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Alpine",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Alpine-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Alpine;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Arash",
7
- slug: "arash",
8
- pngUrl: "https://www.carlogos.org/logo/Arash-logo.png",
9
- country: "UK",
10
- region: "British",
11
- founded: 1999,
12
- hex: "1A1A1A",
13
- };
14
-
15
- export const Arash: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Arash",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Arash-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Arash;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Aston Martin",
7
- slug: "aston-martin",
8
- pngUrl: "https://www.carlogos.org/logo/Aston-Martin-logo.png",
9
- country: "UK",
10
- region: "British",
11
- founded: 1913,
12
- hex: "004225",
13
- };
14
-
15
- export const AstonMartin: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Aston Martin",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Aston-Martin-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default AstonMartin;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Audi",
7
- slug: "audi",
8
- pngUrl: "https://www.carlogos.org/logo/Audi-logo.png",
9
- country: "Germany",
10
- region: "German",
11
- founded: 1909,
12
- hex: "1A1A1A",
13
- };
14
-
15
- export const Audi: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Audi",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Audi-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Audi;
package/src/logos/BMW.tsx DELETED
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "BMW",
7
- slug: "bmw",
8
- pngUrl: "https://www.carlogos.org/logo/BMW-logo.png",
9
- country: "Germany",
10
- region: "German",
11
- founded: 1916,
12
- hex: "0066B2",
13
- };
14
-
15
- export const BMW: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "BMW",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/BMW-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default BMW;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Bentley",
7
- slug: "bentley",
8
- pngUrl: "https://www.carlogos.org/logo/Bentley-logo.png",
9
- country: "UK",
10
- region: "British",
11
- founded: 1919,
12
- hex: "1A5276",
13
- };
14
-
15
- export const Bentley: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Bentley",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Bentley-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Bentley;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Brabus",
7
- slug: "brabus",
8
- pngUrl: "https://www.carlogos.org/logo/Brabus-logo.png",
9
- country: "Germany",
10
- region: "German",
11
- founded: 1977,
12
- hex: "1A1A1A",
13
- };
14
-
15
- export const Brabus: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Brabus",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Brabus-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Brabus;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Bugatti",
7
- slug: "bugatti",
8
- pngUrl: "https://www.carlogos.org/logo/Bugatti-logo.png",
9
- country: "France",
10
- region: "French",
11
- founded: 1909,
12
- hex: "1B1F8A",
13
- };
14
-
15
- export const Bugatti: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Bugatti",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Bugatti-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Bugatti;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Chevrolet",
7
- slug: "chevrolet",
8
- pngUrl: "https://www.carlogos.org/logo/Chevrolet-logo.png",
9
- country: "USA",
10
- region: "American",
11
- founded: 1911,
12
- hex: "CC0000",
13
- };
14
-
15
- export const Chevrolet: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Chevrolet",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Chevrolet-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Chevrolet;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "De Tomaso",
7
- slug: "de-tomaso",
8
- pngUrl: "https://www.carlogos.org/logo/De-Tomaso-logo.png",
9
- country: "Italy",
10
- region: "Italian",
11
- founded: 1959,
12
- hex: "003087",
13
- };
14
-
15
- export const DeTomaso: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "De Tomaso",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/De-Tomaso-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default DeTomaso;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Dodge",
7
- slug: "dodge",
8
- pngUrl: "https://www.carlogos.org/logo/Dodge-logo.png",
9
- country: "USA",
10
- region: "American",
11
- founded: 1900,
12
- hex: "CC0000",
13
- };
14
-
15
- export const Dodge: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Dodge",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Dodge-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Dodge;