Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #66 - Constants to data #71

Merged
merged 6 commits into from
Jun 22, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { Box, Typography } from '@mui/material'
import { useRouter } from 'next/router'
import { footerData } from '../../constants/constants'
import { footerData } from '../../constants/data'

const Footer = () => {
const router = useRouter()
Expand Down
2 changes: 1 addition & 1 deletion components/header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Image from 'next/image'
import React from 'react'
import logoImg from '../../public/images/logo.png'
import MenuIcon from '@mui/icons-material/Menu'
import { pages } from '../../constants/constants'
import { pages } from '../../constants/data'
import { useRouter } from 'next/router'
import Link from 'next/link'
import Head from 'next/head'
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pages/careers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
FormControlLabel,
Checkbox,
} from '@mui/material'
import { careersData } from '../constants/constants'
import { careersData } from '../constants/data'

const careers = () => {
const { title, heading, buttonText } = careersData
Expand Down
2 changes: 1 addition & 1 deletion pages/contact-us.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Box, Typography, Container, Grid, Stack } from '@mui/material'
import FacebookRoundedIcon from '@mui/icons-material/FacebookRounded'
import LinkedInIcon from '@mui/icons-material/LinkedIn'
import GitHubIcon from '@mui/icons-material/GitHub'
import { contactUs } from '../constants/constants'
import { contactUs } from '../constants/data'

const ContactUs = () => {
const { title, heading, description, contactInfo } = contactUs
Expand Down
3 changes: 2 additions & 1 deletion pages/devops.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { devOps } from '../constants/constants'
import Head from 'next/head'
import { devOps } from '../constants/data'
import Header from '../components/header/Header'
import devOpsAsService from '../public/images/devOpsAsService.png'
import { Container, Stack, Box, Typography, Divider } from '@mui/material'
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
Grid,
Button,
} from '@mui/material'
import { homeData, services, servicesHeading } from '../constants/constants'
import { homeData, services, servicesHeading } from '../constants/data'
import { useRouter } from 'next/router'

export default function Home() {
Expand Down
4 changes: 3 additions & 1 deletion pages/mobile-application-development.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React from 'react'
import { mobileAppDevelopment } from '../constants/constants'
import Head from 'next/head'
import { mobileAppDevelopment } from '../constants/data'

import Header from '../components/header/Header'
import mobileAppImg from '../public/images/wordpress Development-01.png'
import mobileAppBgImg from '../public/images/mobileDev.jpg'
Expand Down
4 changes: 2 additions & 2 deletions pages/portfolio.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'
import Header from '../components/header/Header'
import homePageBg from '../public/images/homePageBg.png'
import { Box, Typography, Container, Grid, Divider } from '@mui/material'
import { portfolioData } from '../constants/constants'
import { portfolioData } from '../constants/data'

import ProjectCard from '../components/ProjectCard/ProjectCard'

const portfolio = () => {
Expand Down
4 changes: 3 additions & 1 deletion pages/progressive-web-application.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React from 'react'
import { progressiveWebApp } from '../constants/constants'
import Head from 'next/head'
import { progressiveWebApp } from '../constants/data'

import Header from '../components/header/Header'
import pwaBgImg from '../public/images/wordpress.jpg'
import { Container, Stack, Box, Typography, Divider } from '@mui/material'
Expand Down
2 changes: 1 addition & 1 deletion pages/python-programming.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import Header from '../components/header/Header'
import { pythonProgramming } from '../constants/constants'
import { pythonProgramming } from '../constants/data'
import { Container, Stack, Box, Typography, Divider } from '@mui/material'
import Image from 'next/image'
import pythonBgImg from '../public/images/python.jpg'
Expand Down
3 changes: 2 additions & 1 deletion pages/react-development.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { reactDevelopment } from '../constants/constants'
import Head from 'next/head'
import { reactDevelopment } from '../constants/data'
import Header from '../components/header/Header'
import reactBgImg from '../public/images/reactjs.jpg'
import reactImg from '../public/images/React.png'
Expand Down
3 changes: 2 additions & 1 deletion pages/scraping.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { scrapingData } from '../constants/constants'
import { scrapingData } from '../constants/data'
import Head from 'next/head'
import Header from '../components/header/Header'
import scrapingImage from '../public/images/scraping.jpg'
import webScrapingImage from '../public/images/wordpress Development-01.png'
Expand Down
2 changes: 1 addition & 1 deletion pages/web-development.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import Header from '../components/header/Header'
import { Container, Stack, Box, Typography, Divider } from '@mui/material'
import { webDevelopment } from '../constants/constants'
import { webDevelopment } from '../constants/data'
import WebDevelopmentImage from '../public/images/web-development.png'
import webDevelopmentBgImg from '../public/images/webDevelopment.jpg'
import Image from 'next/image'
Expand Down
3 changes: 2 additions & 1 deletion pages/wordpress-development.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { wordPressDevelopment } from '../constants/constants'
import Head from 'next/head'
import { wordPressDevelopment } from '../constants/data'
import Header from '../components/header/Header'
import WordPressBgImage from '../public/images/wall1.jpg'
import WordPressImage from '../public/images/wordpress Development-01.png'
Expand Down