This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'zone.js'; | |
import { bootstrapApplication } from '@angular/platform-browser'; | |
import { Component } from '@angular/core'; | |
import { CountdownComponent, CountdownConfig } from 'ngx-countdown'; | |
@Component({ | |
selector: 'my-app', | |
template: ` | |
<countdown [config]="config"></countdown> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
minimal: | |
platform: linux/amd64 | |
build: | |
context: . | |
dockerfile: Dockerfile.minimal | |
environment: | |
- NODE_ENV=LOCAL | |
- DOCKER=true | |
- SERVICE=RENTALCARS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Base image | |
FROM debian:bullseye-slim | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
# We don't need the standalone Chromium | |
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true | |
# Setup the base OS | |
RUN apt-get update -qq \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const puppeteer = require('puppeteer-extra'); | |
const RecaptchaPlugin = require('puppeteer-extra-plugin-recaptcha'); | |
const StealthPlugin = require('puppeteer-extra-plugin-stealth'); | |
const { consola } = require('consola'); | |
const fs = require('fs'); | |
const { delay } = require('../utils/async'); | |
const DOCKER = process.env['DOCKER']; | |
const SERVICE = process.env['SERVICE']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.create-container { | |
@apply px-2 py-2 flex flex-col items-center; | |
} | |
form { | |
@apply w-full pt-6 pb-8 mb-4; | |
max-width: 768px; | |
} | |
.img-title-area { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.contact-container { | |
@apply px-2 py-2 flex flex-col items-center; | |
} | |
@screen sm { | |
.contact-container { | |
@apply px-4 py-6; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.main-content { | |
@apply flex flex-col; | |
} | |
.ads { | |
@apply flex-auto; | |
min-width: 120px; | |
min-height: 100px; | |
max-width: 100%; | |
max-height: 100px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{#if serverRes} | |
{#if serverRes.successful} | |
<Alert type="success" message="Your game has been successfully saved and it's awaiting review!" /> | |
{:else} | |
<Alert | |
type="error" | |
message={serverRes.errorMsg ? serverRes.errorMsg : 'There was a problem sending your game entry. Please, try again.'} | |
/> | |
{/if} | |
{/if} |
NewerOlder