Skip to content

Commit

Permalink
feat:app logo colorful & blue bg (#4488)
Browse files Browse the repository at this point in the history
Signed-off-by: jingyang <3161362058@qq.com>
  • Loading branch information
zjy365 committed Jan 17, 2024
1 parent cd56ca8 commit dfb748f
Show file tree
Hide file tree
Showing 15 changed files with 241 additions and 12 deletions.
2 changes: 1 addition & 1 deletion frontend/desktop/data/config.json
@@ -1,3 +1,3 @@
{
"scripts": []
}
}
152 changes: 152 additions & 0 deletions frontend/desktop/public/images/bg-blue.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file modified frontend/desktop/public/images/driver-bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion frontend/desktop/src/api/platform.ts
Expand Up @@ -28,9 +28,11 @@ export const getUserAccount = () => {
export const getSystemEnv = () => {
return request.get<SystemEnv>('/api/platform/getEnv');
};

export const getSystemConfig = () => {
return request.get<SystemConfigType>('./api/system/getSystemConfig');
return request.get<SystemConfigType>('/api/system/getSystemConfig');
};

export const getPriceBonus = () => {
return request.get<
any,
Expand Down
2 changes: 1 addition & 1 deletion frontend/desktop/src/components/desktop_content/index.tsx
Expand Up @@ -86,7 +86,7 @@ export default function DesktopContent(props: any) {
<Box
id="desktop"
className={styles.desktop}
backgroundImage={'url(/images/background.svg)'}
backgroundImage={'url(/images/bg-blue.svg)'}
backgroundRepeat={'no-repeat'}
backgroundSize={'cover'}
>
Expand Down
18 changes: 9 additions & 9 deletions frontend/desktop/src/hooks/useDriver.tsx
Expand Up @@ -10,30 +10,30 @@ import { useEffect, useState } from 'react';
export function DriverStarIcon() {
return (
<Icon
xmlns="http://www.w3.org/2000/svg"
width="20px"
height="20px"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M3.74999 1.08801C4.0696 1.08801 4.32869 1.34711 4.32869 1.66672V3.17135H5.83332C6.15293 3.17135 6.41203 3.43044 6.41203 3.75005C6.41203 4.06966 6.15293 4.32875 5.83332 4.32875H4.32869V5.83338C4.32869 6.15299 4.0696 6.41209 3.74999 6.41209C3.43038 6.41209 3.17128 6.15299 3.17128 5.83338V4.32875H1.66666C1.34705 4.32875 1.08795 4.06966 1.08795 3.75005C1.08795 3.43044 1.34705 3.17135 1.66666 3.17135H3.17128V1.66672C3.17128 1.34711 3.43038 1.08801 3.74999 1.08801ZM10.8333 1.92135C11.0728 1.92135 11.2875 2.06882 11.3735 2.29231L12.8186 6.04969C13.0643 6.68839 13.1548 6.91199 13.2853 7.0956C13.4098 7.27064 13.5627 7.42357 13.7378 7.54803C13.9214 7.67859 14.145 7.76912 14.7837 8.01477L18.5411 9.45992C18.7646 9.54588 18.912 9.7606 18.912 10C18.912 10.2395 18.7646 10.4542 18.5411 10.5402L14.7837 11.9853C14.145 12.231 13.9214 12.3215 13.7378 12.4521C13.5627 12.5765 13.4098 12.7295 13.2853 12.9045C13.1548 13.0881 13.0643 13.3117 12.8186 13.9504L11.3735 17.7078C11.2875 17.9313 11.0728 18.0788 10.8333 18.0788C10.5939 18.0788 10.3792 17.9313 10.2932 17.7078L8.84804 13.9504C8.60239 13.3117 8.51186 13.0881 8.3813 12.9045C8.25684 12.7295 8.10391 12.5765 7.92887 12.4521C7.74526 12.3215 7.52166 12.231 6.88297 11.9853L3.12558 10.5402C2.90209 10.4542 2.75462 10.2395 2.75462 10C2.75462 9.7606 2.90209 9.54588 3.12558 9.45992L6.88296 8.01477C7.52166 7.76912 7.74526 7.67859 7.92887 7.54803C8.10391 7.42357 8.25684 7.27064 8.3813 7.0956C8.51186 6.91199 8.60239 6.68839 8.84804 6.04969L10.2932 2.29231C10.3791 2.06882 10.5939 1.92135 10.8333 1.92135ZM10.8333 4.11213L9.9283 6.46518C9.91949 6.48809 9.9108 6.51071 9.90222 6.53303C9.69245 7.07888 9.55023 7.44893 9.32456 7.76631C9.12512 8.04679 8.88006 8.29185 8.59958 8.49129C8.28221 8.71696 7.91216 8.85917 7.36631 9.06895C7.34398 9.07753 7.32137 9.08622 7.29845 9.09503L4.9454 10L7.29845 10.9051C7.32137 10.9139 7.34398 10.9226 7.36631 10.9312C7.91216 11.1409 8.28221 11.2831 8.59958 11.5088C8.88006 11.7083 9.12512 11.9533 9.32456 12.2338C9.55023 12.5512 9.69245 12.9212 9.90222 13.4671C9.9108 13.4894 9.91949 13.512 9.9283 13.5349L10.8333 15.888L11.7383 13.5349C11.7472 13.512 11.7558 13.4894 11.7644 13.4671C11.9742 12.9212 12.1164 12.5512 12.3421 12.2338C12.5415 11.9533 12.7866 11.7083 13.0671 11.5088C13.3844 11.2831 13.7545 11.1409 14.3003 10.9311C14.3227 10.9226 14.3453 10.9139 14.3682 10.9051L16.7212 10L14.3682 9.09503C14.3453 9.08622 14.3227 9.07753 14.3004 9.06896C13.7545 8.85918 13.3844 8.71696 13.0671 8.49129C12.7866 8.29185 12.5415 8.04679 12.3421 7.76631C12.1164 7.44894 11.9742 7.07889 11.7644 6.53304C11.7558 6.51071 11.7472 6.4881 11.7383 6.46518L10.8333 4.11213ZM3.74999 13.588C4.0696 13.588 4.32869 13.8471 4.32869 14.1667V15.6713H5.83332C6.15293 15.6713 6.41203 15.9304 6.41203 16.25C6.41203 16.5697 6.15293 16.8288 5.83332 16.8288H4.32869V18.3334C4.32869 18.653 4.0696 18.9121 3.74999 18.9121C3.43038 18.9121 3.17128 18.653 3.17128 18.3334V16.8288H1.66666C1.34705 16.8288 1.08795 16.5697 1.08795 16.25C1.08795 15.9304 1.34705 15.6713 1.66666 15.6713H3.17128V14.1667C3.17128 13.8471 3.43038 13.588 3.74999 13.588Z"
fill="url(#paint0_linear_124_3715)"
d="M3.74999 1.08789C4.0696 1.08789 4.32869 1.34699 4.32869 1.66659V3.17122H5.83332C6.15293 3.17122 6.41203 3.43032 6.41203 3.74993C6.41203 4.06954 6.15293 4.32863 5.83332 4.32863H4.32869V5.83326C4.32869 6.15287 4.0696 6.41196 3.74999 6.41196C3.43038 6.41196 3.17128 6.15287 3.17128 5.83326V4.32863H1.66666C1.34705 4.32863 1.08795 4.06954 1.08795 3.74993C1.08795 3.43032 1.34705 3.17122 1.66666 3.17122H3.17128V1.66659C3.17128 1.34699 3.43038 1.08789 3.74999 1.08789ZM10.8333 1.92122C11.0728 1.92122 11.2875 2.06869 11.3735 2.29218L12.8186 6.04957C13.0643 6.68827 13.1548 6.91187 13.2853 7.09548C13.4098 7.27051 13.5627 7.42344 13.7378 7.54791C13.9214 7.67846 14.145 7.769 14.7837 8.01465L18.5411 9.4598C18.7646 9.54576 18.912 9.76048 18.912 9.99993C18.912 10.2394 18.7646 10.4541 18.5411 10.5401L14.7837 11.9852C14.145 12.2309 13.9214 12.3214 13.7378 12.4519C13.5627 12.5764 13.4098 12.7293 13.2853 12.9044C13.1548 13.088 13.0643 13.3116 12.8186 13.9503L11.3735 17.7077C11.2875 17.9312 11.0728 18.0786 10.8333 18.0786C10.5939 18.0786 10.3792 17.9312 10.2932 17.7077L8.84804 13.9503C8.60239 13.3116 8.51186 13.088 8.3813 12.9044C8.25684 12.7293 8.10391 12.5764 7.92887 12.4519C7.74526 12.3214 7.52166 12.2309 6.88297 11.9852L3.12558 10.5401C2.90209 10.4541 2.75462 10.2394 2.75462 9.99993C2.75462 9.76048 2.90209 9.54576 3.12558 9.4598L6.88296 8.01465C7.52166 7.769 7.74526 7.67846 7.92887 7.54791C8.10391 7.42345 8.25684 7.27051 8.3813 7.09548C8.51186 6.91187 8.60239 6.68827 8.84804 6.04957L10.2932 2.29219C10.3791 2.06869 10.5939 1.92122 10.8333 1.92122ZM10.8333 4.11201L9.9283 6.46506C9.91949 6.48797 9.9108 6.51059 9.90222 6.53291C9.69245 7.07876 9.55023 7.44881 9.32456 7.76619C9.12512 8.04667 8.88006 8.29173 8.59958 8.49117C8.28221 8.71684 7.91216 8.85905 7.36631 9.06883C7.34398 9.0774 7.32137 9.0861 7.29845 9.09491L4.9454 9.99993L7.29845 10.9049C7.32137 10.9138 7.34398 10.9225 7.36631 10.931C7.91216 11.1408 8.28221 11.283 8.59958 11.5087C8.88006 11.7081 9.12512 11.9532 9.32456 12.2337C9.55023 12.551 9.69245 12.9211 9.90222 13.4669C9.9108 13.4893 9.91949 13.5119 9.9283 13.5348L10.8333 15.8878L11.7383 13.5348C11.7472 13.5119 11.7558 13.4893 11.7644 13.467C11.9742 12.9211 12.1164 12.551 12.3421 12.2337C12.5415 11.9532 12.7866 11.7081 13.0671 11.5087C13.3844 11.283 13.7545 11.1408 14.3003 10.931C14.3227 10.9225 14.3453 10.9138 14.3682 10.9049L16.7212 9.99993L14.3682 9.09491C14.3453 9.0861 14.3227 9.07741 14.3004 9.06883C13.7545 8.85906 13.3844 8.71684 13.0671 8.49117C12.7866 8.29173 12.5415 8.04667 12.3421 7.76619C12.1164 7.44881 11.9742 7.07876 11.7644 6.53291C11.7558 6.51059 11.7472 6.48797 11.7383 6.46505L10.8333 4.11201ZM3.74999 13.5879C4.0696 13.5879 4.32869 13.847 4.32869 14.1666V15.6712H5.83332C6.15293 15.6712 6.41203 15.9303 6.41203 16.2499C6.41203 16.5695 6.15293 16.8286 5.83332 16.8286H4.32869V18.3333C4.32869 18.6529 4.0696 18.912 3.74999 18.912C3.43038 18.912 3.17128 18.6529 3.17128 18.3333V16.8286H1.66666C1.34705 16.8286 1.08795 16.5695 1.08795 16.2499C1.08795 15.9303 1.34705 15.6712 1.66666 15.6712H3.17128V14.1666C3.17128 13.847 3.43038 13.5879 3.74999 13.5879Z"
fill="url(#paint0_linear_317_238)"
/>
<defs>
<linearGradient
id="paint0_linear_124_3715"
id="paint0_linear_317_238"
x1="9.99999"
y1="1.66672"
y1="1.66659"
x2="9.99999"
y2="18.3334"
y2="18.3333"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#FFC3A4" />
<stop offset="0.432292" stopColor="#FE8BA7" />
<stop offset="1" stopColor="#8695FF" />
<stop stopColor="#69AEFF" />
<stop offset="0.432292" stopColor="#6096FF" />
<stop offset="1" stopColor="#6C7FFF" />
</linearGradient>
</defs>
</Icon>
Expand Down
1 change: 1 addition & 0 deletions frontend/desktop/src/styles/globals.scss
Expand Up @@ -80,4 +80,5 @@ div {

#driver-popover-content {
padding: 14px;
border: 1px solid #94b5ff;
}
9 changes: 9 additions & 0 deletions frontend/providers/applaunchpad/public/logo-colorful.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions frontend/providers/costcenter/public/logo-colorful.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions frontend/providers/cronjob/public/logo-colorful.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions frontend/providers/dbprovider/public/logo-colorful.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions frontend/providers/objectstorage/public/logo-colorful.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions frontend/providers/template/public/logo-colorful.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dfb748f

Please sign in to comment.