Skip to content

Commit

Permalink
Merge pull request #58 from ducktordanny/build/release-v0.6.0
Browse files Browse the repository at this point in the history
Release v0.6.0 🚀
  • Loading branch information
ducktordanny authored Aug 23, 2022
2 parents 529df22 + e2f95a9 commit 3c1a6eb
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 12 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

> All notable changes to this project will be documented in this file.
## [0.6.0] - 2022-08-23

- Update home page
- Add explanations for epsilon calculation
- Implement epsilon tab on transportation problem page
- Add Vogel-Korda method to transportation problems
- Automation of release via GitHub Actions

## [0.5.0] - 2022-08-05

- Implement public API for calculations & refactor the ui to use it
Expand Down
12 changes: 10 additions & 2 deletions apps/frontend/src/app/pages/home/home.style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,22 @@ header {
main {
padding: 30px 8px;

h1,
h2 {
margin: 0 0 40px;
text-align: center;
font-weight: normal;
}

section {
text-align: center;
box-sizing: border-box;
padding: 24px;
max-width: 450px;

img {
margin: 24px;
border-radius: 15px;
max-width: 250px;
width: 100%;
}

.sample-img-right {
Expand All @@ -67,6 +71,10 @@ main {
margin-bottom: 24px;
}

.small-feature {
max-width: 250px;
}

.others-soon {
width: 100%;
padding: 24px 0;
Expand Down
31 changes: 24 additions & 7 deletions apps/frontend/src/app/pages/home/home.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,44 @@ <h1>{{'HOME.HEADER_TITLE' | translate}}</h1>
</header>

<main #descriptions>
<h2>{{'HOME.SUGGESTION' | translate}}</h2>
<h1>{{'HOME.SUGGESTION' | translate}}</h1>

<h2>{{'HOME.HELPERS_LIST.TRANSPORTATION_PR.TITLE' | translate}}</h2>
<div class="sections-wrapper">
<section>
<h3>{{'HOME.HELPERS_LIST.TRANSPORTATION_PR' | translate}}</h3>
<h3>{{'HOME.HELPERS_LIST.TRANSPORTATION_PR.ALL' | translate}}</h3>
<img
class="mat-elevation-z12 sample-img-right"
src="../../../assets/home/transportation-page.example.png"
src="../../../assets/home/transport-problem/all-tab.example.png"
alt="Transportation page example"
/>
</section>
<section>
<h3>{{'HOME.HELPERS_LIST.ASSIGNMENT_PR' | translate}}</h3>
<h3>{{'HOME.HELPERS_LIST.TRANSPORTATION_PR.EPSILON' | translate}}</h3>
<img
class="mat-elevation-z12 sample-img-left"
src="../../../assets/home/transport-problem/epsilon-tab.example.png"
alt="Transportation page example"
/>
</section>
</div>

<mat-divider></mat-divider>

<h2>{{'HOME.HELPERS_LIST.ASSIGNMENT_PR' | translate}}</h2>
<div class="sections-wrapper">
<section>
<img
class="mat-elevation-z12 sample-img-right"
src="../../../assets/home/assignment-page.example.png"
alt="Assignment page example"
/>
</section>
</div>

<div class="sections-wrapper">
<section class="others-soon">
<h3>{{'HOME.HELPERS_LIST.OTHERS_SOON' | translate}}</h3>
<info-card>{{'HOME.HELPERS_LIST.OTHERS_SOON' | translate}}</info-card>
</section>
</div>

Expand All @@ -50,15 +67,15 @@ <h3>{{'HOME.HELPERS_LIST.OTHERS_SOON' | translate}}</h3>
<h2>{{'HOME.FEATURE_LIST_TITLE' | translate}}</h2>

<div class="sections-wrapper">
<section>
<section class="small-feature">
<h3>{{'HOME.FEATURE_LIST.LANGUAGES' | translate}}</h3>
<img
class="mat-elevation-z12 sample-img-right"
src="../../../assets/home/language-switcher.example.png"
alt="Language switcher example"
/>
</section>
<section>
<section class="small-feature">
<h3>{{'HOME.FEATURE_LIST.THEMES' | translate}}</h3>
<img
class="mat-elevation-z12 sample-img-left"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion apps/frontend/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
"WIP_NOTE": "Please keep in mind that this part of the app is still in progress.",
"SUGGESTION": "Try solving the following problems with the help of the app:",
"HELPERS_LIST": {
"TRANSPORTATION_PR": "Transportation problem",
"TRANSPORTATION_PR": {
"TITLE": "Transportation problem",
"ALL": "Need all steps?",
"EPSILON": "If only the epsilon is needed"
},
"ASSIGNMENT_PR": "Assignment problem",
"OTHERS_SOON": "And more coming soon..."
},
Expand Down
6 changes: 5 additions & 1 deletion apps/frontend/src/assets/i18n/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
"WIP_NOTE": "Az app ezen részének a fejlesztése még folyamatban van.",
"SUGGESTION": "Probáld ki a következő problémák megoldását az app segítségével:",
"HELPERS_LIST": {
"TRANSPORTATION_PR": "Szállítási probléma",
"TRANSPORTATION_PR": {
"TITLE": "Szállítási probléma",
"ALL": "Az összes lépés kell?",
"EPSILON": "Ha csak az epszilon kell"
},
"ASSIGNMENT_PR": "Hozzárendelési probléma",
"OTHERS_SOON": "És még több hamarosan..."
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opres",
"version": "0.5.0",
"version": "0.6.0",
"license": "MIT",
"scripts": {
"ng": "nx",
Expand Down

0 comments on commit 3c1a6eb

Please sign in to comment.