Skip to content

Commit

Permalink
init source
Browse files Browse the repository at this point in the history
  • Loading branch information
VNAPNIC committed Sep 1, 2023
0 parents commit c333ebb
Show file tree
Hide file tree
Showing 190 changed files with 16,312 additions and 0 deletions.
95 changes: 95 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Sample workflow for building and deploying a Next.js site to GitHub Pages
#
# To get started with Next.js see: https://nextjs.org/docs/getting-started
#
name: Deploy Next.js site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Detect package manager
id: detect-package-manager
run: |
if [ -f "${{ github.workspace }}/yarn.lock" ]; then
echo "manager=yarn" >> $GITHUB_OUTPUT
echo "command=install" >> $GITHUB_OUTPUT
echo "runner=yarn" >> $GITHUB_OUTPUT
exit 0
elif [ -f "${{ github.workspace }}/package.json" ]; then
echo "manager=npm" >> $GITHUB_OUTPUT
echo "command=ci" >> $GITHUB_OUTPUT
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
exit 0
else
echo "Unable to determine package manager"
exit 1
fi
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "16"
cache: ${{ steps.detect-package-manager.outputs.manager }}
- name: Setup Pages
uses: actions/configure-pages@v3
with:
# Automatically inject basePath in your Next.js configuration file and disable
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
#
# You may remove this line if you want to manage the configuration yourself.
static_site_generator: next
- name: Restore cache
uses: actions/cache@v3
with:
path: |
.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Static HTML export with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next export
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./out

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

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

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

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

# node-waf configuration
.lock-wscript

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

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history
.next
out
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Smew Technology

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
5 changes: 5 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const nextConfig = {
trailingSlash: true
};

module.exports = nextConfig;
39 changes: 39 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "smewtech.com",
"version": "0.1.0",
"private": false,
"scripts": {
"dev": "next dev",
"clean": "next clear",
"build": "next build",
"start": "next start",
"lint": "next lint",
"export": "next export",
"deploy": "rm -rf node_modules/.cache && rimraf out && next build && next export && touch out/.nojekyll && gh-pages -d out -t true"
},
"dependencies": {
"@types/node": "20.4.2",
"@types/react": "18.2.15",
"aos": "^3.0.0-beta.6",
"bootstrap": "^5.3.1",
"eslint": "8.45.0",
"eslint-config-next": "13.4.10",
"firebase": "^10.1.0",
"jquery": "^3.7.0",
"next": "13.4.10",
"popper.js": "^1.16.1",
"postcss": "8.4.26",
"react": "18.2.0",
"react-dom": "18.2.0",
"tailwindcss": "3.3.3"
},
"devDependencies": {
"@types/aos": "^3.0.4",
"@types/bootstrap": "^5.2.6",
"@types/jquery": "^3.5.16",
"autoprefixer": "^10.4.14",
"dotenv": "^16.3.1",
"sass": "^1.63.6",
"typescript": "5.1.6"
}
}
5 changes: 5 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {},
},
}
Binary file added src/assets/images/Thumbs.db
Binary file not shown.
Binary file added src/assets/images/about-background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/about-dot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/about-image1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/about-image2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/about-imagecircle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/about-layer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/about-leftcircle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/about-rightcircle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/about-rightimage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/aboutus-image1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/aboutus-image2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/achievement-awardicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/achievement-clienticon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/achievement-projecticon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/achievement-teamicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/banner-background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/banner-circleleft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/banner-circleright.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/banner-dotleft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/banner-dotright.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/banner-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/banner-layerright.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/banner-line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/banner-vedioimage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/blog-arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/blog-image1.jpg
Binary file added src/assets/images/blog-image2.jpg
Binary file added src/assets/images/blog-image3.jpg
Binary file added src/assets/images/button-arrow.png
Binary file added src/assets/images/case-image1.png
Binary file added src/assets/images/case-image10.png
Binary file added src/assets/images/case-image2.png
Binary file added src/assets/images/case-image3.png
Binary file added src/assets/images/case-image4.png
Binary file added src/assets/images/case-image5.png
Binary file added src/assets/images/case-image6.png
Binary file added src/assets/images/case-image7.png
Binary file added src/assets/images/case-image8.png
Binary file added src/assets/images/case-image9.png
Binary file added src/assets/images/contact-email.png
Binary file added src/assets/images/contact-location.png
Binary file added src/assets/images/contact-phone.png
Binary file added src/assets/images/footer-callicon.png
Binary file added src/assets/images/footer-dotimage.png
Binary file added src/assets/images/footer-emailicon.png
Binary file added src/assets/images/footer-leftimage.png
Binary file added src/assets/images/footer-leftlayer.png
Binary file added src/assets/images/logo.png
Binary file added src/assets/images/nav-phoneimage.png
Binary file added src/assets/images/offer-bottomlayer.png
Binary file added src/assets/images/offer-circleimage.png
Binary file added src/assets/images/offer-icon1.png
Binary file added src/assets/images/offer-icon2.png
Binary file added src/assets/images/offer-icon3.png
Binary file added src/assets/images/offer-image1.jpg
Binary file added src/assets/images/offer-image2.jpg
Binary file added src/assets/images/offer-image3.jpg
Binary file added src/assets/images/offer-toplayer.png
Binary file added src/assets/images/post-featured.jpg
Binary file added src/assets/images/post-featured2.jpg
Binary file added src/assets/images/post-featured3.jpg
Binary file added src/assets/images/post-featured4.jpg
Binary file added src/assets/images/price-basicicon.png
Binary file added src/assets/images/price-goldicon.png
Binary file added src/assets/images/price-silvericon.png
Binary file added src/assets/images/review1.jpg
Binary file added src/assets/images/review2.jpg
Binary file added src/assets/images/service-dataicon.png
Binary file added src/assets/images/service-designicon.png
Binary file added src/assets/images/service-dotimage.png
Binary file added src/assets/images/service-leftlayer.png
Binary file added src/assets/images/service-marketicon.png
Binary file added src/assets/images/service-producticon.png
Binary file added src/assets/images/service-rightcircle.png
Binary file added src/assets/images/service-rightlayer.png
Binary file added src/assets/images/service-vedioicon.png
Binary file added src/assets/images/service-vedioimage.jpg
Binary file added src/assets/images/side_post_img01.jpg
Binary file added src/assets/images/side_post_img02.jpg
Binary file added src/assets/images/side_post_img03.jpg
Binary file added src/assets/images/side_post_img04.jpg
Binary file added src/assets/images/skill-image.jpg
Binary file added src/assets/images/standard_post_img01.jpg
Binary file added src/assets/images/standard_post_img02.jpg
Binary file added src/assets/images/standard_post_img03.jpg
Binary file added src/assets/images/standard_post_img04.jpg
Binary file added src/assets/images/standard_post_img05.jpg
Binary file added src/assets/images/standard_post_img06.jpg
Binary file added src/assets/images/sub-bannerbackground.jpg
Binary file added src/assets/images/sub-bannerbackground1.jpg
Binary file added src/assets/images/sub-bannerbackground2.jpg
Binary file added src/assets/images/sub-bannerbackground3.jpg
Binary file added src/assets/images/sub-bannerbackground4.jpg
Binary file added src/assets/images/sub-bannerbackground5.jpg
Binary file added src/assets/images/sub-bannerleftlayer.png
Binary file added src/assets/images/sub-bannerrightlayer.png
Binary file added src/assets/images/team-image1.jpg
Binary file added src/assets/images/team-image2.jpg
Binary file added src/assets/images/team-image3.jpg
Binary file added src/assets/images/team-image4.jpg
Binary file added src/assets/images/teampage-image1.jpg
Binary file added src/assets/images/teampage-image2.jpg
Binary file added src/assets/images/teampage-image3.jpg
Binary file added src/assets/images/teampage-image4.jpg
Binary file added src/assets/images/teampage-image5.jpg
Binary file added src/assets/images/teampage-image6.jpg
Binary file added src/assets/images/testimonial-centerimage.png
Binary file added src/assets/images/testimonial-image1.png
Binary file added src/assets/images/testimonial-image2.png
Binary file added src/assets/images/testimonial-image3.png
Binary file added src/assets/images/testimonial-image4.png
Binary file added src/assets/images/testimonial-leftarrow.png
Binary file added src/assets/images/testimonial-quote.png
Binary file added src/assets/images/testimonial-rightarrow.png
5 changes: 5 additions & 0 deletions src/assets/js/animation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
AOS.init({
duration: 1000,
offset: 120,
easing: 'ease-in-out'
})
Loading

0 comments on commit c333ebb

Please sign in to comment.