Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update application to simulate mining process #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tasks": {
"test": "echo \"No tests defined for this project.\"",
"build": "npm install",
"launch": "npm install && MOVIE_DB_API_KEY=<your-movie-db-token> BOT_TOKEN=<your-telegram-token> npm start"
}
}
7 changes: 3 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions public/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ body {
flex-direction: column;
margin: 0;
padding: 0;
background-color: var(--tg-theme-bg-color);
color: var(--tg-theme-text-color);
background-color: #1e1e1e;
color: #f0f0f0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
"Helvetica Neue", sans-serif;
}

.hint {
color: var(--tg-theme-hint-color);
color: #a0a0a0;
font-size: 11px;
}

Expand All @@ -32,7 +32,7 @@ rg-swipi-card {
}

.wrapper {
background-color: var(--tg-theme-secondary-bg-color);
background-color: #2e2e2e;
border-radius: 15px;
box-shadow: 0 8px 0 rgba(0, 0, 0, 0.4);
display: flex;
Expand Down Expand Up @@ -116,7 +116,6 @@ lottie-player {
.title {
font-weight: bold;
height: 30px;
/* padding: 10px; */
display: flex;
align-items: center;
justify-content: center;
Expand Down Expand Up @@ -197,7 +196,7 @@ lottie-player {
border-top-right-radius: 15px;
overflow: hidden;
background:
linear-gradient(to top, var(--tg-theme-secondary-bg-color) 0%, rgba(0, 0, 0, 0) 70%),
linear-gradient(to top, #2e2e2e 0%, rgba(0, 0, 0, 0) 70%),
var(--dynamic-bg-image) center center / cover no-repeat;
}

Expand Down Expand Up @@ -225,9 +224,9 @@ lottie-player {
}

.select {
border-bottom: 1px solid var(--tg-theme-bg-color);
border-bottom: 1px solid #1e1e1e;
padding: 10px 20px;
background-color: var(--tg-theme-secondary-bg-color);
background-color: #2e2e2e;
display: flex;
align-items: center;
}
Expand Down Expand Up @@ -258,7 +257,7 @@ lottie-player {
}

.button-text {
color: var(--tg-theme-button-color);
color: #32b545;
}

::-webkit-scrollbar {
Expand Down
Loading