updated icons, logo, readme
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
# JetBrains project files
|
||||
.idea
|
||||
.vscode
|
||||
|
||||
# NPM
|
||||
node_modules
|
||||
|
|
35
README.md
|
@ -1,23 +1,28 @@
|
|||
# EnRecipes
|
||||
|
||||
> A native application built with NativeScript-Vue
|
||||
> A simple, offline recipe manager.
|
||||
|
||||
## Usage
|
||||
EnRecipes is an easy to use, privacy-friendly app that lets you store, manage and share your recipes.
|
||||
|
||||
``` bash
|
||||
# Install dependencies
|
||||
npm install
|
||||
## Features:
|
||||
|
||||
# Preview on device
|
||||
tns preview
|
||||
- Add your recipes
|
||||
- Add photo, notes and references to your recipes
|
||||
- Organise your recipes by category
|
||||
- Search for your recipes based on the title
|
||||
- Mark recipes as favorites and add them to your Try later list
|
||||
- Scale your recipe ingredients easily
|
||||
- Get notified of the last time you tried a recipe
|
||||
- Share your recipe as a nicely formated message. You can share the photo too.
|
||||
- Import/Export recipes
|
||||
- Light/Dark theme
|
||||
- No annoying ads or pop-ups
|
||||
- No internet access is required and never asks for any unwanted permissions
|
||||
- 100% free and open-source
|
||||
- Private by design
|
||||
|
||||
# Build, watch for changes and run the application
|
||||
tns run
|
||||
Lots of interesting features on the way...
|
||||
|
||||
# Build, watch for changes and debug the application
|
||||
tns debug <platform>
|
||||
## Credits
|
||||
|
||||
# Build for production
|
||||
tns build <platform> --env.production
|
||||
|
||||
```
|
||||
This app was written in my free time using NativeScript. I would like to thank all those people who helped me understand the concepts during the process and my special thanks to the NativeScript team and the community.
|
||||
|
|
BIN
app/App_Resources/Android/src/main/res/PlayStore-Icon.png
Executable file → Normal file
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 7.1 KiB |
BIN
app/App_Resources/Android/src/main/res/PlayStore-Icon@2x.png
Executable file → Normal file
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 16 KiB |
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ns_accent" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
Before Width: | Height: | Size: 587 B After Width: | Height: | Size: 567 B |
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 339 B |
Before Width: | Height: | Size: 3.5 KiB |
BIN
app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 2.1 KiB |
BIN
app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 345 B |
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 2.5 KiB |
BIN
app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 161 B |
|
@ -5,6 +5,6 @@
|
|||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<bitmap android:gravity="center" android:src="@drawable/logo_light" />
|
||||
<bitmap android:gravity="center" android:src="@drawable/logo" />
|
||||
</item>
|
||||
</layer-list>
|
||||
|
|
Before Width: | Height: | Size: 704 B After Width: | Height: | Size: 626 B |
Before Width: | Height: | Size: 573 B After Width: | Height: | Size: 547 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 4.4 KiB |
BIN
app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 503 B After Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 515 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 8.5 KiB |
BIN
app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png
Normal file
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 824 B After Width: | Height: | Size: 797 B |
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 818 B |
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 449 B |
Before Width: | Height: | Size: 7.6 KiB |
BIN
app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png
Normal file
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 882 B After Width: | Height: | Size: 697 B |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 171 B |
|
@ -91,6 +91,9 @@ Page,
|
|||
MDFloatingActionButton {
|
||||
color: white;
|
||||
}
|
||||
.appIconContainer {
|
||||
background: $orange;
|
||||
}
|
||||
}
|
||||
|
||||
.ns-dark {
|
||||
|
@ -150,6 +153,9 @@ Page,
|
|||
MDFloatingActionButton {
|
||||
color: $gray9;
|
||||
}
|
||||
.appIconContainer {
|
||||
background: $orange;
|
||||
}
|
||||
}
|
||||
// -----------------------------
|
||||
// Elements
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
orientation="horizontal"
|
||||
class="appIconContainer"
|
||||
>
|
||||
<Image src="res://logo_light" class="appIcon" stretch="aspectFit" />
|
||||
<Image src="res://logo" class="appIcon" stretch="aspectFit" />
|
||||
</StackLayout>
|
||||
<StackLayout class="m-8"></StackLayout>
|
||||
<GridLayout columns="auto, *" class="option">
|
||||
|
@ -45,11 +45,14 @@
|
|||
<GridLayout columns="auto, *" class="option">
|
||||
<MDRipple colSpan="2" @tap="openURL('https://t.me/enrecipes')" />
|
||||
<Label col="0" class="bx" :text="icon.telegram" />
|
||||
<Label
|
||||
verticalAlignment="center"
|
||||
col="1"
|
||||
text="Join the Telegram group"
|
||||
/>
|
||||
<StackLayout col="1">
|
||||
<Label text="Join the Telegram group" />
|
||||
<Label
|
||||
text="for reporting issues, suggestions and feedback"
|
||||
class="info"
|
||||
textWrap="true"
|
||||
/>
|
||||
</StackLayout>
|
||||
</GridLayout>
|
||||
|
||||
<StackLayout class="hr m-10"></StackLayout>
|
||||
|
|
|
@ -371,7 +371,7 @@ export default {
|
|||
this.appTheme = ApplicationSettings.getString("appTheme", "Light")
|
||||
setTimeout((e) => {
|
||||
Theme.setMode(Theme[this.appTheme])
|
||||
}, 50)
|
||||
}, 10)
|
||||
this.initializeRecipes()
|
||||
this.initializeCategories()
|
||||
this.initializeYieldUnits()
|
||||
|
|