Giter Club home page Giter Club logo

prixite.github.io's Introduction

Background

This repository is used to hold the code for the website of Prixite. Prixite is a leading software development company of Pakistan. It has offices in Lahore, Pakistan and Wyoming, USA.

This repository can also be used as a starter template for a Next.js project. The code in this repository is freely distributed.

Some interesting things you can learn from this template:

  • Deployment of Next.js static website to Github Pages.
  • Github Workflows
  • CI/CD pipeline setup
  • TypeScript with React.js and Next.js
  • Integration of linters and formatters.

You can also use this template to create and host a free website on Github Pages or any other static website host. Advantages of a static website:

  • Speed 🚀
  • Security 🛡️
  • Scalability 🙌

Requirements:

Node: >=16

Getting Started

First, Create an environment file (.env) in the root of the project. You can get the initial file by copying env.sample to .env

Second, run the development server:

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

Contributing

See CONTRIBUTING.md on how to contribute to this project.

Future Plan

We would like to reach to a place where anyone can fork this template, make few changes, and create a free website. For this to happen, following needs to happen:

  • All text should be read from markdown files.
  • User interface can be changed easily.

License

The MIT License (MIT)

The data folder and logo of Prixite are the property of Prixite. The rest of the stuff in this repo can be used freely.

prixite.github.io's People

Contributors

abdullah4244 avatar aleesha-azhar avatar bendundon avatar dependabot[bot] avatar getalihassan avatar imrancs058 avatar mertaner avatar michalstruck avatar mnabeelhassan avatar radar07 avatar rkoalsi avatar shahzaib834 avatar shameenjamil avatar sherryqaser avatar umairjameelprixite avatar umairwaheed avatar uzairmirza90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

prixite.github.io's Issues

DRY: Move Head to Header component

I think we can move the following block to Header component.

      <Head>
        <title>{title}</title>
        <meta name="prixite" content="Prixte" />
        <link rel="icon" href="/favicon.ico" />
      </Head>

Add client page

We would like to add a client page to show case the clients we have worked with. There is no need to integrate API backend at the moment. You can just create an array of objects in JavaScript to hold the data for the clients.

Shift services detail pages to markdown

  • Create markdown files in data/services folder. The content of the services detail page will be retrieved from here.
  • The new url for service detail page should be prixite.com/services/web-app-development
  • Render the list of services from markdown as well. Use format 2.
  • Remove old services typescript pages.

Ideas for storing services data.

Format 1

Filename: data/services.md

  • Web App Development
    image
    Prixite being the exquisite web development brands offers innovative solutions to your web development needs in today’s dynamics.

  • Wordpress development
    image
    Prixite offers its clients superior quality WordPress solutions that helps them to create a compelling impact in the business world.

Format 2

file: data/services/web-development.md

heading: Web App Development
image: <image>
index: 1

Prixite being the exquisite web development brands offers innovative solutions to your web development needs in today’s dynamics.

file: data/services/word-press-development.md

heading: Wordpress Development
image: <image>
index: 2

Prixite offers its clients superior quality WordPress solutions that helps them to create a compelling impact in the business world.

Header redesign

Improve design of Header which includes logo, prixite heading and hamburger menu.
Group 37

Fix the favicon

If you run the Next.js site, the favicon is not correct. Currently, the favicon shows like this:

image

Deploy the Next.js website to Github Pages

Now we have Next.js website under v2 folder. We still need to deploy this to Github pages. The general implementation sketch is as follows:

  • Create a Github action to create the Next.js build.
  • Update settings to serve application from the Next.js build folder.

Reference:

Add jobs page

We would like to add a jobs page to publicise the job openings in our company. There is no need to integrate API backend at the moment. You can just create an array of objects in JavaScript to hold the data for the jobs.

[Blogs] Code cleanup

  • Remove blogs/[blogId].tsx
  • Move posts to data/blogs
  • Remove data/data.ts if it is not being used.

Add dynamic routing

Add dynamic routing instead of conditional routing so that new pages will just work.

Cleanup file structure

Remove the following files and ignore them using gitignore

Additionally, for .env, create env.sample file. This file should be tracked by Git. Update ReadMe to let people know that they need to copy env.sample to .env.

Convert current website into Next.js static site

Implement the current website in Next.js.

Problems that we want to solve:

  • Move away from writing direct HTML and JS.
  • Remove duplication of code.
  • Improve code quality.

Implementation Suggestions:
You should fork this repository and then do all the development in your fork. Once you think your code is ready, you can create a PR against this repo. See docs about fork.

References:

[Designer] Landing page redesign

The main theme needs to be same.

  • Improve images
  • Improve design of "What we do".
  • Fix spacing in "What we do" section.
  • Improve resolution of logo
  • Improve logo design and favicon
  • Fix data flow issues
  • Improve footer
  • Improve button design
  • Improve navigation. I don't like the pill design of Contact Us button.

Context:
image

image

image

image

image

Integrate Google Analytics

We need to add the following code snippet in the HEAD tag:

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C0JTNSKJN1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-C0JTNSKJN1');
</script>

Normalize titles of pages

Depends on #80.

Update data.ts to use siteName in the titles of all pages. Here are some examples:

Make sure all titles of the pages follow ${siteName} - ${pageTitle} format. For example, https://github.com/prixite/prixite.github.io/blob/master/constants/data.ts#L215 should be changed to ${siteName} - Web Development.

Integrate pre-commit in the repo

  • Add .pre-commit-config.yaml in root of this repo.
  • Add a pre-commit.yml under .github/workflows.

The contents of pre-commit.yml can be something like this:

name: pre-commit

on:
  pull_request:
  push:
    branches: [master]

jobs:
  pre-commit:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v2
    - uses: pre-commit/[email protected]

Contents of .pre-commit-config.yaml can be similar to:

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.2.0
    hooks:
      - id: check-yaml
      - id: end-of-file-fixer
      - id: trailing-whitespace
      - 
  - repo: https://github.com/pre-commit/mirrors-prettier
    rev: v2.6.2
    hooks:
      - id: prettier
        exclude: ^tweet_listener/models/
        types: [javascript]

Add portfolio page

We would like to add a portfolio page to show case our projects. There is no need to integrate API backend at the moment. You can just create an array of objects in JavaScript to hold the data for the projects.

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.