Skip to content

Commit

Permalink
chore : setup project for Innovision 2024 (#117)
Browse files Browse the repository at this point in the history
* Initial commit from Create Next App

* chore: next app setup

* feat: added playground, project structure and navigation

* feat: added instructions

* chore: clean earlier code

* Initial commit from Create Next App

* chore: next app setup

* feat: added playground, project structure and navigation

* feat: get styled-component working

* feat: setup twin.macro

* feat: added eslint and prettier scripts

* feat: added tw in styled comps

* feat: added prettier script

---------

Co-authored-by: Ashish Padhy <[email protected]>
  • Loading branch information
Srish-ty and Shurtu-gal authored Sep 21, 2024
1 parent 2abf016 commit e53307f
Show file tree
Hide file tree
Showing 154 changed files with 3,783 additions and 19,380 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Edit at https://www.toptal.com/developers/gitignore?templates=node,yarn,firebase

register.json
withTwin.mjs

### Firebase ###
.idea
Expand Down
37 changes: 0 additions & 37 deletions .eslintrc

This file was deleted.

3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
17 changes: 2 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,12 @@ jobs:

- name: Create production ENV
env:
GATSBY_FIREBASE_API_KEY: ${{ vars.GATSBY_FIREBASE_API_KEY }}
GATSBY_FIREBASE_AUTH_DOMAIN: ${{ vars.GATSBY_FIREBASE_AUTH_DOMAIN }}
GATSBY_FIREBASE_PROJECT_ID: ${{ vars.GATSBY_FIREBASE_PROJECT_ID }}
GATSBY_FIREBASE_STORAGE_BUCKET: ${{ vars.GATSBY_FIREBASE_STORAGE_BUCKET }}
GATSBY_FIREBASE_MESSAGING_SENDER_ID: ${{ vars.GATSBY_FIREBASE_MESSAGING_SENDER_ID }}
GATSBY_FIREBASE_APP_ID: ${{ vars.GATSBY_FIREBASE_APP_ID }}
GATSBY_FIREBASE_MEASUREMENT_ID: ${{ vars.GATSBY_FIREBASE_MEASUREMENT_ID }}
GATSBY_API_URL: ${{ vars.GATSBY_API_URL }}
SAMPLE_VAR: ${{ secrets.SAMPLE_VAR }}
# GATSBY_FIREBASE_API_KEY: ${{ vars.GATSBY_FIREBASE_API_KEY }}

run: |
touch .env.production
echo "GATSBY_FIREBASE_API_KEY=${GATSBY_FIREBASE_API_KEY}" >> .env.production
echo "GATSBY_FIREBASE_AUTH_DOMAIN=$GATSBY_FIREBASE_AUTH_DOMAIN" >> .env.production
echo "GATSBY_FIREBASE_PROJECT_ID=$GATSBY_FIREBASE_PROJECT_ID" >> .env.production
echo "GATSBY_FIREBASE_STORAGE_BUCKET=$GATSBY_FIREBASE_STORAGE_BUCKET" >> .env.production
echo "GATSBY_FIREBASE_MESSAGING_SENDER_ID=$GATSBY_FIREBASE_MESSAGING_SENDER_ID" >> .env.production
echo "GATSBY_FIREBASE_APP_ID=$GATSBY_FIREBASE_APP_ID" >> .env.production
echo "GATSBY_FIREBASE_MEASUREMENT_ID=$GATSBY_FIREBASE_MEASUREMENT_ID" >> .env.production
echo "GATSBY_API_URL=$GATSBY_API_URL" >> .env.production
- name: Build Check
run: yarn build
Expand Down
176 changes: 26 additions & 150 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,160 +1,36 @@
# Created by https://www.toptal.com/developers/gitignore/api/node,yarn,firebase
# Edit at https://www.toptal.com/developers/gitignore?templates=node,yarn,firebase
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

### Firebase ###
.idea
**/node_modules/*
**/.firebaserc
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

### Firebase Patch ###
.runtimeconfig.json
.firebase/
# testing
/coverage

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript
# next.js
/.next/
/out/

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# production
/build

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz
# misc
.DS_Store
*.pem

# Yarn Integrity file
.yarn-integrity
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# dotenv environment variables file
.env.development
.env.test
# local env files
.env*.local
.env.production

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Storybook build outputs
.out
.storybook-out
storybook-static

# rollup.js default build output
dist/

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/
# vercel
.vercel

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# Temporary folders
tmp/
temp/

### yarn ###
# https://yarnpkg.com/advanced/qa#which-files-should-be-gitignored

.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions

# if you are NOT using Zero-installs, then:
# comment the following lines
!.yarn/cache

# and uncomment the following lines
# .pnp.*

public
# End of https://www.toptal.com/developers/gitignore/api/node,yarn,firebase

.env.development
.DS_Store
# typescript
*.tsbuildinfo
next-env.d.ts
11 changes: 11 additions & 0 deletions Instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
pnpm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
7 changes: 0 additions & 7 deletions config/content/AboutUs.js

This file was deleted.

32 changes: 0 additions & 32 deletions config/content/CA.js

This file was deleted.

51 changes: 0 additions & 51 deletions config/content/EventPage.js

This file was deleted.

6 changes: 0 additions & 6 deletions config/content/Events.js

This file was deleted.

Loading

0 comments on commit e53307f

Please sign in to comment.