mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
small improvements (#4452)
Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
parent
a87c66885c
commit
4cb7240f9a
21 changed files with 197 additions and 74 deletions
9
webclient/src/images/Images.ts
Normal file
9
webclient/src/images/Images.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { Countries } from "./countries/_Countries";
|
||||
import { Faces } from "./faces/_Faces";
|
||||
import Logo from './logo.png';
|
||||
|
||||
export class Images {
|
||||
static Countries = Countries;
|
||||
static Faces = Faces;
|
||||
static Logo = Logo;
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
import Countries from "./countries/_Countries";
|
||||
|
||||
export class Images {
|
||||
static Countries = {
|
||||
...Countries
|
||||
};
|
||||
}
|
||||
2
webclient/src/images/countries/.gitignore
vendored
2
webclient/src/images/countries/.gitignore
vendored
|
|
@ -3,4 +3,4 @@
|
|||
# Except gitignore
|
||||
!.gitignore
|
||||
|
||||
!_Countries.tsx
|
||||
!_Countries.ts
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@ import za from "./za.svg";
|
|||
import zm from "./zm.svg";
|
||||
import zw from "./zw.svg";
|
||||
|
||||
const Countries = {
|
||||
export const Countries = {
|
||||
ad,
|
||||
ae,
|
||||
af,
|
||||
|
|
@ -497,5 +497,3 @@ const Countries = {
|
|||
zm,
|
||||
zw,
|
||||
};
|
||||
|
||||
export default Countries;
|
||||
9
webclient/src/images/faces/_Faces.ts
Normal file
9
webclient/src/images/faces/_Faces.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import face1 from './face1.jpg';
|
||||
import face2 from './face2.jpg';
|
||||
import face3 from './face3.jpg';
|
||||
|
||||
export const Faces = {
|
||||
face1,
|
||||
face2,
|
||||
face3,
|
||||
}
|
||||
BIN
webclient/src/images/faces/face1.jpg
Normal file
BIN
webclient/src/images/faces/face1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.8 KiB |
BIN
webclient/src/images/faces/face2.jpg
Normal file
BIN
webclient/src/images/faces/face2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
BIN
webclient/src/images/faces/face3.jpg
Normal file
BIN
webclient/src/images/faces/face3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.7 KiB |
1
webclient/src/images/index.ts
Normal file
1
webclient/src/images/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from './Images';
|
||||
Loading…
Add table
Add a link
Reference in a new issue