Skip to content

malikfaik/faik.in

Repository files navigation

CodeQL

Personal Website

The single page web app is based on React.js and Next.js

How to run

  • Install yarn
  • Run yarn install
  • Run yarn dev

Files

All the code lives inside /src folder.

We have following subfolders components, config, pages and utils

src
├── components
├── config
├── pages
└── utils

Components

All the individual components live here.

src/components
├── about-section
├── common-components
│   ├── link-hover
│   ├── model-box
│   └── on-scroll-spring
├── contact-section
├── experience-section
├── header-section
├── tech-section
└── welcome-section

The components follow the following file structure.

src/components/{component}
├── main.tsx
├── content.ts
├── styles.ts
└── helpers.ts
  • main.tsx: Contains jsx for the component.
  • content.ts: Contains content for the component.
  • styles.ts: Contains JSS style for the component.
  • helper.ts: Contains helper functions for the component.

Each section of the app has it's own individual component.

There are certain components that are shared between other components, these kind of components lie within common-components

Pages

The indiviual pages of the app lie within the src/pages, in our case just a single page i.e index.tsx.

Config

All the configuration for the app lies within src/config, e.g types etc.

Utils

All the global utils lie here, including our anlaytics helper and logger.

Packages

We use the following packages within the app.

About

Personal one page website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published