https://github.com/tomyitav/kobi-site
Using Next.js with typescript for site generation
https://github.com/tomyitav/kobi-site
bootstrap4 nextjs now-cli reactjs typescript
Last synced: about 2 months ago
JSON representation
Using Next.js with typescript for site generation
- Host: GitHub
- URL: https://github.com/tomyitav/kobi-site
- Owner: tomyitav
- License: mit
- Created: 2018-08-24T22:08:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T05:01:55.000Z (over 3 years ago)
- Last Synced: 2025-02-16T13:30:47.141Z (over 1 year ago)
- Topics: bootstrap4, nextjs, now-cli, reactjs, typescript
- Language: TypeScript
- Homepage: https://kobiyitav.com
- Size: 92 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Kobi Site
Source code project of Kobi Yitav company site, using:
- next@6.1.1
- react@16.4
- typescript@3.0.1
- bootstrap@4.0.0
- Styled-jsx
- Module css **(PostCSS - cssnext, nested, import)**
- font-awesome@5
- SEO & analytics (Google Analytics)
## Run :rocket:
### :rocket: Development
```bash
npm run start:dev # run
```
### :rocket: Production
#### Serve
```bash
npm install
npm run build # create .next directory
npm start # start server
```
#### Deploy
```bash
npm run now:deploy
```
#### Build static HTML
```bash
npm install
npm run build # create .next directory
npm run export # create .out directory
```
## Configuration
Set SEO & analytics variables
> src/constants/env.ts
```typescript
export const GA_TRACKING_ID = ''
export const FB_TRACKING_ID = ''
export const SENTRY_TRACKING_ID = ''
// for meta tag
export const SITE_NAME = ''
export const SITE_TITLE = ''
export const SITE_DESCRIPTION = ''
export const SITE_IMAGE = ''
```
If each variable evaluated false, it does not load related library