Giter VIP home page Giter VIP logo

foxy-template's Introduction

Agency Foxy Template by Ryan Balieiro

This agency portfolio theme was created using Vue 3.0 and Bootstrap 5, all condensed into a sleek one-page layout. The theme boasts a variety of content sections, such as a portfolio gallery, testimonials, a showcase of services, contact information, and more.

It's designed to be fully customizable, allowing you to integrate or adapt it into your business with ease.

Preview

alt tag1

View Live Preview

Status

GitHub license npm version

Getting Started

  1. Clone the repo:
git clone https://github.com/ryanbalieiro/foxy-template
  1. Go to the project's root folder and use npm to install all required components:
npm install
  1. Launch the project in developer mode:
npm run dev
  1. To temporarily deactivate the preload animation during theme adjustments, navigate to public/data/general.json and modify the following field:
 "preloaderEnabled": false
  1. For a production build, go to vite.config.js and configure the base directory for your application. This setting establishes the primary path under which your website will be hosted.
export default defineConfig({
  base: '/',
  plugins: [vue()],
})
  1. Run the following command to compile the project into dist:
npm run build
  1. If your deployment is targeted at GitHub Pages, ensure to run the following command post the build process:
npm run deploy

This command will make a copy of index.html named 404.html inside the dist folder, serving as a workaround to the problem discussed in detail at https://stackoverflow.com/questions/48521177/404-when-reloading-a-vue-website-published-to-github-pages.

Quick Customization

1. Content Customization

The content of the application, encompassing text and images, is conveniently located within the public/ directory. Inside the public/ folder, you'll find:

  • /data/general.json ➔ A JSON file that contains the core information about the application.
  • /data/sections.json ➔ A JSON file that holds the content for each individual section.
  • /data/pages.json ➔ A JSON file that holds the content for secondary pages, such as the Privacy Policy and the legal sections.
  • /images/(...) ➔ Icons and photos used in the application.

2. Quickly customizing the colors

Customizing the theme colors is a straightforward process. Simply access src/scss/_variables.scss and make adjustments to the color variables. For example, you can alter the primary color from orange to blue just by changing this line:

$primary: #07c5ee; /** making the primary color blue! **/
$dark: #212529;

3. Adding, removing and reordering sections

Inside the sections.json file, you have the ability to include or exclude items in the sections array. Keep in mind that the arrangement of sections within the array will determine how they appear in the display order.

{
    "id": "about",
    "component": "AboutSection",
    "class": "agency-section",
    "navbar": {
        "label": "About",
        "faIcon": "fa-solid fa-file"
    },

    "headline": {
        (...)
    },

    "items": [
        (...)
    ],

    "footer": {
        (...)
    }
},

{
    "id": "services",
    "component": "ServicesSection",
    "class": "agency-section-primary",
    "navbar": {
        "label": "Services",
        "faIcon": "fa-solid fa-wrench"
    },

    "headline": {
        (...)
    },

    "items": [
        (...)
    ],

    "footer": {
        (...)
    }
},

4. Adding functionality to the contact form

Enabling the functionality of the contact form requires you developing your own server-side implementation within the ContactSection.vue file. It's important to mention that the existing template solely contains the client-side implementation, along with a simulated delay using a placeholder timeout:

const _sendMessage = (values) => {
    const feedbackView = layout.getFeedbackView()
    feedbackView.showActivitySpinner("Sending Message...")
    submitAttempts++

    /** The message sending logic goes here... **/
    // setTimeout(() => {
    //     if(submitAttempts % 2 !== 0) {
    //         _onMessageSent()
    //     }
    //     else {
    //         _onMessageError()
    //     }
    // }, 1000)
    /** ************************************** **/
}

About

This template was created by and is maintained by Ryan Balieiro.

The template is based on the Bootstrap framework created by Mark Otto and Jacob Thorton; and the Vue framework created by Evan You.

Copyright and License

Code released under the MIT license.

foxy-template's People

Contributors

ryanbalieiro avatar

Stargazers

Konkamon Sion avatar Juan Castrillon avatar Fatjon Freskina avatar ajp1984 avatar Collins Kiprutoh avatar Mark Ross avatar Enes Coşkun avatar José Rojas avatar  avatar  avatar Olivier Verwoerd avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.