We are pleased that you have chosen Unice Angular theme for your site and we will not disappoint you with your choice. Unice is an excellent theme develop with SEO friendly structure and Without Jquery. The code written is a clean and well structured.
Unice is the most powerful & responsive theme with all the modules and functions involved with an attractive design.
Unice Angular theme template is build focusing on Angular 20, ngbootstrap, HTML5, CSS3, scss and many more..
Unice theme presents total 12 layouts and lots of inner pages.
We request to have a look at our Unice manual to know brief about the theme! We have compromised each and every detail for you in the manual that you will need.
If we are unable to answer your queries beyond our documentation, you are free to contact us through the themeforest support page with your site. We will be happy to cater you and will get back to you in no time.
Read the manual before jumping to start!
Welcome to Angular! Angular helps you build modern applications for the web, mobile, or desktop.
For getting started an Angular application you needs two things as Prerequisites.
Before you begin, make sure your development environment includes Node and an npm package manager.
Download latest stable version of node.js i.e. 20.19.0 from nodejs.org.
Angular CLI, and Angular apps depend on features and functionality provided by libraries that are available as npm packages. To download and install npm packages, you must have an npm package manager. This Quick Start uses the npm client command line interface, which is installed with Node.js by default. To check that you have the npm client installed, run npm -v in a terminal/console window.
For better understanding angular we suggest you to once go through official documentation of an Angular from angular.dev
You use the Angular CLI to create projects, generate application and library code, and perform a variety of ongoing development tasks such as testing, bundling, and deployment.
Install the Angular CLI globally.
To install the CLI using npm, open a terminal/console window and enter the following command:
npm install -g @angular/cli
If you have already download and install node.js and Angular CLI then ignore prerequisites accordingly.
Download stable version of node.js from nodejs.org.
Install Angular CLI Using:
npm install -g @angular/cli
cd theme-folder
npm install
ng serve
npm install
npm install node-sass --save-dev
sudo npm cache clean
Here we represent Angular Folder Structure and Style Customize
We have full demo theme which is full-theme.zip. But if you want specific layout er have simplify your work by making demo stater kit which you can use as their name folder zip wise.
Suppose you want to add blog in your theme then you need to copy complete blog folder from main theme and paste it in your stater in same path as in main theme
We have build complete theme in scss so as end user select particular layout they have to change in below file:
Now as per our needed layout we are dynamically add that particular css
e.x : For Wedding layout we need color-11 so in wedding.ts we are calling one service which is colorScssservice and pass a particular color which we need for that particular layout and that service will add that css to that layout.
In particularLayout-nav.html you can find that particular layout logo and from their you can replace layout logo with your brand logo.
<img src="assets/images/icon/logo.png" class="img-fluid" alt="">
<img src="assets/images/logo/1.png" alt="" class="img-fluid footer-logo">
Horizontal Menu
You can get horizontal menu from shared -> components -> navigation -> menu. export that components from shared module and use it using selector where you want to use that horizontal menu.
Center Logo menu
You can also get center menu from shared -> components -> navigation -> center-menu. export that components from shared module and use it using selector where you want to use that center logo menu.
For Mobile Responsive it emable using toggle bar in responsive screen
Located in /shared/services/e-commerce/products.services.ts
file.
private products(): Observable {
return this.http.get('assets/data/e-commerce/products.json').map((res:any) => res.json())
}
<!-- Sample json data -->
[{
"id": 1,
"name": "matte black bottle",
"price": 100,
"salePrice": 200,
"discount": 50,
"img": "assets/images/fashion/product/1.jpg",
"shortDetails": "Sed ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium doloremque laudantium",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. ",
"stock": 5,
"new": true,
"sale": true,
"category": "women",
"colors": ["yellow", "gray", "green"],
"size": ["1L", "2L", "3L"],
"tags": ["nike", "caprese", "lifestyle"],
"variants": [
{
"color": "yellow",
"images": "assets/images/fashion/product/1.jpg"
},
{
"color": "gray",
"images": "assets/images/fashion/product/2.jpg"
},
{
"color": "green",
"images": "assets/images/fashion/product/3.jpg"
}]
}]
Located in /e-commerce/product/widget/checkout/checkout.ts
file.
stripeCheckout() {
var handler = (window).StripeCheckout.configure({
key: 'your_publishable_key', // publishble key
locale: 'auto',
token: (token: any) => {
// You can access the token ID with `token.id`.
// Get the token ID to your server-side code for use.
this.orderService.createOrder(this.checkOutItems, this.checkoutForm.value, token.id, this.amount);
}
});
handler.open({
name: 'Unice',
description: 'Online Fashion Store',
amount: this.amount * 100
})
}
Located in /e-commerce/product/widget/checkout/checkout.ts
file.
private initConfig(): void {
this.payPalConfig = new PayPalConfig(PayPalIntegrationType.ClientSideREST, PayPalEnvironment.Sandbox, {
commit: true,
client: {
sandbox: 'YOUR_CLIENT_ID', // client Id
},
button: {
label: 'paypal',
size: 'small', // small | medium | large | responsive
shape: 'rect', // pill | rect
//color: 'blue', // gold | blue | silver | black
//tagline: false
},
onPaymentComplete: (data, actions) => {
this.orderService.createOrder(this.checkOutItems, this.checkoutForm.value, data.orderID, this.amount);
},
onCancel: (data, actions) => {
console.log('OnCancel');
},
onError: (err) => {
console.log('OnError');
},
transactions: [{
amount: {
currency: 'USD',
total: this.amount
}
}]
});
}
If you are use Demo stater project and you want Dark or RTL layout then you just need to add dark and rtl class accordingly in body tag.
Dark:If you want to use dark then you just need to add <body class="dark"> in index.html at src root.
RTL:If you want to use RTL then you just need to add <body class="rtl"> in index.html at src root.
We have make one config file in main theme called shared >> data >> config.ts from where you can pass your default conflict like you want LTR or RTL and Dark or Light layout.
That you can set from that config.ts