fix(rfs): rfs client

rfs.insports.tv
Rakov 2 years ago
parent 66a002e834
commit a42ce0f072
  1. 53
      .drone.yml
  2. BIN
      public/images/logo-rustat.png
  3. 16
      public/images/logo-rustat.svg
  4. 26
      src/config/clients/rustat.tsx
  5. 20
      src/features/AuthServiceApp/config/clients/rustat.tsx
  6. 2
      src/features/Theme/config.tsx

@ -1007,3 +1007,56 @@ steps:
- aws cloudfront create-invalidation --distribution-id E15IFY23VM147K --paths "/*" - aws cloudfront create-invalidation --distribution-id E15IFY23VM147K --paths "/*"
depends_on: depends_on:
- make-rustat - make-rustat
---
kind: pipeline
type: docker
name: deploy rfs.insports.tv
concurrency:
limit: 1
platform:
os: linux
arch: amd64
trigger:
ref:
- refs/heads/rfs.insports.tv
steps:
- name: npm-install
image: node:16-alpine
environment:
REACT_APP_STRIPE_PK:
from_secret: REACT_APP_STRIPE_PK
commands:
- apk add --no-cache make
- npm install --legacy-peer-deps
- name: make-rustat
image: node:16-alpine
environment:
REACT_APP_STRIPE_PK:
from_secret: REACT_APP_STRIPE_PK
commands:
- apk add --no-cache make
- make rustat-prod
depends_on:
- npm-install
- name: deploy-rustat
image: amazon/aws-cli:latest
environment:
AWS_ACCESS_KEY_ID:
from_secret: AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY:
from_secret: AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION:
from_secret: AWS_DEFAULT_REGION
AWS_MAX_ATTEMPTS: 10
commands:
- aws s3 sync build_rustat s3://insports-tv-rfs --delete
- aws cloudfront create-invalidation --distribution-id E18H8A81EDT65V --paths "/*"
depends_on:
- make-rustat

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

@ -1,16 +0,0 @@
<svg width="154" height="40" viewBox="0 0 154 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_4_13767)">
<path d="M23.5999 23.48C25.4899 24.44 27.2599 25.57 28.8899 26.85C29.2799 31.37 28.6899 35.84 27.2699 40H10.0099C8.56987 40 7.29987 39.08 6.85987 37.71L6.14987 35.53C12.5699 32.89 17.9999 28.35 21.7399 22.61C22.3599 22.88 22.9799 23.17 23.5899 23.48H23.5999ZM31.6999 40C33.1399 40 34.4099 39.08 34.8499 37.71L35.8999 34.48C34.4099 32.21 32.6499 30.15 30.6299 28.33C30.7799 32.33 30.2099 36.28 29.0099 40H31.6999ZM18.9099 0.63L16.7399 2.21C19.8999 4.52 22.6899 7.38 24.9199 10.71C25.4099 8.36 25.6299 5.95 25.5899 3.49C25.5899 3.2 25.5699 2.91 25.5599 2.63L22.8099 0.63C21.6499 -0.21 20.0799 -0.21 18.9199 0.63H18.9099ZM16.5499 26.5C17.9099 25.09 19.1199 23.57 20.1899 21.98C16.5699 20.63 12.7799 19.94 8.95987 19.94C6.42987 19.94 3.87987 20.24 1.37987 20.85L5.63987 33.96C9.69987 32.28 13.4099 29.76 16.5499 26.5ZM25.4699 14.92C24.7299 17.11 23.7699 19.21 22.6199 21.18C23.1999 21.44 23.7799 21.71 24.3499 22C25.8399 22.76 27.2599 23.62 28.6099 24.57C28.3499 22.92 27.9599 21.26 27.4199 19.62C26.8899 17.98 26.2299 16.41 25.4699 14.92ZM26.1399 12.68C27.2899 14.68 28.2499 16.83 28.9899 19.11C29.7299 21.39 30.2199 23.7 30.4599 26C32.7699 27.89 34.8099 30.07 36.5399 32.48L41.5399 17.08C41.9799 15.72 41.4999 14.22 40.3399 13.38L27.2399 3.85C27.2599 6.9 26.8799 9.86 26.1399 12.68ZM15.3199 3.24L1.36987 13.38C0.209872 14.22 -0.280128 15.72 0.169872 17.08L0.879872 19.27C7.62987 17.61 14.6399 18.06 21.0999 20.55C22.5199 18.16 23.6199 15.61 24.3699 12.94C22.0299 9.05 18.9299 5.77 15.3299 3.23L15.3199 3.24Z" fill="white"/>
<path d="M66.5501 15.84C63.8001 15.94 61.7301 16.42 60.2801 16.94V24.15H64.1001V27.58H54.1401V24.15H56.5701V15.71H54.1401V12.28H60.2801V13.93C61.8001 12.83 63.9001 12.02 66.5501 12.02V15.84Z" fill="white"/>
<path d="M88.2201 27.58H82.0101V26.32C80.6801 27.42 79.1301 28.07 77.2901 28.07C73.2801 28.07 70.6001 25.16 70.6001 20.73V15.72H68.1401V12.29H74.3201V20.5C74.3201 23.15 75.7401 24.67 78.0701 24.67C79.4001 24.67 80.8501 23.89 82.0201 22.44V15.71H79.5901V12.28H85.7301V24.15H88.2201V27.58Z" fill="white"/>
<path d="M119.26 27.42C117.58 27.94 116.77 28.07 115.44 28.07C111.82 28.07 109.52 25.64 109.52 21.7V15.72H105.77V12.29H109.52V7.54004H113.24V12.29H118.64V15.72H113.24V21.7C113.24 23.74 114.34 24.61 116.18 24.61C117.02 24.61 117.96 24.45 118.74 24.22L119.26 27.42Z" fill="white"/>
<path d="M136.3 24.15H138.76V27.58H132.58V26.51C131.32 27.42 129.73 27.93 127.89 27.93C123.62 27.93 120.19 24.37 120.19 19.94C120.19 15.51 123.62 11.92 127.89 11.92C129.73 11.92 131.32 12.44 132.58 13.34V12.27H138.76V15.7H136.3V24.14V24.15ZM132.58 22.92V16.94C131.25 15.65 129.9 15.16 128.44 15.16C125.82 15.16 123.91 17.39 123.91 19.95C123.91 22.51 125.82 24.7 128.44 24.7C129.9 24.7 131.25 24.21 132.58 22.92Z" fill="white"/>
<path d="M153.82 27.42C152.14 27.94 151.33 28.07 150 28.07C146.38 28.07 144.08 25.64 144.08 21.7V15.72H140.33V12.29H144.08V7.54004H147.8V12.29H153.2V15.72H147.8V21.7C147.8 23.74 148.9 24.61 150.74 24.61C151.58 24.61 152.52 24.45 153.29 24.22L153.81 27.42H153.82Z" fill="white"/>
<path d="M99.7301 18.52L96.6601 18C94.8801 17.68 94.3301 17.03 94.3301 16.22C94.3301 15.41 95.0101 14.64 96.7201 14.64C98.6301 14.64 99.5701 15.55 100.83 16.94H104.19V12.28H100.83V13.22C99.8901 12.31 98.5301 11.8 96.6601 11.8C93.1001 11.8 90.4201 13.42 90.4201 16.49C90.4201 19.34 92.7501 20.73 96.0501 21.31L98.8301 21.76C100.22 22.02 100.8 22.67 100.8 23.51C100.8 24.35 100.25 25.16 98.2801 25.16C95.9401 25.16 94.6101 23.95 93.2701 22.35H89.8101V27.58H93.2101V26.19C94.4101 27.19 96.2201 28.07 98.7101 28.07C102.43 28.07 104.6 26.16 104.6 23.28C104.6 20.24 102.17 18.95 99.7501 18.53L99.7301 18.52Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_4_13767">
<rect width="153.82" height="40" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.8 KiB

@ -25,27 +25,27 @@ export const rustat: ClientConfig = {
styles: { styles: {
background: 'background-image: url(/images/Checker.png);', background: 'background-image: url(/images/Checker.png);',
homePageHeader: css` homePageHeader: css`
background: #0B456E; background: #120F46;
`, `,
logo: 'logo-rustat.svg', logo: 'logo-rustat.png',
logoHeight: 2.465, logoHeight: 6,
logoLeft: 1.7, logoLeft: 1.2,
logoTop: 1.5, logoTop: 1.2,
logoWidth: 6.37, logoWidth: 6,
matchLogoHeight: 2.465, matchLogoHeight: 2.5,
matchLogoWidth: 6.37, matchLogoWidth: 2.5,
matchPageMobileHeaderLogo: css` matchPageMobileHeaderLogo: css`
width: 90px; width: 27px;
height: 27px; height: 27px;
top: 0; top: 0;
`, `,
mobileHeaderLogo: css` mobileHeaderLogo: css`
width: 77px; width: 42px;
height: 24px; height: 42px;
`, `,
userAccountLogo: css` userAccountLogo: css`
width: 6.37rem; width: 80px;
height: 2.465rem; height: 80px;
`, `,
}, },
termsLink: '', termsLink: '',

@ -12,9 +12,9 @@ export const rustat: ClientConfig = {
background: Background, background: Background,
styles: { styles: {
centerBlock: css` centerBlock: css`
margin-top: 9.15rem; margin-top: 5.15rem;
${isMobileDevice ? css` ${isMobileDevice ? css`
margin-top: 107px; margin-top: 60px;
@media screen and (orientation: landscape) { @media screen and (orientation: landscape) {
width: 290px; width: 290px;
margin: auto; margin: auto;
@ -22,20 +22,16 @@ export const rustat: ClientConfig = {
` : ''}; ` : ''};
`, `,
logo: css` logo: css`
background-image: url(/images/logo-rustat.svg); background-image: url(/images/logo-rustat.png);
background-position: center; background-position: center;
height: 85px; height: 220px;
width: 275px; width: 220px;
margin-bottom: 1.82rem; margin-bottom: 1rem;
${isMobileDevice ? css` ${isMobileDevice ? css`
margin-bottom: 15px; margin-bottom: 15px;
width: 165px; width: 74px;
height: 50px; height: 74px;
@media screen and (orientation: landscape){
width: 92px;
height: 22px;
}
` : ''} ` : ''}
`, `,
}, },

@ -138,7 +138,7 @@ export const rustatTheme: CustomTheme = {
colors: { colors: {
...defaultTheme.colors, ...defaultTheme.colors,
matchCardBackground: 'linear-gradient(180deg, #31BAB1 0%, #3F3F3F 50%)', matchCardBackground: 'linear-gradient(180deg, #31BAB1 0%, #3F3F3F 50%)',
matchHeaderBackground: '#0B456E', matchHeaderBackground: '#120F46',
}, },
name: 'rustat', name: 'rustat',
} }

Loading…
Cancel
Save