Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBrightHub committed Dec 21, 2019
1 parent 2614827 commit 5295fe1
Show file tree
Hide file tree
Showing 10 changed files with 14,372 additions and 49 deletions.
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GENERATE_SOURCEMAP=false
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GENERATE_SOURCEMAP=false
8 changes: 8 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const { override, fixBabelImports } = require('customize-cra');
module.exports = override(
fixBabelImports('import', {
libraryName: 'antd-mobile',
libraryDirectory: 'es',
style: 'css',
}),
);
13,935 changes: 13,935 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@
"name": "christmas-akylone",
"version": "0.1.0",
"private": true,
"homepage": "./",
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"antd-mobile": "^2.3.1",
"babel-plugin-import": "^1.13.0",
"customize-cra": "^0.9.1",
"lodash": "^4.17.15",
"react": "^16.12.0",
"react-app-rewired": "^2.1.5",
"react-dom": "^16.12.0",
"react-scripts": "3.3.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>圣诞豪车礼包模拟器</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
Binary file added public/qr-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 47 additions & 26 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,38 +1,59 @@
.App {
.buy{
background-color: #c3fb12;
}

.navbar,body{
background-color: #030e24;
color:white;
}

body{
padding: 1em;
}

.sub-title{
font-size: 1.5em;
}

.pack-title{
font-size: 1.2em;
}

.pack-description,.pack-content{
padding-bottom: 1em;
}

.pack-content{
text-align: center;
font-size: 1.2em;
}

.App-logo {
height: 40vmin;
pointer-events: none;
.token{
background-color: #0e90f2;
}

@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
.star-yellow{
color:#fff34a;
}

.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
.star-grey{
color:#808080;
}

.App-link {
color: #61dafb;
.last-name{
font-weight:bold;
}

@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
.car-card+.car-card{
margin-top:0.5em;
}

.star-block{
display: inline-block;
width:9em;
}

.card-process{
display: inline-block;
width:5em;
}
Loading

0 comments on commit 5295fe1

Please sign in to comment.