From 3a9e8453284f8b7af11564ea28390c052f242b76 Mon Sep 17 00:00:00 2001 From: Bhushan Khanale Date: Fri, 6 Sep 2024 21:50:49 +0530 Subject: [PATCH] :tada: Move website to plain HTML + Tailwind --- .eslintrc.js | 24 - .gitignore | 155 +- .prettierrc | 6 - .vscode/settings.json | 4 + components/IconLink/index.js | 21 - components/Layout/index.js | 44 - components/NavBar/index.js | 60 - package-lock.json | 20152 --------------------------------- package.json | 35 - pages/_app.js | 11 - pages/about.js | 35 - pages/index.js | 64 - postcss.config.js | 18 - public/favicon.ico | Bin 4286 -> 0 bytes public/images/profile.jpeg | Bin 20932 -> 0 bytes public/vercel.svg | 4 - src/images/profile-photo.png | Bin 0 -> 2416858 bytes src/index.html | 35 + tailwind.config.js | 3 - 19 files changed, 172 insertions(+), 20499 deletions(-) delete mode 100644 .eslintrc.js delete mode 100644 .prettierrc create mode 100644 .vscode/settings.json delete mode 100644 components/IconLink/index.js delete mode 100644 components/Layout/index.js delete mode 100644 components/NavBar/index.js delete mode 100644 package-lock.json delete mode 100644 package.json delete mode 100644 pages/_app.js delete mode 100644 pages/about.js delete mode 100644 pages/index.js delete mode 100644 postcss.config.js delete mode 100644 public/favicon.ico delete mode 100644 public/images/profile.jpeg delete mode 100644 public/vercel.svg create mode 100644 src/images/profile-photo.png create mode 100644 src/index.html delete mode 100644 tailwind.config.js diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index de5e3c8..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,24 +0,0 @@ -module.exports = { - env: { - browser: true, - es2021: true, - }, - extends: [ - 'plugin:react/recommended', - 'airbnb', - 'plugin:prettier/recommended', - 'prettier/react', - ], - parserOptions: { - ecmaFeatures: { - jsx: true, - }, - ecmaVersion: 12, - sourceType: 'module', - }, - plugins: ['react'], - rules: { - 'react/react-in-jsx-scope': 'off', - 'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }], - }, -}; diff --git a/.gitignore b/.gitignore index c4468ab..3502ef7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,33 +1,144 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. +# Created by https://www.toptal.com/developers/gitignore/api/node +# Edit at https://www.toptal.com/developers/gitignore?templates=node -# dependencies -/node_modules -/.pnp -.pnp.js +### Node ### +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* -# testing -/coverage +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json -# next.js -/.next/ -/out/ +# Runtime data +pids +*.pid +*.seed +*.pid.lock -# production -/build +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov -# misc -.DS_Store +# Coverage directory used by tools like istanbul +coverage +*.lcov -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* +# nyc test coverage +.nyc_output -# local env files -.env.local +# 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 + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# 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 + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env .env.development.local .env.test.local .env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +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 + +# vuepress v2.x temp and cache directory +.temp + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +### Node Patch ### +# Serverless Webpack directories +.webpack/ + +# Optional stylelint cache + +# SvelteKit build / generate output +.svelte-kit -# VS Code -.vscode/ +# End of https://www.toptal.com/developers/gitignore/api/node diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 17a99e4..0000000 --- a/.prettierrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "semi": true, - "singleQuote": true, - "tabWidth": 2, - "useTabs": false -} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9bf4d12 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true +} diff --git a/components/IconLink/index.js b/components/IconLink/index.js deleted file mode 100644 index c3b1d53..0000000 --- a/components/IconLink/index.js +++ /dev/null @@ -1,21 +0,0 @@ -import PropTypes from 'prop-types'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; - -const IconLink = ({ icon, link, className }) => { - return ( -
- - - -
- ); -}; - -IconLink.propTypes = { - // eslint-disable-next-line react/forbid-prop-types - icon: PropTypes.any.isRequired, - link: PropTypes.string.isRequired, - className: PropTypes.string.isRequired, -}; - -export default IconLink; diff --git a/components/Layout/index.js b/components/Layout/index.js deleted file mode 100644 index 013983b..0000000 --- a/components/Layout/index.js +++ /dev/null @@ -1,44 +0,0 @@ -import Head from 'next/head'; -import PropTypes from 'prop-types'; -import IconLink from '../IconLink'; -import NavBar from '../NavBar'; - -const Layout = ({ children }) => { - return ( -
- - Bhushan Khanale - - + + +
+ +
+ +
+ Bhushan Khanale's profile picture +

Bhushan Khanale

+ +
+ + diff --git a/tailwind.config.js b/tailwind.config.js deleted file mode 100644 index 22afe02..0000000 --- a/tailwind.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - purge: ['./pages/**/*.js', './components/**/*.js'], -};