Code Monkey home page Code Monkey logo

dctx-v2's Introduction

DCTx Version 2

Repository for the DCTx project.

Project Details

Local SSL is required!

Getting Started

Prerequisites

  • Install Local by Flywheel for local development.
  • Download and Install Composer
  • Because theme is bundled with Gulp, basic knowledge of the command line and the following dependencies are required: either Yarn or Node (recommended version 10.x), Gulp CLI (npm install -g gulp-cli), and Bower (npm install -g bower).

Development

  1. Once you've set up your local, run composer install inside wp-content, this will install all needed plugins by the website.
  2. If you need to add a plugin, search in WordPress Packagist and add to composer.json in the required part, and run composer install again. Do not do composer update instead in the wp-content folder run rm composer.lock before you run composer install.
	"require": {
		"wpackagist-plugin/gutenberg": "7.8.1",
		"wpackagist-plugin/name-of-plugin-here: "Version"
	},
  1. Activate the DCTx-V2 theme in the dashboard. Then setup Gulp.
  2. From the command line, change directories to dctx-v2
cd themes/dctx-v2
  1. Install theme dependencies (use either Yarn or NPM)

Yarn

yarn install && bower install

NPM

npm install && bower install

Branching and Dev Flow

  1. When adding your own changes\features, create a branch from master using either hotfix or feature like so: git checkout -b feature\jc-feature-name
  2. Once you're done adding your changes, create a PR and request a review.

Gulp Tasks

From the command line, type any of the following to perform an action (make sure you are inside of the theme folder):

gulp watch - Automatically handle changes to CSS, JS, SVGs, and image sprites. Also kicks off BrowserSync.

gulp icons - Minify, concatenate, and clean SVG icons.

gulp i18n - Scan the theme and create a POT file.

gulp sass:lint - Run Sass against WordPress code standards.

gulp js:lint - Run Javascript against WordPress code standards.

gulp scripts - Concatenate and minify javascript files.

gulp sprites - Generate an image sprite and the associated Sass (sprite.png).

gulp styles - Compile, prefix, combine media queries, and minify CSS files.

gulp - Runs the following tasks at the same time: i18n, icons, scripts, styles, sprites.

dctx-v2's People

Contributors

khleomix avatar

Watchers

James Cloos avatar  avatar Carl Alberto avatar

dctx-v2's Issues

Design team comments - Meta Tags for sharing, etc

https://dctx.slack.com/archives/C01075EDJSF/p1586066959302500?thread_ts=1586050950.301300&cid=C01075EDJSF

  1. Add the redundancy CTA primary button on the header on the left side of banner 1 next line after "and champions the success of Filipino developers."

  2. On Mobile, request to add primary CTA on the upper right menu. our users are 70%+ on mobile

  3. On mobile, scale down to 30% the header logo https://dctx.ph/wp-content/themes/dctx/images/logo-big.svg;

  4. META TEMP UNTIL SEO WRITERS PROVIDE:
    OG IMAGE: https://scontent.fcrk2-1.fna.fbcdn.net/v/t1.0-9/92250728_119664999677641_2891431383064903680_o.png?_nc_cat=106&_nc_sid=dd9801&_nc_eui2=AeFKJVKi4voieP535N_lwLIDTJKX1ENAPslMkpfUQ0A-ybdQQtu_zWP7PKgAZbKoCnA&_nc_ohc=s00btaX3cR8AX-NG_L6&_nc_ht=scontent.fcrk2-1.fna&oh=e93a81eb5781c62a13e624d9cdf8b706&oe=5EADDF4F
    TITLE: Welcome to DCTX's website! | DEVCON Community of Technology Experts
    DESCRIPTION: The DEVCON Community of Technology Experts (DCTx) is a volunteer-based global community working in partnership with the Department of Science and Technology (DOST) to develop digital solutions that will help government response efforts to the COVID-19 pandemic.

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.