Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3 from diamantdotdev/beta
Browse files Browse the repository at this point in the history
1.3 Release !
  • Loading branch information
HerIsDia authored Jun 25, 2021
2 parents 9eb5342 + e7b24a1 commit e187eac
Show file tree
Hide file tree
Showing 47 changed files with 923 additions and 222 deletions.
64 changes: 40 additions & 24 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,42 +1,58 @@
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="manifest" href="./manifest.webmanifest" id="manifest" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>What Pokémon are you today ?</title>
<meta name="title" content="What Pokémon are you today ?">
<meta name="description" content="Discover what Pokemon you are today.">

<meta property="og:type" content="website">
<meta property="og:url" content="https://wpayt.diams.app">
<meta property="og:title" content="What Pokémon are you today ?">
<meta property="og:description" content="Discover what Pokemon you are today.">
<meta property="og:image" content="./src/card.png">

<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://wpayt.diams.app">
<meta property="twitter:title" content="What Pokémon are you today ?">
<meta property="twitter:description" content="Discover what Pokemon you are today.">
<meta property="twitter:image" content="./src/card.png">
<meta name="title" content="What Pokémon are you today ?" />
<meta name="description" content="Discover what Pokemon you are today." />

<meta property="og:type" content="website" />
<meta property="og:url" content="https://wpayt.diams.app" />
<meta property="og:title" content="What Pokémon are you today ?" />
<meta
property="og:description"
content="Discover what Pokemon you are today."
/>
<meta property="og:image" content="./src/images/card.png" />

<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://wpayt.diams.app" />
<meta property="twitter:title" content="What Pokémon are you today ?" />
<meta
property="twitter:description"
content="Discover what Pokemon you are today."
/>
<meta property="twitter:image" content="./src/images/card.png" />

<meta charset="UTF-8" />
<link rel="stylesheet" href="src/style.scss" />
<link rel="stylesheet" href="src/scss/style.scss" />
<link
rel="shortcut icon"
href="./src/icon.png"
href="./src/images/icon.png"
crossorigin="anonymous"
type="image/PNG"
class="icon"
/>
</head>

<body>
<div>
<h1>Hello,</h1>
<p>You are <span id=a></span> <span id="poke"></span> today.</p>
<p class="footer">Made with <i class="fas fa-heart"></i> by <a href="https://diamant.dev" target="_blank" rel="noopener noreferrer">Diamant</a>. - <a id="tweet" href="#" hidden target="_blank">Share on twitter.</a></p>
<div class="day">
<div>
<h1 id="hello"></h1>
<p id="you"></p>
<p class="footer"></p>
</div>
<div><img id="sprite" src="#" alt="" crossorigin="anonymous" /></div>
</div>
<div><img src="#" alt="" crossorigin="anonymous" /></div>

<script src="src/index.ts"></script>
<div class="history"></div>
<script src="src/ts/index.ts"></script>
</body>
</html>
23 changes: 23 additions & 0 deletions manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "What Pokemon Are You today ?",
"short_name": "WPAYT ?",
"theme_color": "#242424",
"background_color": "#ffffff",
"display": "minimal-ui",
"scope": "/",
"start_url": "/",
"icons": [
{
"src": "src/images/icons/manifest-icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable any"
},
{
"src": "src/images/icons/manifest-icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable any"
}
]
}
115 changes: 109 additions & 6 deletions package-lock.json

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

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "what-pokemon-you-are-today",
"version": "1.0.1",
"version": "1.3.0",
"description": "This little project have just a single utility: telling you what Pokemon you are today !",
"main": "dist/index.html",
"homepage": "https://wpayt.diams.app",
"author": {
"name": "DiamantDev",
Expand All @@ -14,10 +13,16 @@
"build": "parcel build index.html"
},
"dependencies": {
"pokemon.js": "^1.1.8"
"pokedex-promise-v2": "^3.3.2",
"workbox-cacheable-response": "^6.1.5",
"workbox-expiration": "^6.1.5",
"workbox-routing": "^6.1.5",
"workbox-strategies": "^6.1.5"
},
"devDependencies": {
"@parcel/packager-raw-url": "^2.0.0-nightly.2349",
"@parcel/transformer-sass": "^2.0.0-nightly.727",
"@parcel/transformer-webmanifest": "^2.0.0-nightly.2349",
"parcel": "^2.0.0-nightly.725",
"sass": "^1.35.1",
"typescript": "4.2.3"
Expand Down
18 changes: 9 additions & 9 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@

# What Pokemon Are You Today !

This little project have just a single utility: telling you what Pokemon you are today !
This little project have just a single utility: telling you what Pokemon you are
today !

<a href="https://github.com/diamantdotdev/What-Pokemon-Are-You-Today/network"><img alt="GitHub forks" src="https://img.shields.io/github/forks/diamantdotdev/What-Pokemon-Are-You-Today?logo=github&style=flat-square"></a>
<a href="https://github.com/diamantdotdev/What-Pokemon-Are-You-Today/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/diamantdotdev/What-Pokemon-Are-You-Today?logo=github&style=flat-square"></a>
<a href="https://github.com/diamantdotdev/What-Pokemon-Are-You-Today/blob/master/LICENCE"><img alt="GitHub license" src="https://img.shields.io/github/license/diamantdotdev/What-Pokemon-Are-You-Today?style=flat-square"></a>
<img alt="Website" src="https://img.shields.io/website?down_color=red&down_message=offline&style=flat-square&up_color=green&up_message=online&url=https%3A%2F%2Fwpayt.diams.app">


## Authors

- [@diamantdotdev](https://www.github.com/diamantdotdev)


## Run Locally

Clone the project
Expand All @@ -40,12 +38,14 @@ Start the server
npm run start
```


## Features

- Telling what Pokemon are you today.
- ***SMOOTH ANIMATION***
- Stored via `localstorage` (No online store)
- **_SMOOTH ANIMATION_**
- Stored via `localstorage`. (No online storage.)
- Website background based on Pokemon first type.


- `NEW` PWA Support.
- `NEW` Telling what Level you are today.
- `NEW` Some Smooth Reveal Animation.
- `NEW` Get an history of what Pokemon you has been.
- `NEW` French translation.
Loading

1 comment on commit e187eac

@vercel
Copy link

@vercel vercel bot commented on e187eac Jun 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.