├── .hugo_build.lock ├── layouts ├── 404.html ├── partials │ ├── preloader.html │ ├── hero-area.html │ ├── about.html │ ├── gallery.html │ ├── head.html │ ├── food-menu.html │ ├── blog.html │ ├── contact.html │ ├── header.html │ ├── footer.html │ └── subscription.html ├── _default │ ├── baseof.html │ ├── single.html │ └── list.html └── index.html ├── exampleSite ├── .hugo_build.lock ├── static │ └── images │ │ ├── logo.png │ │ ├── favicon.png │ │ ├── header.jpg │ │ ├── cooker-img.png │ │ ├── blog │ │ ├── blog-bg.jpg │ │ ├── blog-img-1.jpg │ │ ├── blog-img-2.jpg │ │ ├── blog-img-3.jpg │ │ ├── blog-img-4.jpg │ │ ├── blog-img-5.jpg │ │ ├── blog-img-6.jpg │ │ ├── blog-img-thumb-1.jpg │ │ └── blog-img-thumb-2.jpg │ │ ├── subscribe-bg.jpg │ │ ├── overlay-pattern.png │ │ ├── photo │ │ ├── photo-1.jpg │ │ ├── photo-2.jpg │ │ ├── photo-3.jpg │ │ └── photo-4.jpg │ │ ├── overlay-pattern2.png │ │ └── slider │ │ ├── slider-img-1.jpg │ │ ├── slider-img-2.jpg │ │ ├── slider-img-3.jpg │ │ └── slider-img-4.jpg ├── config │ └── _default │ │ ├── languages.toml │ │ ├── hugo.toml │ │ ├── menus.en.toml │ │ └── params.toml ├── content │ └── post │ │ ├── my-first-post.md │ │ ├── Red-Pepper-Miso-Wings.md │ │ ├── Red-Pepper-Miso-Wings-2.md │ │ ├── Homestyle-Chicken-Pot-Pie.md │ │ └── restaurant.md ├── hugo.toml └── data │ └── homepage.yml ├── images ├── tn.png └── screenshot.png ├── static ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── ufonts.com_tw-cen-mt.ttf ├── sitepins-manifest.json ├── .htaccess ├── css │ ├── slick.css │ ├── responsive.css │ ├── venobox.css │ ├── main.css │ └── font-awesome.min.css └── js │ ├── main.js │ ├── wow.min.js │ ├── venobox.min.js │ ├── bootstrap.min.js │ └── slick.min.js ├── .gitignore ├── vercel.json ├── .sitepins ├── config.json └── schema │ └── post.json ├── netlify.toml ├── theme.toml ├── package.json ├── LICENSE ├── vercel-build.sh ├── scripts ├── projectSetup.js └── themeSetup.js └── README.md /.hugo_build.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /layouts/404.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /exampleSite/.hugo_build.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/images/tn.png -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/images/screenshot.png -------------------------------------------------------------------------------- /static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /exampleSite/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/logo.png -------------------------------------------------------------------------------- /exampleSite/static/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/favicon.png -------------------------------------------------------------------------------- /exampleSite/static/images/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/header.jpg -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/fonts/ufonts.com_tw-cen-mt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/static/fonts/ufonts.com_tw-cen-mt.ttf -------------------------------------------------------------------------------- /exampleSite/static/images/cooker-img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/cooker-img.png -------------------------------------------------------------------------------- /exampleSite/static/images/blog/blog-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/blog/blog-bg.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/subscribe-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/subscribe-bg.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/blog/blog-img-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/blog/blog-img-1.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/blog/blog-img-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/blog/blog-img-2.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/blog/blog-img-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/blog/blog-img-3.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/blog/blog-img-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/blog/blog-img-4.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/blog/blog-img-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/blog/blog-img-5.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/blog/blog-img-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/blog/blog-img-6.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/overlay-pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/overlay-pattern.png -------------------------------------------------------------------------------- /exampleSite/static/images/photo/photo-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/photo/photo-1.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/photo/photo-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/photo/photo-2.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/photo/photo-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/photo/photo-3.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/photo/photo-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/photo/photo-4.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/overlay-pattern2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/overlay-pattern2.png -------------------------------------------------------------------------------- /exampleSite/static/images/slider/slider-img-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/slider/slider-img-1.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/slider/slider-img-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/slider/slider-img-2.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/slider/slider-img-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/slider/slider-img-3.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/slider/slider-img-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/slider/slider-img-4.jpg -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | Thumbs.db 2 | .DS_Store 3 | .dist 4 | .tmp 5 | .sass-cache 6 | npm-debug.log 7 | node_modules 8 | builds 9 | package-lock.json 10 | public 11 | -------------------------------------------------------------------------------- /exampleSite/static/images/blog/blog-img-thumb-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/blog/blog-img-thumb-1.jpg -------------------------------------------------------------------------------- /exampleSite/static/images/blog/blog-img-thumb-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/themefisher/restaurant-hugo/HEAD/exampleSite/static/images/blog/blog-img-thumb-2.jpg -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- 1 | { 2 | "builds": [ 3 | { 4 | "src": "vercel-build.sh", 5 | "use": "@vercel/static-build", 6 | "config": { 7 | "distDir": "public" 8 | } 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /exampleSite/config/_default/languages.toml: -------------------------------------------------------------------------------- 1 | # -------------------------- 2 | # English language 3 | # -------------------------- 4 | [en] 5 | languageName = "En" 6 | languageCode = "en-us" 7 | contentDir = "content" 8 | weight = 1 9 | -------------------------------------------------------------------------------- /exampleSite/config/_default/hugo.toml: -------------------------------------------------------------------------------- 1 | ######################## default configuration #################### 2 | baseURL = "/" 3 | languageCode = "en-us" 4 | title = "Restaurant Hugo" 5 | theme = "restaurant-hugo" 6 | summaryLength = "10" 7 | pagination.pagerSize = 4 8 | -------------------------------------------------------------------------------- /static/sitepins-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Sitepins CMS", 3 | "description": "Git-based CMS detection file", 4 | "cms": "Sitepins", 5 | "generator": "nextjs", 6 | "html": "" | safeHTML }} 3 |
4 | {{ with site.Params.preloader.preloader }} 5 | preloader 6 | {{ end }} 7 |
8 | {{ "" | safeHTML }} 9 | {{ end }} -------------------------------------------------------------------------------- /layouts/_default/baseof.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{- partial "head.html" . -}} 4 | 5 | {{- partial "preloader.html" . -}} 6 | {{- block "main" . }}{{- end }} 7 | {{- partial "footer.html" . -}} 8 | 9 | -------------------------------------------------------------------------------- /layouts/partials/hero-area.html: -------------------------------------------------------------------------------- 1 | {{ "" | safeHTML }} 2 | {{ if site.Data.homepage.hero_area.enable }} 3 | {{ with site.Data.homepage.hero_area }} 4 |
5 | 6 |
7 | {{ end }} 8 | {{ end }} -------------------------------------------------------------------------------- /.sitepins/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "media": { 3 | "root": "exampleSite/static/images", 4 | "public": "exampleSite/static" 5 | }, 6 | "content": { 7 | "root": "exampleSite/content" 8 | }, 9 | "code": { 10 | "root": "layouts" 11 | }, 12 | "themeConfig": [ 13 | "exampleSite/config/_default" 14 | ], 15 | "arrangement": [], 16 | "showCommitModal": false 17 | } -------------------------------------------------------------------------------- /layouts/index.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 | 3 | {{ partial "hero-area.html" . }} 4 | 5 | {{- partial "header.html" . -}} 6 | 7 | {{ partial "gallery.html" . }} 8 | 9 | {{ partial "about.html" . }} 10 | 11 | {{ partial "blog.html" . }} 12 | 13 | {{ partial "food-menu.html" . }} 14 | 15 | {{ partial "subscription.html" . }} 16 | 17 | {{ partial "contact.html" . }} 18 | 19 | {{ end }} -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | publish = "public" 3 | command = "hugo --minify --gc" 4 | 5 | [build.environment] 6 | HUGO_VERSION = "0.87.0" 7 | HUGO_BASEURL = "/" 8 | 9 | [[headers]] 10 | for = "/*" # This defines which paths this specific [[headers]] block will cover. 11 | 12 | [headers.values] 13 | X-Frame-Options = "DENY" 14 | X-XSS-Protection = "1; mode=block" 15 | Referrer-Policy = "same-origin" 16 | Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload" 17 | -------------------------------------------------------------------------------- /exampleSite/config/_default/menus.en.toml: -------------------------------------------------------------------------------- 1 | ############################## navigation ############################### 2 | 3 | [[main]] 4 | name = "Home" 5 | URL = "hero-area" 6 | weight = 1 7 | 8 | [[main]] 9 | name = "About Us" 10 | URL = "about-us" 11 | weight = 2 12 | 13 | [[main]] 14 | name = "Blog" 15 | URL = "blog" 16 | weight = 3 17 | 18 | [[main]] 19 | name = "Price" 20 | URL = "price" 21 | weight = 4 22 | 23 | [[main]] 24 | name = "News" 25 | URL = "subscribe" 26 | weight = 5 27 | 28 | [[main]] 29 | name = "Contact Us" 30 | URL = "contact-us" 31 | weight = 6 32 | 33 | -------------------------------------------------------------------------------- /layouts/partials/about.html: -------------------------------------------------------------------------------- 1 | {{ if site.Data.homepage.about.enable }} 2 | {{ with site.Data.homepage.about }} 3 |
4 |
5 |
6 |
7 |
8 | {{ .title }} 9 |

{{ .title | markdownify }} 10 |

11 |

{{ .description | markdownify }}

12 |
13 |
14 |
15 |
16 |
17 | {{end}} 18 | {{end}} -------------------------------------------------------------------------------- /static/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | AddOutputFilterByType DEFLATE text/plain 3 | AddOutputFilterByType DEFLATE text/html 4 | AddOutputFilterByType DEFLATE text/xml 5 | AddOutputFilterByType DEFLATE text/css 6 | AddOutputFilterByType DEFLATE application/xml 7 | AddOutputFilterByType DEFLATE application/xhtml+xml 8 | AddOutputFilterByType DEFLATE application/rss+xml 9 | AddOutputFilterByType DEFLATE application/javascript 10 | AddOutputFilterByType DEFLATE application/x-javascript 11 | AddOutputFilterByType DEFLATE image/jpg 12 | AddOutputFilterByType DEFLATE image/png 13 | AddOutputFilterByType DEFLATE image/gif 14 | AddOutputFilterByType DEFLATE image/jpeg 15 | AddOutputFilterByType DEFLATE image/svg+xml 16 | -------------------------------------------------------------------------------- /layouts/partials/gallery.html: -------------------------------------------------------------------------------- 1 | {{ if site.Data.homepage.gallery.enable }} 2 | {{ with site.Data.homepage.gallery }} 3 |
4 |
5 |
6 |
7 |
8 |
9 |

{{ .title | markdownify }}

10 |
11 | 17 |
18 |
19 |
20 |
21 |
22 | {{end}} 23 | {{end}} -------------------------------------------------------------------------------- /theme.toml: -------------------------------------------------------------------------------- 1 | name = "Restaurant Hugo" 2 | license = "MIT" 3 | licenselink = "https://github.com/gethugothemes/restaurant-hugo/blob/master/LICENSE" 4 | description = "The restaurant is a creative and responsive restaurant website theme in Hugo environment. It is very well decorated theme which will make your website building easier." 5 | homepage = "https://gethugothemes.com/products/restaurant/" 6 | demosite = "https://demo.gethugothemes.com/restaurant/" 7 | tags = ['landing-page', 'fast', 'light', 'white', 'modern', 'business', 'agency-template', 'themefisher', 'hugo-theme', 'hugo-templates', 'bootstrap', 'blog', 'responsive', 'clean', 'simple', 'company', 'projects', 'creative', 'contact-form', 'custom-themes', 'mobile', 'minimalistic', 'gethugothemes'] 8 | features = ['bootstrap','responsive'] 9 | min_version = "0.147.2" 10 | 11 | [author] 12 | name = "Gethugothemes" 13 | homepage = "https://gethugothemes.com/" 14 | -------------------------------------------------------------------------------- /exampleSite/content/post/my-first-post.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Red Pepper Miso Wings" 3 | date: 2018-12-12T04:28:21+06:00 4 | image: images/blog/blog-img-1.jpg 5 | description: "this is meta description" 6 | type: "post" 7 | --- 8 | 9 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Porro modi delectus rerum, sed blanditiis eaque eum, ex et officia veritatis id hic. Deleniti eos ipsum, nihil ex id ipsa porro, accusantium, accusamus dignissimos harum, veniam culpa. Voluptate doloremque aspernatur neque vero tenetur numquam expedita ratione, sed, error exercitationem officia voluptatum molestiae quod impedit facilis, dolores laudantium quae rem! Rem obcaecati eum pariatur error quasi consequuntur repellendus aliquam vero perferendis, praesentium. Quas nulla, quae tempore omnis facere reiciendis, voluptatibus illum nemo consequuntur, magni voluptas doloremque eveniet quasi soluta porro sit cum? Alias a rerum natus, repellendus voluptas libero! Deleniti aut, sunt. 10 | -------------------------------------------------------------------------------- /exampleSite/content/post/Red-Pepper-Miso-Wings.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Red Pepper Miso Wings" 3 | date: 2018-12-26T12:28:47+06:00 4 | image: images/blog/blog-img-3.jpg 5 | description: "this is meta description" 6 | type: "post" 7 | --- 8 | 9 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Porro modi delectus rerum, sed blanditiis eaque eum, ex et officia veritatis id hic. Deleniti eos ipsum, nihil ex id ipsa porro, accusantium, accusamus dignissimos harum, veniam culpa. Voluptate doloremque aspernatur neque vero tenetur numquam expedita ratione, sed, error exercitationem officia voluptatum molestiae quod impedit facilis, dolores laudantium quae rem! Rem obcaecati eum pariatur error quasi consequuntur repellendus aliquam vero perferendis, praesentium. Quas nulla, quae tempore omnis facere reiciendis, voluptatibus illum nemo consequuntur, magni voluptas doloremque eveniet quasi soluta porro sit cum? Alias a rerum natus, repellendus voluptas libero! Deleniti aut, sunt. 10 | -------------------------------------------------------------------------------- /exampleSite/content/post/Red-Pepper-Miso-Wings-2.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Red Pepper Miso Wings 2" 3 | date: 2018-12-26T12:30:01+06:00 4 | image: images/blog/blog-img-5.jpg 5 | description: "this is meta description" 6 | type: "post" 7 | --- 8 | 9 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Porro modi delectus rerum, sed blanditiis eaque eum, ex et officia veritatis id hic. Deleniti eos ipsum, nihil ex id ipsa porro, accusantium, accusamus dignissimos harum, veniam culpa. Voluptate doloremque aspernatur neque vero tenetur numquam expedita ratione, sed, error exercitationem officia voluptatum molestiae quod impedit facilis, dolores laudantium quae rem! Rem obcaecati eum pariatur error quasi consequuntur repellendus aliquam vero perferendis, praesentium. Quas nulla, quae tempore omnis facere reiciendis, voluptatibus illum nemo consequuntur, magni voluptas doloremque eveniet quasi soluta porro sit cum? Alias a rerum natus, repellendus voluptas libero! Deleniti aut, sunt. 10 | -------------------------------------------------------------------------------- /layouts/partials/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ .Title }} 4 | 5 | {{ "" | safeHTML }} 6 | 7 | 8 | {{ with site.Params.author }}{{ end }} 9 | 10 | 11 | {{ hugo.Generator }} 12 | 13 | {{ "" | safeHTML }} 14 | {{ range site.Params.plugins.css }} 15 | 16 | {{ end }} 17 | 18 | {{ "" | safeHTML }} 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /layouts/_default/single.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 | 3 | {{- partial "header.html" . -}} 4 | 5 |
6 |
7 |
8 |
9 | blog-image 10 |

{{ .Title }}

11 | 15 |
16 |
17 |
18 | {{ .Content }} 19 |
20 |
21 |
22 |
23 |
24 | 25 | {{ end }} 26 | -------------------------------------------------------------------------------- /.sitepins/schema/post.json: -------------------------------------------------------------------------------- 1 | { 2 | "file": "exampleSite/content/post/Red-Pepper-Miso-Wings-2.md", 3 | "name": "post", 4 | "fileType": "md", 5 | "fmType": "yaml", 6 | "template": [ 7 | { 8 | "name": "title", 9 | "label": "Title", 10 | "type": "string", 11 | "value": "", 12 | "defaultValue": "" 13 | }, 14 | { 15 | "name": "date", 16 | "label": "Date", 17 | "type": "Date", 18 | "value": "", 19 | "defaultValue": "", 20 | "alwaysUseCurrentDate": false 21 | }, 22 | { 23 | "name": "image", 24 | "label": "Image", 25 | "type": "media", 26 | "value": "", 27 | "defaultValue": "" 28 | }, 29 | { 30 | "name": "description", 31 | "label": "Description", 32 | "type": "string", 33 | "value": "", 34 | "defaultValue": "" 35 | }, 36 | { 37 | "name": "type", 38 | "label": "Type", 39 | "type": "string", 40 | "value": "", 41 | "defaultValue": "" 42 | } 43 | ] 44 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "restaurant-hugo", 3 | "version": "2.0.0", 4 | "license": "MIT", 5 | "author": "gethugothemes", 6 | "scripts": { 7 | "dev": "hugo server", 8 | "build": "hugo --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic", 9 | "preview": "hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify", 10 | "dev:example": "cd exampleSite; hugo server --themesDir ../..", 11 | "build:example": "cd exampleSite; hugo --themesDir ../.. --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic", 12 | "preview:example": "cd exampleSite; hugo server --themesDir ../.. --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify", 13 | "project-setup": "node ./scripts/projectSetup.js", 14 | "theme-setup": "node ./scripts/themeSetup.js" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 - Present, Gethugothemes 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /layouts/_default/list.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 | 3 | {{- partial "header.html" . -}} 4 | 5 |
7 |
8 |
9 |
10 |
11 |

{{ site.Data.homepage.blog.title | markdownify }}

12 | {{ $paginator := .Paginate site.RegularPages }} 13 | {{ range $paginator.Pages }} 14 |
15 |
16 |
17 | post-image 18 |
19 |
20 |

{{ .Title }}

21 |

{{ .Summary | truncate 100 }}

22 |
23 |
24 |
25 | {{ end }} 26 |
27 |
28 | {{ template "_internal/pagination.html" . }} 29 |
30 |
31 |
32 | 33 | {{end}} -------------------------------------------------------------------------------- /exampleSite/config/_default/params.toml: -------------------------------------------------------------------------------- 1 | #################### default parameters ################################ 2 | logo = "images/logo.png" 3 | # meta data 4 | author = "Themefisher" 5 | description = "This is meta description" 6 | # google analitycs ID 7 | google_analitycs_id = "Your ID" 8 | # mainSections 9 | main_sections = ["post"] 10 | # copyright 11 | copyright = "Copyright © 2021 Designed by [Themefisher](https://themefisher.com) & Developed by [Gethugothemes](https://gethugothemes.com)" 12 | 13 | 14 | 15 | ############################# Plugins ############################## 16 | 17 | # CSS Plugins 18 | [[plugins.css]] 19 | URL = "css/bootstrap.min.css" 20 | [[plugins.css]] 21 | URL = "css/slick.css" 22 | [[plugins.css]] 23 | URL = "css/font-awesome.min.css" 24 | [[plugins.css]] 25 | URL = "css/animate.min.css" 26 | [[plugins.css]] 27 | URL = "css/venobox.css" 28 | [[plugins.css]] 29 | URL = "css/main.css" 30 | [[plugins.css]] 31 | URL = "css/responsive.css" 32 | 33 | # JS Plugins 34 | [[plugins.js]] 35 | URL = "js/jquery.min.js" 36 | [[plugins.js]] 37 | URL = "js/bootstrap.min.js" 38 | [[plugins.js]] 39 | URL = "js/slick.min.js" 40 | [[plugins.js]] 41 | URL = "js/wow.min.js" 42 | [[plugins.js]] 43 | URL = "js/venobox.min.js" 44 | [[plugins.js]] 45 | URL = "js/main.js" 46 | -------------------------------------------------------------------------------- /layouts/partials/food-menu.html: -------------------------------------------------------------------------------- 1 | {{ if site.Data.homepage.pricing.enable }} 2 | {{ with site.Data.homepage.pricing }} 3 |
4 |
5 |
6 |
7 |
8 |

9 | {{ .title | markdownify }}

10 |

11 | {{ .description | markdownify }}

12 |
13 |
14 |

{{ .subtitle | markdownify }}

15 |
16 |
    17 | {{ range .pricing_item }} 18 |
  • 19 |
    20 |
    21 |

    {{.title}}

    22 |
    23 | {{.price}} 24 |
    25 |

    {{.description}}

    26 |
    27 |
  • 28 | {{ end }} 29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | {{end}} 37 | {{end}} -------------------------------------------------------------------------------- /layouts/partials/blog.html: -------------------------------------------------------------------------------- 1 | {{ if site.Data.homepage.blog.enable}} 2 |
4 |
5 |
6 |
7 |
8 |

{{ site.Data.homepage.blog.title | markdownify }}

9 | {{ $paginator := .Paginate site.RegularPages }} 10 | {{ range first 4 (where site.RegularPages "Type" "in" site.Params.main_sections) }} 11 |
12 |
13 |
14 | post-image 15 |
16 |
17 |

{{ .Title }}

18 |

{{ .Summary | truncate 100 }}

19 |
20 |
21 |
22 | {{ end }} 23 |
24 | All Post 25 |
26 |
27 |
28 |
29 |
30 |
31 | {{end}} -------------------------------------------------------------------------------- /vercel-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # default versions 4 | NODE_VERSION='24.9.0'; 5 | GO_VERSION='1.24.4'; 6 | HUGO_VERSION='0.148.2'; 7 | 8 | # install Node.js 9 | # echo "Installing Node.js $NODE_VERSION..." 10 | # curl -sSOL https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}.tar.gz 11 | # tar -xzf node-v${NODE_VERSION}.tar.gz 12 | # export PATH=$PATH:/usr/local/bin 13 | # rm -rf node-v${NODE_VERSION}.tar.gz 14 | 15 | echo "USING NODE VERSION: $(node -v)" 16 | 17 | # install Go 18 | echo "Installing Go $GO_VERSION..." 19 | curl -sSOL https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz 20 | tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz 21 | export PATH=$PATH:/usr/local/go/bin 22 | rm -rf go${GO_VERSION}.linux-amd64.tar.gz 23 | go version 24 | 25 | # install Hugo 26 | echo "Installing Hugo $HUGO_VERSION..." 27 | curl -sSOL https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz 28 | tar -xzf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz 29 | mv hugo /usr/local/bin/ 30 | rm -rf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz 31 | hugo version 32 | 33 | # project setup 34 | echo "Project setting up..." 35 | npm run project-setup 36 | 37 | # install dependencies 38 | echo "Installing project dependencies..." 39 | npm install 40 | 41 | # run the build command 42 | echo "Running the build command..." 43 | npm run build 44 | -------------------------------------------------------------------------------- /layouts/partials/contact.html: -------------------------------------------------------------------------------- 1 | {{ if site.Data.homepage.contact.enable }} 2 | {{ with site.Data.homepage.contact }} 3 |
4 |
5 |
6 |
7 |
8 |

{{ .title | markdownify }}

9 |

{{ .subtitle | markdownify }}

10 |
11 |
12 | 13 |
14 |
15 | 16 |
17 |
18 | 19 |
20 | 22 |
23 |
24 |
25 |
26 |
27 |
28 | {{end}} 29 | {{end}} -------------------------------------------------------------------------------- /exampleSite/content/post/Homestyle-Chicken-Pot-Pie.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Homestyle Chicken Pot Pie" 3 | date: 2018-12-26T12:23:10+06:00 4 | image: images/blog/blog-img-3.jpg 5 | description: "this is meta description" 6 | type: "post" 7 | --- 8 | 9 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est, veniam! 10 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Atque iusto, animi ad. Sapiente necessitatibus enim ut dicta iure perspiciatis doloribus, nobis praesentium non molestiae ipsam alias impedit unde, rerum at sunt! Suscipit porro molestiae excepturi natus repellat dignissimos eveniet, quas, inventore nesciunt magnam tempora? Commodi aperiam sit provident eveniet recusandae quas repellat eos neque repudiandae enim, nemo, maxime accusantium corrupti rem iste accusamus numquam asperiores, ipsam quidem tempora error nesciunt, placeat suscipit minus? Est aliquid, aliquam, delectus omnis culpa mollitia ipsam in error! Error necessitatibus adipisci perferendis nam non id, ad veniam atque, assumenda delectus a cupiditate accusantium? Labore dolores illo autem nihil eveniet repellat possimus illum laborum tempora quis adipisci expedita odit laudantium quia aut iure et, assumenda vitae fugiat amet aspernatur. Laborum eum minus libero asperiores repudiandae, facere temporibus magni amet fuga ducimus rerum vel, architecto! Atque totam soluta, dolor rerum hic ex, iste cum sed facilis tenetur nobis quia. Inventore cupiditate ex accusamus minus soluta in dolores, recusandae dolorem, fugit culpa explicabo? Molestias optio vero ipsum veritatis, ducimus deleniti ipsam nostrum maiores, quaerat voluptatum asperiores quae, velit impedit repudiandae delectus non, libero facilis. Impedit quia quaerat quisquam. Nesciunt quis molestiae impedit quaerat voluptatum, facere, libero possimus placeat. 11 | -------------------------------------------------------------------------------- /exampleSite/content/post/restaurant.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Skillet Chicken with Potatoes" 3 | date: 2018-12-26T11:40:41+06:00 4 | image: "images/blog/blog-img-2.jpg" 5 | description: "this is meta description" 6 | type: "post" 7 | --- 8 | 9 | 10 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Atque, dignissimos. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem illo dolor excepturi. Quidem quia iste ad, consequatur eius, rerum veritatis sint! Iste numquam nisi eius saepe pariatur necessitatibus obcaecati totam nihil quos aliquid aliquam atque rem dolore delectus, blanditiis, sequi dolorem dolor, a iure et. Dolore consectetur aspernatur veniam cum cumque iusto tenetur placeat ab aperiam debitis enim, vero suscipit itaque accusantium natus distinctio consequatur deleniti eveniet. Adipisci eum inventore ab quia exercitationem deleniti et ipsam amet beatae maiores qui voluptas perferendis voluptates autem quasi accusamus sint tempora modi error ipsum, iure veritatis! Unde optio, veritatis et iure amet blanditiis sapiente culpa voluptatem iste aliquid. Repudiandae ipsam, fugiat quidem pariatur ut, molestias, sapiente, incidunt accusantium explicabo deleniti veritatis. Velit quam, impedit. Vel ad est explicabo laboriosam, temporibus voluptatibus, architecto ratione voluptatum quibusdam asperiores soluta. Eum rerum quam beatae vel dolorem natus, inventore animi, error neque! Eius sit repellat nobis, nulla ex rerum libero fuga iure natus qui. Aliquam, ut, voluptas. Magnam expedita, architecto sit, nostrum reiciendis sapiente. Voluptatem deserunt possimus harum consequuntur eos, at assumenda obcaecati totam neque molestias dolorem voluptatum autem, ipsa fugit nihil sapiente qui reprehenderit! Soluta cum exercitationem sequi iusto velit omnis rem quaerat blanditiis consequuntur asperiores. -------------------------------------------------------------------------------- /layouts/partials/header.html: -------------------------------------------------------------------------------- 1 | {{ "" | safeHTML }} 2 | 3 | -------------------------------------------------------------------------------- /exampleSite/hugo.toml: -------------------------------------------------------------------------------- 1 | 2 | # Preloader 3 | [params.preloader] 4 | enable = false 5 | preloader = "" # use .png , .svg or .gif format 6 | 7 | 8 | ############################ Markup ############################## 9 | [markup] 10 | [markup.goldmark.renderer] 11 | unsafe = true 12 | 13 | 14 | ################################### Footer ############################ 15 | [params.footer] 16 | enable = true 17 | contactInfoTitle = "CONTACT INFO " 18 | blogTitle = "LATEST BLOG POSTS" 19 | galleryTitle = "PHOTO STREAM" 20 | socialTitle = "Follow US" 21 | 22 | ############################ footer contact item 23 | [[params.footer.contactItem]] 24 | title = "Telephone" 25 | icon = "fa fa-phone" 26 | content = "016742 323313" 27 | link = "tel:01612345678" 28 | 29 | [[params.footer.contactItem]] 30 | title = "Address" 31 | icon = "fa fa-map-marker" 32 | content = "2046 Blue Spruce Lane Laurel Canada" 33 | link = "https://maps.app.goo.gl/GvGx9KQLvUewKz769" 34 | 35 | [[params.footer.contactItem]] 36 | title = "E-mail" 37 | icon = "fa fa-envelope" 38 | content = "rest@gmail.com" 39 | link = "mailto:rest@gmail" 40 | 41 | ######################### footer gallery 42 | [[params.footer.gallery]] 43 | image = "images/slider/slider-img-1.jpg" 44 | 45 | [[params.footer.gallery]] 46 | image = "images/slider/slider-img-2.jpg" 47 | 48 | [[params.footer.gallery]] 49 | image = "images/slider/slider-img-3.jpg" 50 | 51 | [[params.footer.gallery]] 52 | image = "images/slider/slider-img-4.jpg" 53 | 54 | [[params.footer.gallery]] 55 | image = "images/slider/slider-img-1.jpg" 56 | 57 | [[params.footer.gallery]] 58 | image = "images/slider/slider-img-2.jpg" 59 | 60 | ######################## Social Icon 61 | [[params.footer.socialLink]] 62 | icon = "facebook" 63 | link = "https://fb.com/themefisher" 64 | 65 | [[params.footer.socialLink]] 66 | icon = "twitter" 67 | link = "https://fb.com/themefisher" 68 | 69 | [[params.footer.socialLink]] 70 | icon = "dribbble" 71 | link = "https://fb.com/themefisher" 72 | 73 | [[params.footer.socialLink]] 74 | icon = "instagram" 75 | link = "https://fb.com/themefisher" 76 | -------------------------------------------------------------------------------- /static/css/slick.css: -------------------------------------------------------------------------------- 1 | /* Slider */ 2 | .slick-slider 3 | { 4 | position: relative; 5 | 6 | display: block; 7 | box-sizing: border-box; 8 | 9 | -webkit-user-select: none; 10 | -moz-user-select: none; 11 | -ms-user-select: none; 12 | user-select: none; 13 | 14 | -webkit-touch-callout: none; 15 | -khtml-user-select: none; 16 | -ms-touch-action: pan-y; 17 | touch-action: pan-y; 18 | -webkit-tap-highlight-color: transparent; 19 | } 20 | 21 | .slick-list 22 | { 23 | position: relative; 24 | 25 | display: block; 26 | overflow: hidden; 27 | 28 | margin: 0; 29 | padding: 0; 30 | } 31 | .slick-list:focus 32 | { 33 | outline: none; 34 | } 35 | .slick-list.dragging 36 | { 37 | cursor: pointer; 38 | cursor: hand; 39 | } 40 | 41 | .slick-slider .slick-track, 42 | .slick-slider .slick-list 43 | { 44 | -webkit-transform: translate3d(0, 0, 0); 45 | -moz-transform: translate3d(0, 0, 0); 46 | -ms-transform: translate3d(0, 0, 0); 47 | -o-transform: translate3d(0, 0, 0); 48 | transform: translate3d(0, 0, 0); 49 | } 50 | 51 | .slick-track 52 | { 53 | position: relative; 54 | top: 0; 55 | left: 0; 56 | 57 | display: block; 58 | margin-left: auto; 59 | margin-right: auto; 60 | } 61 | .slick-track:before, 62 | .slick-track:after 63 | { 64 | display: table; 65 | 66 | content: ''; 67 | } 68 | .slick-track:after 69 | { 70 | clear: both; 71 | } 72 | .slick-loading .slick-track 73 | { 74 | visibility: hidden; 75 | } 76 | 77 | .slick-slide 78 | { 79 | display: none; 80 | float: left; 81 | 82 | height: 100%; 83 | min-height: 1px; 84 | } 85 | [dir='rtl'] .slick-slide 86 | { 87 | float: right; 88 | } 89 | .slick-slide img 90 | { 91 | display: block; 92 | } 93 | .slick-slide.slick-loading img 94 | { 95 | display: none; 96 | } 97 | .slick-slide.dragging img 98 | { 99 | pointer-events: none; 100 | } 101 | .slick-initialized .slick-slide 102 | { 103 | display: block; 104 | } 105 | .slick-loading .slick-slide 106 | { 107 | visibility: hidden; 108 | } 109 | .slick-vertical .slick-slide 110 | { 111 | display: block; 112 | 113 | height: auto; 114 | 115 | border: 1px solid transparent; 116 | } 117 | .slick-arrow.slick-hidden { 118 | display: none; 119 | } 120 | -------------------------------------------------------------------------------- /scripts/projectSetup.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | const path = require("path"); 3 | 4 | const getFolderName = (rootfolder) => { 5 | const configPath = path.join( 6 | rootfolder, 7 | "exampleSite/config/_default/hugo.toml" 8 | ); 9 | const getConfig = fs.readFileSync(configPath, "utf8"); 10 | const match = getConfig.match(/theme\s*=\s*\[?"([^"\]]+)"\]?/); 11 | let selectedTheme = null; 12 | if (match && match[1]) { 13 | selectedTheme = match[1]; 14 | } 15 | return selectedTheme; 16 | }; 17 | 18 | const deleteFolder = (folderPath) => { 19 | if (fs.existsSync(folderPath)) { 20 | fs.rmSync(folderPath, { recursive: true, force: true }); 21 | } 22 | }; 23 | 24 | const createNewfolder = (rootfolder, folderName) => { 25 | const newFolder = path.join(rootfolder, folderName); 26 | fs.mkdirSync(newFolder, { recursive: true }); 27 | return newFolder; 28 | }; 29 | 30 | const iterateFilesAndFolders = (rootFolder, { destinationRoot }) => { 31 | const directory = path.join(rootFolder); 32 | const items = fs.readdirSync(directory, { withFileTypes: true }); 33 | items.forEach((item) => { 34 | if (item.isDirectory()) { 35 | createNewfolder(destinationRoot, item.name); 36 | iterateFilesAndFolders(path.join(directory, item.name), { 37 | currentFolder: item.name, 38 | destinationRoot: path.join(destinationRoot, item.name), 39 | }); 40 | } else { 41 | const sourceFile = path.join(directory, item.name); 42 | const destinationFile = path.join(destinationRoot, item.name); 43 | fs.renameSync(sourceFile, destinationFile); 44 | } 45 | }); 46 | }; 47 | 48 | const setupProject = () => { 49 | const rootfolder = path.join(__dirname, "../"); 50 | if (!fs.existsSync(path.join(rootfolder, "themes"))) { 51 | const folderList = ["layouts", "assets", "static"]; 52 | const folderName = getFolderName(rootfolder); 53 | const newfolderName = createNewfolder( 54 | path.join(rootfolder, "themes"), 55 | folderName 56 | ); 57 | 58 | folderList.forEach((folder) => { 59 | const source = path.join(rootfolder, folder); 60 | const destination = path.join(newfolderName, folder); 61 | if (fs.existsSync(source)) { 62 | fs.mkdirSync(destination, { recursive: true }); 63 | iterateFilesAndFolders(source, { 64 | currentFolder: folder, 65 | destinationRoot: destination, 66 | }); 67 | deleteFolder(source); 68 | } 69 | }); 70 | 71 | const exampleSite = path.join(rootfolder, "exampleSite"); 72 | iterateFilesAndFolders(exampleSite, { destinationRoot: rootfolder }); 73 | deleteFolder(exampleSite); 74 | } 75 | }; 76 | 77 | setupProject(); 78 | -------------------------------------------------------------------------------- /static/js/main.js: -------------------------------------------------------------------------------- 1 | // Preloader js 2 | $(window).on('load', function () { 3 | $('.preloader').fadeOut(100); 4 | }); 5 | 6 | $(document).ready(function () { 7 | 8 | // autohiding navbar on mobile devices 9 | $('.navbar-collapse a').click(function () { 10 | $(".navbar-collapse").collapse('hide'); 11 | }); 12 | 13 | // venobox popup 14 | $('.venobox').venobox(); 15 | 16 | // slick slider 17 | $('.gallery-slider').slick({ 18 | dots: true, 19 | infinite: true, 20 | speed: 300, 21 | slidesToShow: 4, 22 | slidesToScroll: 4, 23 | arrows: true, 24 | prevArrow: '', 25 | nextArrow: '', 26 | autoplay: true, 27 | responsive: [{ 28 | breakpoint: 1024, 29 | settings: { 30 | slidesToShow: 3, 31 | slidesToScroll: 3 32 | } 33 | }, 34 | { 35 | breakpoint: 600, 36 | settings: { 37 | slidesToShow: 2, 38 | slidesToScroll: 2 39 | } 40 | }, 41 | { 42 | breakpoint: 401, 43 | settings: { 44 | slidesToShow: 1, 45 | slidesToScroll: 1 46 | } 47 | } 48 | ] 49 | }); 50 | 51 | // animation scroll js 52 | var html_body = $('html, body'); 53 | $('nav li a').on('click', function () { //use page-scroll class in any HTML tag for scrolling 54 | if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { 55 | var target = $(this.hash); 56 | target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); 57 | if (target.length) { 58 | html_body.animate({ 59 | scrollTop: target.offset().top - 90 60 | }, 1500, "easeInOutExpo"); 61 | return false; 62 | } 63 | } 64 | }); 65 | 66 | // easeInOutExpo Declaration 67 | jQuery.extend(jQuery.easing, { 68 | easeInOutExpo: function (x, t, b, c, d) { 69 | if (t == 0) return b; 70 | if (t == d) return b + c; 71 | if ((t /= d / 2) < 1) return c / 2 * Math.pow(2, 10 * (t - 1)) + b; 72 | return c / 2 * (-Math.pow(2, -10 * --t) + 2) + b; 73 | } 74 | }); 75 | 76 | //Initiat WOW JS 77 | new WOW().init(); 78 | 79 | }); 80 | -------------------------------------------------------------------------------- /scripts/themeSetup.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | const path = require("path"); 3 | 4 | const createNewfolder = (rootfolder, folderName) => { 5 | const newFolder = path.join(rootfolder, folderName); 6 | fs.mkdirSync(newFolder, { recursive: true }); 7 | return newFolder; 8 | }; 9 | 10 | const deleteFolder = (folderPath) => { 11 | if (fs.existsSync(folderPath)) { 12 | fs.rmSync(folderPath, { recursive: true, force: true }); 13 | } 14 | }; 15 | 16 | const getFolderName = (rootfolder) => { 17 | const configPath = path.join( 18 | rootfolder, 19 | "exampleSite/config/_default/hugo.toml" 20 | ); 21 | const getConfig = fs.readFileSync(configPath, "utf8"); 22 | const match = getConfig.match(/theme\s*=\s*\[?"([^"\]]+)"\]?/); 23 | let selectedTheme = null; 24 | if (match && match[1]) { 25 | selectedTheme = match[1]; 26 | } 27 | return selectedTheme; 28 | }; 29 | 30 | const iterateFilesAndFolders = (rootFolder, { destinationRoot }) => { 31 | const directory = path.join(rootFolder); 32 | const items = fs.readdirSync(directory, { withFileTypes: true }); 33 | items.forEach((item) => { 34 | if (item.isDirectory()) { 35 | createNewfolder(destinationRoot, item.name); 36 | iterateFilesAndFolders(path.join(directory, item.name), { 37 | currentFolder: item.name, 38 | destinationRoot: path.join(destinationRoot, item.name), 39 | }); 40 | } else { 41 | const sourceFile = path.join(directory, item.name); 42 | const destinationFile = path.join(destinationRoot, item.name); 43 | fs.renameSync(sourceFile, destinationFile); 44 | } 45 | }); 46 | }; 47 | 48 | const setupTheme = () => { 49 | const rootFolder = path.join(__dirname, "../"); 50 | 51 | if (!fs.existsSync(path.join(rootFolder, "exampleSite"))) { 52 | const includesFiles = [ 53 | "tailwind.config.js", 54 | "postcss.config.js", 55 | "go.mod", 56 | "hugo.toml", 57 | "assets", 58 | "config", 59 | "data", 60 | "content", 61 | "i18n", 62 | "static", 63 | ]; 64 | 65 | const folder = createNewfolder(rootFolder, "exampleSite"); 66 | 67 | fs.readdirSync(rootFolder, { withFileTypes: true }).forEach((file) => { 68 | if (includesFiles.includes(file.name)) { 69 | if (file.isDirectory()) { 70 | const destination = path.join(rootFolder, "exampleSite", file.name); 71 | fs.mkdirSync(destination, { recursive: true }); 72 | iterateFilesAndFolders(path.join(rootFolder, file.name), { 73 | destinationRoot: destination, 74 | }); 75 | deleteFolder(path.join(rootFolder, file.name)); 76 | } else { 77 | fs.renameSync( 78 | path.join(rootFolder, file.name), 79 | path.join(folder, file.name) 80 | ); 81 | } 82 | } 83 | }); 84 | 85 | const themes = path.join(rootFolder, "themes"); 86 | iterateFilesAndFolders(path.join(themes, getFolderName(rootFolder)), { 87 | destinationRoot: rootFolder, 88 | }); 89 | deleteFolder(themes); 90 | } 91 | }; 92 | 93 | setupTheme(); 94 | -------------------------------------------------------------------------------- /layouts/partials/footer.html: -------------------------------------------------------------------------------- 1 | {{ if site.Params.footer.enable }} 2 | 63 | {{ end }} 64 | 65 | 76 | 77 | {{ "" | safeHTML }} 78 | {{ range site.Params.plugins.js}} 79 | 80 | {{ end }} 81 | 82 | {{ "" | safeHTML }} 83 | {{ with site.Params.google_analitycs_id }} 84 | 99 | {{ end }} -------------------------------------------------------------------------------- /exampleSite/data/homepage.yml: -------------------------------------------------------------------------------- 1 | ################## Hero area ################## 2 | hero_area: 3 | enable : true 4 | bg_image : "images/header.jpg" 5 | overlay : true 6 | 7 | ################### Gallery ################### 8 | gallery: 9 | enable : true 10 | title : "FEATURED WORKS" 11 | images: 12 | - "images/slider/slider-img-1.jpg" 13 | - "images/slider/slider-img-2.jpg" 14 | - "images/slider/slider-img-3.jpg" 15 | - "images/slider/slider-img-4.jpg" 16 | - "images/slider/slider-img-1.jpg" 17 | - "images/slider/slider-img-2.jpg" 18 | - "images/slider/slider-img-3.jpg" 19 | - "images/slider/slider-img-4.jpg" 20 | 21 | ################ About ####################### 22 | about: 23 | enable : true 24 | image : "images/cooker-img.png" 25 | title : "Featured Your Restaurant’s Website Has To Look Good" 26 | description : "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat Ut enim ad minim veniam" 27 | 28 | ################# Blog ###################### 29 | blog: 30 | enable : true 31 | title : "Our Latest Blog" 32 | bg_image : "images/blog/blog-bg.jpg" 33 | overlay : true 34 | 35 | 36 | ################# food Menu ################ 37 | pricing: 38 | enable : true 39 | title : "Our Easy PRICE" 40 | description: " Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco" 41 | subtitle : "FEATURED ON THE WEEK" 42 | pricing_item: 43 | - title: "Pancakes n' Such Titas" 44 | description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim&&" 45 | price : "$ 125.00" 46 | 47 | - title: "Caesar Salad" 48 | description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim&&" 49 | price : "$ 100.00" 50 | 51 | - title: "Steak with a Garlic and Parsley Risotto" 52 | description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim&&" 53 | price : "$ 20.00" 54 | 55 | - title: "Meat of Skewers" 56 | description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim&&" 57 | price : "$ 45.00" 58 | 59 | - title: "Pancakes n' Such" 60 | description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim&&" 61 | price : "$ 25.00" 62 | 63 | ################### Subscription ################ 64 | subscription: 65 | enable : true 66 | bg_image : "images/subscribe-bg.jpg" 67 | title : "SUBSCRIBE to our NEWSLETTER" 68 | description : "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod" 69 | #Mailchimp subscription configaration 70 | form_action : "https://themefisher.us9.list-manage.com/subscribe/post?u=f95ece2732a6e9925f2e70a61&id=b1e227529e" 71 | formName : "b_f95ece2732a6e9925f2e70a61_b1e227529e" 72 | overlay : true 73 | 74 | ################ Contact ####################### 75 | contact: 76 | enable : true 77 | title: "Let's Contact Us " 78 | subtitle: "SIGN UP FOR EMAIL ALERTS" 79 | form_action : "#" #contact form works with formspree.io 80 | -------------------------------------------------------------------------------- /layouts/partials/subscription.html: -------------------------------------------------------------------------------- 1 | {{ if site.Data.homepage.subscription.enable }} 2 | {{ with site.Data.homepage.subscription }} 3 |
5 |
6 |
7 |
8 |
9 |

{{ .title | markdownify }} 10 |

11 |

{{ .description | markdownify }}

12 |
13 | 14 | 15 | 25 |
26 |
28 |
29 |
30 | 31 |
32 | 33 | 34 |
35 |
36 |
37 | 38 | 39 |
40 | 41 | 43 |
44 |
45 |
46 | 47 | 64 | 65 |
66 |
67 |
68 |
69 |
70 |
71 | {{end}} 72 | {{end}} -------------------------------------------------------------------------------- /static/js/wow.min.js: -------------------------------------------------------------------------------- 1 | /*! WOW - v0.1.9 - 2014-05-10 2 | * Copyright (c) 2014 Matthieu Aussaguel; Licensed MIT */(function(){var a,b,c=function(a,b){return function(){return a.apply(b,arguments)}};a=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in a)d=a[c],null!=d&&(b[c]=d);return b},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a}(),b=this.WeakMap||(b=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),this.WOW=function(){function d(a){null==a&&(a={}),this.scrollCallback=c(this.scrollCallback,this),this.scrollHandler=c(this.scrollHandler,this),this.start=c(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),this.animationNameCache=new b}return d.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0},d.prototype.init=function(){var a;return this.element=window.document.documentElement,"interactive"===(a=document.readyState)||"complete"===a?this.start():document.addEventListener("DOMContentLoaded",this.start)},d.prototype.start=function(){var a,b,c,d;if(this.boxes=this.element.getElementsByClassName(this.config.boxClass),this.boxes.length){if(this.disabled())return this.resetStyle();for(d=this.boxes,b=0,c=d.length;c>b;b++)a=d[b],this.applyStyle(a,!0);return window.addEventListener("scroll",this.scrollHandler,!1),window.addEventListener("resize",this.scrollHandler,!1),this.interval=setInterval(this.scrollCallback,50)}},d.prototype.stop=function(){return window.removeEventListener("scroll",this.scrollHandler,!1),window.removeEventListener("resize",this.scrollHandler,!1),null!=this.interval?clearInterval(this.interval):void 0},d.prototype.show=function(a){return this.applyStyle(a),a.className=""+a.className+" "+this.config.animateClass},d.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute("data-wow-duration"),c=a.getAttribute("data-wow-delay"),e=a.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},d.prototype.animate=function(){return"requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),d.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.setAttribute("style","visibility: visible;"));return e},d.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a},d.prototype.vendors=["moz","webkit"],d.prototype.vendorSet=function(a,b){var c,d,e,f;f=[];for(c in b)d=b[c],a[""+c]=d,f.push(function(){var b,f,g,h;for(g=this.vendors,h=[],b=0,f=g.length;f>b;b++)e=g[b],h.push(a[""+e+c.charAt(0).toUpperCase()+c.substr(1)]=d);return h}.call(this));return f},d.prototype.vendorCSS=function(a,b){var c,d,e,f,g,h;for(d=window.getComputedStyle(a),c=d.getPropertyCSSValue(b),h=this.vendors,f=0,g=h.length;g>f;f++)e=h[f],c=c||d.getPropertyCSSValue("-"+e+"-"+b);return c},d.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=window.getComputedStyle(a).getPropertyValue("animation-name")}return"none"===b?"":b},d.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},d.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},d.prototype.scrollHandler=function(){return this.scrolled=!0},d.prototype.scrollCallback=function(){var a;return this.scrolled&&(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),!this.boxes.length)?this.stop():void 0},d.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},d.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute("data-wow-offset")||this.config.offset,f=window.pageYOffset,e=f+this.element.clientHeight-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},d.prototype.util=function(){return this._util||(this._util=new a)},d.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},d}()}).call(this); -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Restaurant Hugo

2 |

With this theme, you can easily create a blog site mainly for a restaurant or food-related businesses

3 |

👀Demo | Page Speed (85%)🚀

4 | 5 | 6 |

7 | 8 | 9 | 10 | 11 | 12 | license 13 | 14 | code size 15 | 16 | 17 | contributors 18 | 19 | 20 | follow on Twitter 22 |

23 | 24 | --- 25 | 26 |

27 | screenshot 28 |

29 | 30 | --- 31 | 32 | ## 🔑Key Features 33 | 34 | - 📊 Google Analytics support 35 | - 🎨 CSS and JS bundle with Hugo Pipe 36 | - 🅱️ Bootstrap Based 37 | - ⚙️ Netlify settings predefined 38 | - 📧 Mailchimp integration 39 | - ✉️ Contact form support 40 | - 🚀 Google Page Speed optimized 41 | - 🌐 Open Graph meta tag 42 | - 🐦 Twitter Card meta tag 43 | 44 | ## 🔧Local development 45 | 46 | ```bash 47 | # clone the repository 48 | git clone git@github.com:gethugothemes/restaurant-hugo.git 49 | 50 | # setup project 51 | $ npm run project-setup 52 | 53 | # Start local dev server 54 | $ npm run dev 55 | ``` 56 | 57 | 58 | Or Check out [Full Documentation](https://docs.gethugothemes.com/restaurant/?ref=github). 59 | 60 | 61 | ## ⚙️Deployment and hosting 62 | 63 | [![Deploy to 64 | Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/gethugothemes/restaurant-hugo) 65 | 66 | Follow the steps. 67 | 68 | 69 | ## 🐞Reporting Issues 70 | 71 | We use GitHub Issues as the official bug tracker for the restaurant Template. Please Search [existing 72 | issues](https://github.com/gethugothemes/restaurant-hugo/issues). Someone may have already reported the same problem. 73 | If your problem or idea has not been addressed yet, feel free to [open a new 74 | issue](https://github.com/gethugothemes/restaurant-hugo/issues). 75 | 76 | ## 📱Submit Your Website To Our Showcase 77 | 78 | Are you using Restaurant Hugo theme? Submit it to our [showcase](https://gethugothemes.com/showcase). 79 | 80 | Our showcase aims to demonstrate to the world what amazing websites people like you have created utilizing our Hugo themes and to show that Hugo has tremendous capabilities as a Static Site Generator. 81 | 82 | View all the websites powered by Restaurant Hugo from [here](https://gethugothemes.com/showcase?theme=restaurant). 83 | 84 | [Submit](https://gethugothemes.com/showcase?submit=show) your Restaurant Hugo powered website. 85 | 86 | 87 | ## 📄License 88 | 89 | Copyright © Designed by [Themefisher](https://themefisher.com) & Developed by 90 | [Gethugothemes](https://gethugothemes.com) 91 | 92 | **Code License:** Released under the [MIT](https://github.com/gethugothemes/restaurant-hugo/blob/master/LICENSE) license. 93 | 94 | **Image license:** The images are only for demonstration purposes. They have their licenses. We don't have permission to 95 | share those images. 96 | 97 | 98 | ## 🙏Special Thanks 99 | 100 | - [Bootstrap](https://getbootstrap.com) 101 | - [Jquery](https://jquery.com) 102 | - [Animate](https://github.com/animate-css/animate.css) 103 | - [Slick Slider](https://kenwheeler.github.io/slick/) 104 | - [Wow](https://wowjs.uk) 105 | - [Font Awesome Icons](https://fontawesome.com) 106 | - [Venobox](https://veno.es/venobox/) 107 | - [All Contributors](https://github.com/gethugothemes/restaurant-hugo/graphs/contributors) 108 | 109 | ## 👨‍💻Hire Us 110 | 111 | Besides developing unique, blazing-fast Hugo themes, we also provide customized services. We specialize in creating affordable, high-quality static websites based on Hugo. 112 | 113 | If you need to customize the theme or complete website development from scratch, you can hire us. **Check Our 114 | [Services](https://gethugothemes.com/services/?utm_source=restaurant_github&utm_medium=referral&utm_campaign=github_theme_readme)** 115 | 116 | 117 | ## 💎Premium Themes By Us 118 | 119 | | [![Mega-Bundle-HUGO](https://demo.gethugothemes.com/thumbnails/bundle.png?)](https://gethugothemes.com/bundle/?utm_source=restaurant_github&utm_medium=referral&utm_campaign=github_theme_readme) | [![parsa](https://demo.gethugothemes.com/thumbnails/parsa.png)](https://gethugothemes.com/products/parsa/) | [![Logbook](https://demo.gethugothemes.com/thumbnails/logbook.png)](https://gethugothemes.com/products/logbook/) | 120 | |:---:|:---:|:---:| 121 | | **Get 55+ Premium Hugo Themes Bundle** | **Parsa** | **Logbook** | 122 | -------------------------------------------------------------------------------- /static/css/responsive.css: -------------------------------------------------------------------------------- 1 | /* Tablet Layout: 768px. 2 | Gutters: 24px. 3 | Outer margins: 28px. 4 | Inherits styles from: Default Layout. 5 | ----------------------------------------------------------------- 6 | cols 1 2 3 4 5 6 7 8 7 | px 68 160 252 344 436 528 620 712 */ 8 | @media only screen and (min-width: 768px) and (max-width: 991px) { 9 | /*-- 10 | custom heading Start 11 | --*/ 12 | .title { 13 | text-align: left; 14 | } 15 | /*-- 16 | nav Start 17 | --*/ 18 | nav .block { 19 | padding-left: 0px; 20 | padding-right: 0px; 21 | padding-top: 20px; 22 | } 23 | nav .block .navbar-brand img { 24 | padding-left: 25px; 25 | } 26 | /*-- 27 | slider Start 28 | --*/ 29 | #slider .block h3 { 30 | text-align: left; 31 | } 32 | #slider .block .owl-carousel img { 33 | padding-right: 0px; 34 | width: 95%; 35 | } 36 | /*-- 37 | blog Start 38 | --*/ 39 | #blog .block { 40 | text-align: center; 41 | } 42 | #blog .block ul { 43 | padding-bottom: 40px; 44 | } 45 | #blog .block ul li { 46 | width: 100%; 47 | } 48 | #blog .block ul li h3 { 49 | padding: 0px 0px 30px; 50 | } 51 | #blog .block ul li .blog-img { 52 | width: 50%; 53 | } 54 | #blog .block ul li .blog-img img { 55 | width: 100%; 56 | } 57 | #blog .block ul li .blog-img-2 { 58 | width: 50%; 59 | } 60 | #blog .block ul li .blog-img-2 img { 61 | width: 100%; 62 | } 63 | #blog .block ul li .content-left { 64 | padding: 40px 20px 0; 65 | } 66 | #blog .block ul li .content-right { 67 | padding: 40px 20px 0; 68 | } 69 | #blog .block .btn-more-info { 70 | float: none; 71 | margin-top: 30px; 72 | } 73 | #blog .block .btn-more-info:hover { 74 | border-radius: 10px; 75 | } 76 | /*-- 77 | price Start 78 | --*/ 79 | #price .block p { 80 | padding: 30px 0 0; 81 | } 82 | #price .block .pricing-list { 83 | text-align: left; 84 | } 85 | /*-- 86 | contact-us Start 87 | --*/ 88 | #contact-us { 89 | padding: 60px 0 0; 90 | } 91 | #contact-us .block { 92 | text-align: center; 93 | } 94 | #contact-us .block .title { 95 | text-align: left; 96 | } 97 | #contact-us .block a { 98 | padding: 15px 80px; 99 | float: inherit; 100 | } 101 | /*-- 102 | footer Start 103 | --*/ 104 | #footer .block { 105 | padding-bottom: 20px; 106 | } 107 | #footer .block h3 { 108 | padding-bottom: 10px; 109 | } 110 | /*-- 111 | footer-bottom Start 112 | --*/ 113 | #footer-bottom .block .navbar-nav { 114 | float: inherit; 115 | width: 70%; 116 | margin: 0 auto; 117 | } 118 | #footer-bottom .block p { 119 | text-align: center; 120 | padding-top: 0px; 121 | } 122 | } 123 | /* Mobile Layout: 320px. 124 | Gutters: 24px. 125 | Outer margins: 34px. 126 | Inherits styles from: Default Layout. 127 | --------------------------------------------- 128 | cols 1 2 3 129 | px 68 160 252 */ 130 | @media only screen and (max-width: 767px) { 131 | /*-- 132 | custom heading Start 133 | --*/ 134 | .heading { 135 | text-align: center; 136 | font-size: 22px; 137 | } 138 | .heading span { 139 | font-size: 28px; 140 | } 141 | /*-- 142 | custom heading Start 143 | --*/ 144 | .title { 145 | text-align: left; 146 | } 147 | /*-- 148 | nav Start 149 | --*/ 150 | nav { 151 | position: relative; 152 | } 153 | nav .block { 154 | padding: 0px; 155 | margin-bottom: 0px; 156 | background: -webkit-linear-gradient(right, rgba(255, 255, 255, 0.6), #ffffff); 157 | background: -o-linear-gradient(right, rgba(255, 255, 255, 0.6), #ffffff); 158 | background: -moz-linear-gradient(right, rgba(255, 255, 255, 0.6), #ffffff); 159 | background: linear-gradient(right, rgba(255, 255, 255, 0.6), #ffffff); 160 | } 161 | nav .block .navbar-brand img { 162 | padding-left: 10px; 163 | } 164 | nav .block .navbar-default { 165 | margin-top: 10px; 166 | padding: 3px 0; 167 | } 168 | nav .block .navbar-default .navbar-header { 169 | padding-bottom: 15px; 170 | margin-top: 0px; 171 | } 172 | nav .block .navbar-default .navbar-header .navbar-toggle { 173 | margin-top: 15px; 174 | border: none; 175 | } 176 | nav .block .navbar-default .navbar-header .navbar-toggle .icon-bar { 177 | background: #e94c3d; 178 | } 179 | nav .block .navbar-default .navbar-header .navbar-toggle:focus { 180 | background: none; 181 | } 182 | nav .block .navbar-default .navbar-header .navbar-toggle:active { 183 | background: none; 184 | } 185 | nav .block .navbar-default .navbar-header .navbar-toggle:hover { 186 | background: none; 187 | } 188 | /*-- 189 | slider Start 190 | --*/ 191 | #slider .block { 192 | padding-left: 0px; 193 | padding-right: 0px; 194 | } 195 | #slider .block .owl-carousel { 196 | padding-top: 30px; 197 | position: relative; 198 | } 199 | #slider .block .owl-carousel div img { 200 | width: 100%; 201 | height: 220px; 202 | border-radius: 5px; 203 | padding-right: 0px; 204 | } 205 | /*-- 206 | about-us Start 207 | --*/ 208 | #about-us { 209 | padding: 70px 0; 210 | } 211 | #about-us .block p { 212 | padding: 40px 0px 0px; 213 | } 214 | /*-- 215 | custom title Start 216 | --*/ 217 | #title h2 { 218 | font-size: 20px; 219 | } 220 | #title h2 span { 221 | font-size: 25px; 222 | } 223 | /*-- 224 | blog Start 225 | --*/ 226 | #blog .block ul { 227 | padding-bottom: 30px; 228 | } 229 | #blog .block ul li { 230 | float: none; 231 | width: 100%; 232 | height: 100%; 233 | } 234 | #blog .block ul li .blog-img { 235 | float: none; 236 | width: 100%; 237 | } 238 | #blog .block ul li .blog-img img { 239 | width: 100%; 240 | } 241 | #blog .block ul li .blog-img-2 { 242 | float: none; 243 | width: 100%; 244 | } 245 | #blog .block ul li .blog-img-2 img { 246 | width: 100%; 247 | } 248 | #blog .block ul li .content-right { 249 | float: none; 250 | width: 100%; 251 | padding: 20px 35px; 252 | } 253 | #blog .block ul li .content-right:after { 254 | display: none; 255 | } 256 | #blog .block ul li .content-left { 257 | float: none; 258 | width: 100%; 259 | padding: 20px 35px; 260 | } 261 | #blog .block ul li .content-left:after { 262 | display: none; 263 | } 264 | #blog .block .btn-more-info { 265 | float: none; 266 | margin-top: 30px; 267 | padding: 28px 85px; 268 | } 269 | #blog .block .btn-more-info:hover { 270 | border-radius: 10px; 271 | } 272 | /*-- 273 | price Start 274 | --*/ 275 | #price .block p { 276 | padding: 40px 0px 0px; 277 | } 278 | #price .block .pricing-list { 279 | text-align: left; 280 | } 281 | #price .block .pricing-list ul li .item { 282 | float: none; 283 | } 284 | #price .block .pricing-list ul li .item .item-title .border-bottom { 285 | display: none; 286 | } 287 | #price .block .pricing-list ul li .item .item-title span { 288 | padding-top: 10px; 289 | display: block; 290 | float: none; 291 | } 292 | #price .block .pricing-list .btn { 293 | float: inherit; 294 | padding: 28px 100px; 295 | } 296 | /*-- 297 | subscribe Start 298 | --*/ 299 | #subscribe .block h1 { 300 | font-size: 30px; 301 | } 302 | #subscribe .block h1 span { 303 | font-size: 25px; 304 | } 305 | #subscribe .block form .form-group .input-group { 306 | width: 100%; 307 | } 308 | #subscribe .block form .form-group .input-group .form-control { 309 | width: 100%; 310 | background: #fff; 311 | opacity: 0.9; 312 | border: none; 313 | height: 65px; 314 | border-radius: 0px; 315 | float: inherit; 316 | } 317 | #subscribe .block form .form-group .input-group .input-group-addon { 318 | padding: 0px; 319 | border: none; 320 | background: none; 321 | display: block; 322 | margin-top: 20px; 323 | } 324 | /*-- 325 | contact-us Start 326 | --*/ 327 | #contact-us { 328 | padding: 60px 0 0; 329 | } 330 | #contact-us .block a { 331 | padding: 20px 80px; 332 | width: 100%; 333 | float: inherit; 334 | } 335 | /*-- 336 | footer Start 337 | --*/ 338 | #footer .block { 339 | padding-bottom: 50px; 340 | } 341 | #footer .block .info ul li { 342 | width: 100%; 343 | margin-right: 0px; 344 | } 345 | #footer .block .portfolio img { 346 | margin-top: 20px; 347 | } 348 | #footer .block .portfolio ul li { 349 | margin-right: 0px; 350 | display: inline-block; 351 | } 352 | /*-- 353 | footer-bottom Start 354 | --*/ 355 | #footer-bottom .block .navbar { 356 | display: none; 357 | } 358 | #footer-bottom .block p { 359 | text-align: center; 360 | padding-top: 0px; 361 | } 362 | } 363 | -------------------------------------------------------------------------------- /static/js/venobox.min.js: -------------------------------------------------------------------------------- 1 | !function(e){"use strict";var s,i,c,a,o,t,d,l,r,n,v,u,b,k,p,m,h,f,g,x,y,w,C,_,B,P,E,O,D,M,N,U,V,I,z,R,X,Y,j,W,q;e.fn.extend({venobox:function($){var A=this,H=e.extend({arrowsColor:"#B6B6B6",autoplay:!1,bgcolor:"#fff",border:"0",closeBackground:"#161617",closeColor:"#d2d2d2",framewidth:"",frameheight:"",gallItems:!1,infinigall:!1,htmlClose:"×",htmlNext:"Next",htmlPrev:"Prev",numeratio:!1,numerationBackground:"#161617",numerationColor:"#d2d2d2",numerationPosition:"top",overlayClose:!0,overlayColor:"rgba(23,23,23,0.85)",spinner:"double-bounce",spinColor:"#d2d2d2",titleattr:"title",titleBackground:"#161617",titleColor:"#d2d2d2",titlePosition:"top",cb_pre_open:function(){return!0},cb_post_open:function(){},cb_pre_close:function(){return!0},cb_post_close:function(){},cb_post_resize:function(){},cb_after_nav:function(){},cb_init:function(){}},$);return H.cb_init(A),this.each(function(){if((D=e(this)).data("venobox"))return!0;function $(){y=D.data("gall"),h=D.data("numeratio"),u=D.data("gallItems"),b=D.data("infinigall"),k=u||e('.vbox-item[data-gall="'+y+'"]'),w=k.eq(k.index(D)+1),C=k.eq(k.index(D)-1),w.length||!0!==b||(w=k.eq(0)),k.length>1?(M=k.index(D)+1,c.html(M+" / "+k.length)):M=1,!0===h?c.show():c.hide(),""!==x?a.show():a.hide(),w.length||!0===b?(e(".vbox-next").css("display","block"),_=!0):(e(".vbox-next").css("display","none"),_=!1),k.index(D)>0||!0===b?(e(".vbox-prev").css("display","block"),B=!0):(e(".vbox-prev").css("display","none"),B=!1),!0!==B&&!0!==_||(d.on(K.DOWN,F),d.on(K.MOVE,G),d.on(K.UP,J))}function Q(e){return!(e.length<1)&&!p&&(p=!0,f=e.data("overlay")||e.data("overlaycolor"),n=e.data("framewidth"),v=e.data("frameheight"),o=e.data("border"),i=e.data("bgcolor"),l=e.data("href")||e.attr("href"),s=e.data("autoplay"),x=e.attr(e.data("titleattr"))||"",e===C&&d.addClass("animated").addClass("swipe-right"),e===w&&d.addClass("animated").addClass("swipe-left"),E.show(),void d.animate({opacity:0},500,function(){g.css("background",f),d.removeClass("animated").removeClass("swipe-left").removeClass("swipe-right").css({"margin-left":0,"margin-right":0}),"iframe"==e.data("vbtype")?ce():"inline"==e.data("vbtype")?oe():"ajax"==e.data("vbtype")?ie():"video"==e.data("vbtype")?ae(s):(d.html(''),te()),D=e,$(),p=!1,H.cb_after_nav(D,M,w,C)}))}function S(e){27===e.keyCode&&T(),37==e.keyCode&&!0===B&&Q(C),39==e.keyCode&&!0===_&&Q(w)}function T(){if(!1===H.cb_pre_close(D,M,w,C))return!1;e("body").off("keydown",S).removeClass("vbox-open"),D.focus(),g.animate({opacity:0},500,function(){g.remove(),p=!1,H.cb_post_close()})}A.VBclose=function(){T()},D.addClass("vbox-item"),D.data("framewidth",H.framewidth),D.data("frameheight",H.frameheight),D.data("border",H.border),D.data("bgcolor",H.bgcolor),D.data("numeratio",H.numeratio),D.data("gallItems",H.gallItems),D.data("infinigall",H.infinigall),D.data("overlaycolor",H.overlayColor),D.data("titleattr",H.titleattr),D.data("venobox",!0),D.on("click",function(u){if(u.preventDefault(),D=e(this),!1===H.cb_pre_open(D))return!1;switch(A.VBnext=function(){Q(w)},A.VBprev=function(){Q(C)},f=D.data("overlay")||D.data("overlaycolor"),n=D.data("framewidth"),v=D.data("frameheight"),s=D.data("autoplay")||H.autoplay,o=D.data("border"),i=D.data("bgcolor"),_=!1,B=!1,p=!1,l=D.data("href")||D.attr("href"),r=D.data("css")||"",x=D.attr(D.data("titleattr"))||"",P='
',H.spinner){case"rotating-plane":P+='
';break;case"double-bounce":P+='
';break;case"wave":P+='
';break;case"wandering-cubes":P+='
';break;case"spinner-pulse":P+='
';break;case"chasing-dots":P+='
';break;case"three-bounce":P+='
';break;case"circle":P+='
';break;case"cube-grid":P+='
';break;case"fading-circle":P+='
';break;case"folding-cube":P+='
'}return P+="
",O=''+H.htmlNext+''+H.htmlPrev+"",U='
0/0
'+H.htmlClose+"
",t='
'+P+'
'+U+O+"
",e("body").append(t).addClass("vbox-open"),e(".vbox-preloader div:not(.sk-circle) .sk-child, .vbox-preloader .sk-rotating-plane, .vbox-preloader .sk-rect, .vbox-preloader div:not(.sk-folding-cube) .sk-cube, .vbox-preloader .sk-spinner-pulse").css("background-color",H.spinColor),g=e(".vbox-overlay"),e(".vbox-container"),d=e(".vbox-content"),c=e(".vbox-num"),a=e(".vbox-title"),(E=e(".vbox-preloader")).show(),a.css(H.titlePosition,"-1px"),a.css({color:H.titleColor,"background-color":H.titleBackground}),e(".vbox-close").css({color:H.closeColor,"background-color":H.closeBackground}),e(".vbox-num").css(H.numerationPosition,"-1px"),e(".vbox-num").css({color:H.numerationColor,"background-color":H.numerationBackground}),e(".vbox-next span, .vbox-prev span").css({"border-top-color":H.arrowsColor,"border-right-color":H.arrowsColor}),d.html(""),d.css("opacity","0"),g.css("opacity","0"),$(),g.animate({opacity:1},250,function(){"iframe"==D.data("vbtype")?ce():"inline"==D.data("vbtype")?oe():"ajax"==D.data("vbtype")?ie():"video"==D.data("vbtype")?ae(s):(d.html(''),te()),H.cb_post_open(D,M,w,C)}),e("body").keydown(S),e(".vbox-prev").on("click",function(){Q(C)}),e(".vbox-next").on("click",function(){Q(w)}),!1});var Z=".vbox-overlay";function F(e){d.addClass("animated"),I=R=e.pageY,z=X=e.pageX,N=!0}function G(e){if(!0===N){X=e.pageX,R=e.pageY,j=X-z,W=R-I;var s=Math.abs(j);s>Math.abs(W)&&s<=100&&(e.preventDefault(),d.css("margin-left",j))}}function J(e){if(!0===N){N=!1;var s=D,i=!1;(Y=X-z)<0&&!0===_&&(s=w,i=!0),Y>0&&!0===B&&(s=C,i=!0),Math.abs(Y)>=q&&!0===i?Q(s):d.css({"margin-left":0,"margin-right":0})}}H.overlayClose||(Z=".vbox-close"),e("body").on("click",Z,function(s){(e(s.target).is(".vbox-overlay")||e(s.target).is(".vbox-content")||e(s.target).is(".vbox-close")||e(s.target).is(".vbox-preloader"))&&T()}),z=0,X=0,Y=0,q=50,N=!1;var K={DOWN:"touchmousedown",UP:"touchmouseup",MOVE:"touchmousemove"},L=function(s){var i;switch(s.type){case"mousedown":i=K.DOWN;break;case"mouseup":case"mouseout":i=K.UP;break;case"mousemove":i=K.MOVE;break;default:return}var c=se(i,s,s.pageX,s.pageY);e(s.target).trigger(c)},ee=function(s){var i;switch(s.type){case"touchstart":i=K.DOWN;break;case"touchend":i=K.UP;break;case"touchmove":i=K.MOVE;break;default:return}var c,a=s.originalEvent.touches[0];c=i==K.UP?se(i,s,null,null):se(i,s,a.pageX,a.pageY),e(s.target).trigger(c)},se=function(s,i,c,a){return e.Event(s,{pageX:c,pageY:a,originalEvent:i})};function ie(){e.ajax({url:l,cache:!1}).done(function(e){d.html('
'+e+"
"),te()}).fail(function(){d.html('

Error retrieving contents, please retry

'),de()})}function ce(){d.html(''),de()}function ae(e){var s,i,c=(l.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),RegExp.$3.indexOf("youtu")>-1?i="youtube":RegExp.$3.indexOf("vimeo")>-1&&(i="vimeo"),{type:i,id:RegExp.$6}),a=(e?"?rel=0&autoplay=1":"?rel=0")+function(e){var s="",i=decodeURIComponent(l).split("?");if(void 0!==i[1]){var c,a,o=i[1].split("&");for(a=0;a'),de()}function oe(){d.html('
'+e(l).html()+"
"),de()}function te(){(V=d.find("img")).length?V.each(function(){e(this).one("load",function(){de()})}):de()}function de(){a.html(x),d.find(">:first-child").addClass("figlio").css({width:n,height:v,padding:o,background:i}),e("img.figlio").on("dragstart",function(e){e.preventDefault()}),le(),d.animate({opacity:"1"},"slow",function(){E.hide()})}function le(){var s=d.outerHeight(),i=e(window).height();m=s+60 li > a { 220 | color: #2e2e2e; 221 | padding: 10px 0px; 222 | margin: 0px 15px; 223 | font-size: 15px; 224 | text-transform: uppercase; 225 | } 226 | 227 | nav .block .navbar-default .navbar-nav > li > a:before { 228 | background-color: transparent; 229 | content: ""; 230 | position: absolute; 231 | left: 0; 232 | bottom: 0; 233 | display: block; 234 | height: 2px; 235 | -webkit-transition: 0.3s all; 236 | -o-transition: 0.3s all; 237 | transition: 0.3s all; 238 | width: 0; 239 | } 240 | 241 | nav .block .navbar-default .navbar-nav > li > a:hover:before { 242 | background-color: #e94c3d; 243 | content: ""; 244 | width: 100%; 245 | } 246 | 247 | nav .block .navbar-default .navbar-nav > li.current > a { 248 | color: #2e2e2e; 249 | padding: 10px 0px; 250 | margin: 0px 15px; 251 | } 252 | 253 | nav .block .navbar-default .navbar-nav > li.current > a:before { 254 | background-color: transparent; 255 | content: ""; 256 | position: absolute; 257 | left: 0; 258 | bottom: 0; 259 | display: block; 260 | height: 2px; 261 | -webkit-transition: 0.3s all; 262 | -o-transition: 0.3s all; 263 | transition: 0.3s all; 264 | width: 100%; 265 | background-color: #e94c3d; 266 | } 267 | 268 | nav .block .navbar-default .navbar-nav > .active > a, 269 | nav .block .navbar-default .navbar-nav > .active > a:focus, 270 | nav .block .navbar-default .navbar-nav > .active > a:hover { 271 | background: none; 272 | } 273 | 274 | nav .block .navbar-default .navbar-nav > .active > a:before, 275 | nav .block .navbar-default .navbar-nav > .active > a:focus:before, 276 | nav .block .navbar-default .navbar-nav > .active > a:hover:before { 277 | content: ""; 278 | position: absolute; 279 | bottom: 0px; 280 | width: 100%; 281 | height: 2px; 282 | background: #ff5333; 283 | } 284 | 285 | /*-- 286 | about-us Start 287 | --*/ 288 | #about-us { 289 | padding: 100px 0px; 290 | background: #f6f6f6; 291 | } 292 | 293 | #about-us .block { 294 | text-align: center; 295 | } 296 | 297 | #about-us .block p { 298 | color: #959595; 299 | font-size: 16px; 300 | line-height: 26px; 301 | padding: 40px 0px; 302 | } 303 | 304 | /*-- 305 | blog Start 306 | --*/ 307 | #blog { 308 | padding-top: 75px; 309 | padding-bottom: 100px; 310 | background-repeat: no-repeat; 311 | background-size: cover; 312 | background-attachment: fixed; 313 | position: relative; 314 | } 315 | 316 | #blog .block .heading { 317 | color: #fff; 318 | margin-bottom: 40px; 319 | } 320 | 321 | .post { 322 | display: flex; 323 | margin-bottom: 20px; 324 | } 325 | 326 | .post:hover img { 327 | transform: scale(1.2) rotate(10deg); 328 | } 329 | 330 | .post-img { 331 | flex-basis: 50%; 332 | overflow: hidden; 333 | } 334 | 335 | .post-img img { 336 | transition: all 0.8s ease-out; 337 | width: 100%; 338 | height: auto; 339 | object-fit: cover; 340 | } 341 | 342 | .post-content { 343 | background-color: #fff; 344 | position: relative; 345 | flex-basis: 50%; 346 | text-align: center; 347 | padding: 20px; 348 | } 349 | 350 | .post-content::before { 351 | content: ""; 352 | position: absolute; 353 | left: 0; 354 | bottom: 0; 355 | right: 0; 356 | top: 50%; 357 | width: 30px; 358 | height: 30px; 359 | margin-top: -15px; 360 | background: #fff; 361 | transform: rotate(45deg); 362 | margin-left: -15px; 363 | } 364 | 365 | .post-content h3 { 366 | padding: 0px 10px 20px; 367 | margin-bottom: 20px; 368 | line-height: 26px; 369 | position: relative; 370 | } 371 | 372 | .post-content h3:before { 373 | content: ""; 374 | position: absolute; 375 | left: 50%; 376 | bottom: 0; 377 | width: 90px; 378 | height: 1px; 379 | background: #cbc4b5; 380 | margin-left: -45px; 381 | } 382 | 383 | .post-content h3 a { 384 | color: #323232; 385 | font-size: 20px; 386 | display: block; 387 | } 388 | 389 | .post-content h3 a:hover { 390 | color: #ff5333; 391 | } 392 | 393 | #blog .block .btn-more-info { 394 | float: right; 395 | padding: 28px 102.5px; 396 | border-radius: 0px; 397 | background: #ff530a; 398 | color: #fff; 399 | border: 1px solid transparent; 400 | text-transform: uppercase; 401 | font-weight: 500; 402 | font-size: 16px; 403 | -webkit-transition: 0.3s all; 404 | -o-transition: 0.3s all; 405 | transition: 0.3s all; 406 | } 407 | 408 | #blog .block .btn-more-info:hover { 409 | background: transparent; 410 | color: #ff530a; 411 | border: 1px solid #ff530a; 412 | } 413 | 414 | .blog-single-page .post-thumb { 415 | margin-bottom: 10px; 416 | } 417 | 418 | .blog-single-page .post-title { 419 | margin-bottom: 10px; 420 | } 421 | 422 | .blog-single-page .post-meta { 423 | margin-bottom: 20px; 424 | } 425 | 426 | .mx-auto { 427 | margin-left: auto; 428 | margin-right: auto; 429 | } 430 | 431 | /*-- 432 | price Start 433 | --*/ 434 | #price { 435 | padding: 70px 0px; 436 | } 437 | 438 | #price .block > p { 439 | color: #9d9d9d; 440 | font-size: 16px; 441 | line-height: 26px; 442 | padding: 40px 133px 0; 443 | text-align: center; 444 | } 445 | 446 | #price .block .pricing-list { 447 | padding-top: 85px; 448 | } 449 | 450 | #price .block .pricing-list ul { 451 | padding: 0 0 30px; 452 | margin: 0; 453 | } 454 | 455 | #price .block .pricing-list ul li { 456 | padding: 21px 0px; 457 | } 458 | 459 | #price .block .pricing-list ul li .item .item-title { 460 | position: relative; 461 | } 462 | 463 | #price .block .pricing-list ul li .item .item-title h2 { 464 | display: inline-block; 465 | position: relative; 466 | z-index: 99; 467 | background: #fff; 468 | } 469 | 470 | #price .block .pricing-list ul li .item .item-title .border-bottom { 471 | position: absolute; 472 | top: 0; 473 | width: 100%; 474 | height: 1px; 475 | border: 1px dotted #c9c9c9; 476 | margin-top: 20px; 477 | } 478 | 479 | #price .block .pricing-list ul li .item .item-title span { 480 | float: right; 481 | color: #938463; 482 | } 483 | 484 | #price .block .pricing-list ul li .item p { 485 | padding: 12px 0 0px; 486 | color: #949494; 487 | } 488 | 489 | #price .block .pricing-list .btn { 490 | padding: 28px 105px; 491 | border-radius: 0px; 492 | background: none; 493 | color: #ff4f02; 494 | border: 1px solid #ff4f02; 495 | font-size: 15px; 496 | text-transform: uppercase; 497 | font-weight: 600; 498 | -webkit-transition: 0.3s all; 499 | -o-transition: 0.3s all; 500 | transition: 0.3s all; 501 | } 502 | 503 | #price .block .pricing-list .btn:hover { 504 | background: #ff530a; 505 | color: #fff; 506 | } 507 | 508 | /*-- 509 | subscribe Start 510 | --*/ 511 | .subscription-form #mc_embed_signup { 512 | background: none; 513 | width: 70%; 514 | margin: 0 auto; 515 | } 516 | 517 | #mc_embed_signup .mc-field-group label { 518 | color: #fff; 519 | } 520 | 521 | .mc-field-group .d-flex { 522 | display: flex; 523 | } 524 | 525 | #mc_embed_signup .mc-field-group input.email { 526 | background: #fff; 527 | opacity: 0.9; 528 | border: none; 529 | height: 65px; 530 | border-radius: 0; 531 | width: 75%; 532 | display: inline-block; 533 | outline: none; 534 | padding: 0 15px; 535 | } 536 | 537 | #mc_embed_signup .mc-field-group input.button { 538 | height: 65px; 539 | display: inline-block; 540 | width: 25%; 541 | margin: 0; 542 | clear: none; 543 | border: none; 544 | border-radius: 0px; 545 | background: #7ec3bb; 546 | color: #fff; 547 | font-weight: 600; 548 | font-size: 16px; 549 | letter-spacing: 2px; 550 | text-transform: uppercase; 551 | -webkit-transition: 0.3s all; 552 | -o-transition: 0.3s all; 553 | transition: 0.3s all; 554 | } 555 | @media only screen and (max-width: 991px) { 556 | #mc_embed_signup .mc-field-group input.email { 557 | width: 70%; 558 | } 559 | #mc_embed_signup .mc-field-group input.button { 560 | width: 30%; 561 | } 562 | } 563 | @media only screen and (max-width: 768px) { 564 | .mc-field-group .d-flex { 565 | display: block; 566 | } 567 | #mc_embed_signup .mc-field-group input.email, 568 | #mc_embed_signup .mc-field-group input.button { 569 | width: 100%; 570 | } 571 | } 572 | 573 | .subscription-form #mc_embed_signup #mce-success-response { 574 | color: #fff; 575 | } 576 | 577 | #subscribe { 578 | padding: 100px 0px; 579 | text-align: center; 580 | background-repeat: no-repeat; 581 | background-attachment: fixed; 582 | background-size: cover; 583 | position: relative; 584 | } 585 | 586 | #subscribe .block h1.heading { 587 | color: #fff; 588 | } 589 | 590 | #subscribe .block p { 591 | padding: 25px 0px; 592 | color: #fff; 593 | font-size: 18px; 594 | } 595 | 596 | #subscribe .block form .form-control { 597 | width: 450px; 598 | background: #fff; 599 | opacity: 0.9; 600 | border: none; 601 | height: 65px; 602 | border-radius: 0px; 603 | font-size: 15px; 604 | } 605 | 606 | #subscribe .block form .input-group-addon { 607 | padding: 0px; 608 | border: none; 609 | background: none; 610 | } 611 | 612 | #subscribe .block form .input-group-addon button { 613 | width: 212px; 614 | height: 65px; 615 | border: none; 616 | border-radius: 0px; 617 | background: #7ec3bb; 618 | color: #fff; 619 | font-weight: 600; 620 | font-size: 16px; 621 | letter-spacing: 2px; 622 | text-transform: uppercase; 623 | -webkit-transition: 0.3s all; 624 | -o-transition: 0.3s all; 625 | transition: 0.3s all; 626 | } 627 | 628 | #subscribe .block form .input-group-addon button:hover { 629 | background: #69a8a1; 630 | } 631 | 632 | /*-- 633 | contact-us Start 634 | --*/ 635 | #contact-us { 636 | padding: 70px 0px; 637 | } 638 | 639 | #contact-us .block .title { 640 | padding: 20px 0; 641 | } 642 | 643 | #contact-us .block form { 644 | padding-bottom: 20px; 645 | } 646 | 647 | #contact-us .block form input { 648 | height: 48px; 649 | border-radius: 0px; 650 | box-shadow: none; 651 | -webkit-transition: 0.3s all; 652 | -o-transition: 0.3s all; 653 | transition: 0.3s all; 654 | } 655 | 656 | #contact-us .block form input:focus { 657 | border: 1px solid #7ec3bb; 658 | } 659 | 660 | #contact-us .block form textarea { 661 | height: 140px; 662 | border-radius: 0px; 663 | box-shadow: none; 664 | -webkit-transition: 0.3s all; 665 | -o-transition: 0.3s all; 666 | transition: 0.3s all; 667 | } 668 | 669 | #contact-us .block form textarea:focus { 670 | border: 1px solid #7ec3bb; 671 | } 672 | 673 | #contact-us .block button { 674 | background: #ff4f02; 675 | float: right; 676 | color: #fff; 677 | font-weight: 600; 678 | text-transform: uppercase; 679 | border-radius: 0px; 680 | border: 0px; 681 | width: 512px; 682 | height: 50px; 683 | padding-top: 15px; 684 | -webkit-transition: 0.3s all; 685 | -o-transition: 0.3s all; 686 | transition: 0.3s all; 687 | } 688 | 689 | /*-- 690 | footer Start 691 | --*/ 692 | #footer { 693 | padding: 70px 0px; 694 | } 695 | 696 | #footer .gallery li { 697 | display: inline-block; 698 | margin-right: 15px; 699 | margin-bottom: 15px !important; 700 | } 701 | 702 | #footer .gallery li img { 703 | width: 80px; 704 | height: auto; 705 | } 706 | 707 | #footer .block h3 { 708 | color: #2e2e2e; 709 | padding-bottom: 25px; 710 | } 711 | 712 | #footer .block h3 span { 713 | color: #ff4f02; 714 | } 715 | 716 | #footer .block .blog ul, 717 | #footer .block .info ul, 718 | #footer .block .gallary ul { 719 | padding-top: 20px; 720 | } 721 | 722 | #footer .block .blog ul li, 723 | #footer .block .info ul li, 724 | #footer .block .gallary ul li { 725 | margin-bottom: 20px; 726 | } 727 | 728 | #footer .block .blog ul li h4, 729 | #footer .block .info ul li h4, 730 | #footer .block .gallary ul li h4 { 731 | padding-bottom: 10px; 732 | display: block; 733 | color: #ff4f02; 734 | } 735 | 736 | #footer .block .blog ul li h4 i, 737 | #footer .block .info ul li h4 i, 738 | #footer .block .gallary ul li h4 i { 739 | color: #555; 740 | margin-right: 30px; 741 | font-size: 20px; 742 | } 743 | 744 | #footer .block .blog ul li h4 a, 745 | #footer .block .info ul li h4 a, 746 | #footer .block .gallary ul li h4 a { 747 | color: #ff4f02; 748 | font-size: 20px; 749 | font-weight: 600; 750 | } 751 | 752 | #footer .block .blog ul li p, 753 | #footer .block .info ul li p, 754 | #footer .block .info ul li p a, 755 | #footer .block .gallary ul li p { 756 | color: #474747; 757 | font-size: 14px; 758 | } 759 | 760 | #footer .block .info ul li p a:hover { 761 | color: #ff4f02; 762 | } 763 | 764 | #footer .block .social-media-link h3 { 765 | font-size: 20px; 766 | padding-bottom: 15px; 767 | padding-top: 30px; 768 | } 769 | 770 | #footer .block .social-media-link h3 span { 771 | color: #ff4f02; 772 | } 773 | 774 | #footer .block .social-media-link ul li { 775 | display: inline-block; 776 | margin-right: 20px; 777 | } 778 | 779 | #footer .block .social-media-link ul li a { 780 | display: block; 781 | width: 40px; 782 | height: 40px; 783 | text-align: center; 784 | font-size: 20px; 785 | padding-top: 8px; 786 | border-radius: 100%; 787 | background: #b0b0b0; 788 | color: #ffffff; 789 | -webkit-transition: 0.3s all; 790 | -o-transition: 0.3s all; 791 | transition: 0.3s all; 792 | } 793 | 794 | #footer .block .social-media-link ul li a:hover { 795 | background: #ff4f02; 796 | color: #fff; 797 | } 798 | 799 | /*-- 800 | footer-bottom Start 801 | --*/ 802 | #footer-bottom { 803 | background: #e9e9e9; 804 | padding: 20px 0px; 805 | } 806 | 807 | #footer-bottom p { 808 | text-align: center; 809 | padding-top: 12px; 810 | color: #454545; 811 | font-size: 12px; 812 | font-weight: 600; 813 | letter-spacing: 2px; 814 | } 815 | 816 | #footer-bottom p a { 817 | color: #ff4f02; 818 | } 819 | 820 | /* slider */ 821 | 822 | #slider { 823 | padding-bottom: 50px; 824 | } 825 | 826 | .slick-slide { 827 | outline: 0; 828 | } 829 | 830 | .slick-dots { 831 | text-align: center; 832 | margin-top: 20px; 833 | } 834 | 835 | .slick-dots li { 836 | display: inline-block; 837 | } 838 | 839 | .slick-dots li button { 840 | height: 10px; 841 | width: 10px; 842 | border-radius: 50%; 843 | cursor: pointer; 844 | margin: 0 5px; 845 | transition: 0.2s ease; 846 | border: 0; 847 | color: transparent; 848 | padding: 0; 849 | background: #dadada; 850 | } 851 | 852 | .slick-dots li button:focus { 853 | outline: 0; 854 | } 855 | 856 | .slick-dots li.slick-active button { 857 | background: #ff4f02; 858 | } 859 | 860 | .gallery-slider .slick-arrow { 861 | border: 0; 862 | background: transparent; 863 | font-size: 30px; 864 | position: absolute; 865 | top: -65px; 866 | right: 0; 867 | } 868 | 869 | .gallery-slider .slick-arrow:focus { 870 | outline: 0; 871 | } 872 | 873 | .gallery-slider .prevArrow { 874 | display: none !important; 875 | } 876 | 877 | .gallery-slider img { 878 | padding: 20px; 879 | } 880 | 881 | .pagination { 882 | text-align: center; 883 | display: block; 884 | margin-top: 20px; 885 | } 886 | 887 | .pagination > li { 888 | display: inline-block; 889 | } 890 | 891 | .pagination .page-item .page-link { 892 | display: inline-block; 893 | width: 40px; 894 | height: 40px; 895 | border-radius: 0; 896 | border: 1px solid #d1d1d1; 897 | text-align: center; 898 | margin-right: 6px; 899 | font-weight: 700; 900 | color: #ff4f02; 901 | } 902 | 903 | .pagination .page-item .page-link:hover { 904 | background: #ff4f02; 905 | color: #fff; 906 | } 907 | 908 | .pagination .page-item:first-child .page-link, 909 | .pagination .page-item:last-child .page-link { 910 | border-radius: 0; 911 | } 912 | 913 | .pagination .page-item.active .page-link { 914 | background: #ff4f02; 915 | color: #fff; 916 | border-color: #ff4f02; 917 | } 918 | 919 | .btn-default { 920 | background: #ff4f02; 921 | color: #fff; 922 | font-weight: 600; 923 | text-transform: uppercase; 924 | border-radius: 0px; 925 | border: 0px; 926 | padding: 10px 25px; 927 | } 928 | -------------------------------------------------------------------------------- /static/css/font-awesome.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.2.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"} -------------------------------------------------------------------------------- /static/js/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.1.0 (http://getbootstrap.com) 3 | * Copyright 2011-2014 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.isLoading=!1};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",f.resetText||d.data("resetText",d[e]()),d[e](f[b]||this.options[b]),setTimeout(a.proxy(function(){"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},b.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}a&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}if(e.hasClass("active"))return this.sliding=!1;var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});return this.$element.trigger(j),j.isDefaultPrevented()?void 0:(this.sliding=!0,f&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")?(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(1e3*d.css("transition-duration").slice(0,-1))):(d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")),f&&this.cycle(),this)};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("collapse in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);!e&&f.toggle&&"show"==c&&(c=!c),e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(b){a(d).remove(),a(e).each(function(){var d=c(a(this)),e={relatedTarget:this};d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown",e)),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown",e))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;(e||"destroy"!=c)&&(e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]())})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(a(c).is("body")?window:c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);{var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})}},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);if(g&&b<=e[0])return g!=(a=f[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(b.RESET).addClass("affix");var a=this.$window.scrollTop(),c=this.$element.offset();return this.pinnedOffset=c.top-a},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"top"==this.affixed&&(e.top+=d),"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top(this.$element)),"function"==typeof h&&(h=f.bottom(this.$element));var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;if(this.affixed!==i){this.unpin&&this.$element.css("top","");var j="affix"+(i?"-"+i:""),k=a.Event(j+".bs.affix");this.$element.trigger(k),k.isDefaultPrevented()||(this.affixed=i,this.unpin="bottom"==i?this.getPinnedOffset():null,this.$element.removeClass(b.RESET).addClass(j).trigger(a.Event(j.replace("affix","affixed"))),"bottom"==i&&this.$element.offset({top:c-h-this.$element.height()}))}}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); -------------------------------------------------------------------------------- /static/js/slick.min.js: -------------------------------------------------------------------------------- 1 | !function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('