Skip to content

Commit

Permalink
feat: add umami and minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
avneesh0612 committed Apr 3, 2022
1 parent 18308d1 commit f67a668
Show file tree
Hide file tree
Showing 28 changed files with 722 additions and 458 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
custom: ["blog.avneesh.tech/sponsor", "https://sponsor.avneesh.tech/"]
custom: ["blog.avneesh.tech/sponsor", "https://sponsor.avneesh.tech/"]
62 changes: 15 additions & 47 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,25 @@
name: 🐛Bug Report
description: File a bug report
name: 🐛 Bug
description: Report an issue to help improve the project.
labels: ["bug"]
body:
- type: textarea
id: bug-description
id: description
attributes:
label: Describe the Bug
placeholder: A clear and concise description of what the bug is.
validation:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
placeholder: |
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validation:
required: true
- type: textarea
id: expected-behaviour
attributes:
label: Expected Behaviour
placeholder: A clear and concise description of what you expected to happen.
validation:
label: Description
description: A brief description of the question or issue, also include what you tried and what didn't work
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
placeholder: If applicable, add screenshots to help explain your problem. Highlight this area and drag and drop any file to attach it.
- type: textarea
id: desktop
attributes:
label: Desktop (please complete the following information):
value: |
- OS [e.g. iOS]:
- Browser [e.g. chrome, safari]:
- Version [e.g. 22]:
- type: textarea
id: smartphone
attributes:
label: Smartphone (please complete the following information):
value: |
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
description: Please add screenshots if applicable
validations:
required: false
- type: textarea
id: additional-context
id: extrainfo
attributes:
label: Additional Context
placeholder: Add any other context about the problem here.

label: Additional information
description: Is there anything else we should know about this bug?
validations:
required: false
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ body:
attributes:
label: Is your feature request related to a problem? Please describe.
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validation:
validation:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
placeholder: A clear and concise description of what you want to happen.
validation:
validation:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
placeholder: A clear and concise description of any alternative solutions or features you've considered.
validation:
validation:
required: true
- type: textarea
id: additional-context
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.next
23 changes: 12 additions & 11 deletions .versionrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
module.exports = {
types: [
{ type: "feat", "section": "Features" },
{ type: "fix", "section": "Bug Fixes" },
{ type: "chore", "hidden": true },
{ type: "docs", "hidden": true },
{ type: "style", "hidden": true },
{ type: "refactor", "hidden": true },
{ type: "perf", "hidden": true },
{ type: "test", "hidden": true }
{ type: "feat", section: "Features" },
{ type: "fix", section: "Bug Fixes" },
{ type: "chore", hidden: true },
{ type: "docs", hidden: true },
{ type: "style", hidden: true },
{ type: "refactor", hidden: true },
{ type: "perf", hidden: true },
{ type: "test", hidden: true },
],
"commitUrlFormat": "https://github.com/avneesh0612/Portoflio/commits/{{hash}}",
"compareUrlFormat": "https://github.com/avneesh0612/Portoflio/compare/{{previousTag}}...{{currentTag}}"
}
commitUrlFormat: "https://github.com/avneesh0612/Portoflio/commits/{{hash}}",
compareUrlFormat:
"https://github.com/avneesh0612/Portoflio/compare/{{previousTag}}...{{currentTag}}",
};
36 changes: 9 additions & 27 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,39 @@
# [1.5.0](https://github.com/avneesh0612/portfolio/compare/v1.4.2...v1.5.0) (2022-02-08)


### Bug Fixes

* build and use link ([e8fc196](https://github.com/avneesh0612/portfolio/commit/e8fc1965d0f7d77fec6aecd0f0e8b8e8791f9312))
* typo ([3ea1146](https://github.com/avneesh0612/portfolio/commit/3ea11468f2aa841de16712e253a03c941ae77f85))
* use router instead of a tag ([d554049](https://github.com/avneesh0612/portfolio/commit/d554049f05bae4cde300afa6d152f7b39f45adeb))

- build and use link ([e8fc196](https://github.com/avneesh0612/portfolio/commit/e8fc1965d0f7d77fec6aecd0f0e8b8e8791f9312))
- typo ([3ea1146](https://github.com/avneesh0612/portfolio/commit/3ea11468f2aa841de16712e253a03c941ae77f85))
- use router instead of a tag ([d554049](https://github.com/avneesh0612/portfolio/commit/d554049f05bae4cde300afa6d152f7b39f45adeb))

### Features

* changes on the 404 page ([eefac78](https://github.com/avneesh0612/portfolio/commit/eefac7857de018db1906f82d7cc1aef7204490bd))


- changes on the 404 page ([eefac78](https://github.com/avneesh0612/portfolio/commit/eefac7857de018db1906f82d7cc1aef7204490bd))

## [1.4.2](https://github.com/avneesh0612/portfolio/compare/v1.4.1...v1.4.2) (2022-01-30)


### Bug Fixes

* add node types ([a77de92](https://github.com/avneesh0612/portfolio/commit/a77de92b4e04b87a2f5bc51d6c1c11a861716065))


- add node types ([a77de92](https://github.com/avneesh0612/portfolio/commit/a77de92b4e04b87a2f5bc51d6c1c11a861716065))

## [1.4.1](https://github.com/avneesh0612/portfolio/compare/v1.4.0...v1.4.1) (2022-01-22)


### Bug Fixes

* og image ([117e68d](https://github.com/avneesh0612/portfolio/commit/117e68d7449a4f8bf1bf0bcd294b4dfa4b987b8a))


- og image ([117e68d](https://github.com/avneesh0612/portfolio/commit/117e68d7449a4f8bf1bf0bcd294b4dfa4b987b8a))

# [1.4.0](https://github.com/avneesh0612/portfolio/compare/v1.3.0...v1.4.0) (2022-01-16)


### Bug Fixes

* formatting ([d53e93c](https://github.com/avneesh0612/portfolio/commit/d53e93c61261d9b5b1d2ca7942ff27f7bf08dba7))

- formatting ([d53e93c](https://github.com/avneesh0612/portfolio/commit/d53e93c61261d9b5b1d2ca7942ff27f7bf08dba7))

### Features

* minor refactors, and improve via feedback ([b05cc88](https://github.com/avneesh0612/portfolio/commit/b05cc88a0f9dae698038db9587c49b23d91caf74))


- minor refactors, and improve via feedback ([b05cc88](https://github.com/avneesh0612/portfolio/commit/b05cc88a0f9dae698038db9587c49b23d91caf74))

# [1.3.0](https://github.com/avneesh0612/portfolio/compare/v1.2.2...v1.3.0) (2022-01-14)


### Features

* added google analytics ([ce861ad](https://github.com/avneesh0612/portfolio/commit/ce861ada8b76474979fd5fb866bee55d7b9acc7f))



- added google analytics ([ce861ad](https://github.com/avneesh0612/portfolio/commit/ce861ada8b76474979fd5fb866bee55d7b9acc7f))
22 changes: 11 additions & 11 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
- Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
- The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities
Expand Down Expand Up @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
![Avneesh's portfolio banner](https://user-images.githubusercontent.com/76690419/149654118-3cc524c0-9772-4eb0-a86f-e1d2e532abcb.png)



### 🏠 [Homepage](https://www.avneesh.tech/)

### [Demo](https://www.avneesh.tech/)

## Using the template

To use this template follow the instructions given in [Using guide](https://github.com/avneesh0612/portfolio/blob/main/USING.md).

## Author
Expand Down
6 changes: 3 additions & 3 deletions USING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ Click on Use this template

Now give your repository a name and you can give some additional details if you want.


![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1631618260606/8ElFhJMQT.png)


### Running the template

- Clone the repository youhave been redirected to by

```
```
git clone url
```

Expand All @@ -25,12 +23,14 @@ npm install # npm
```

- Starting the server

```
npm run dev # yarn
yarn dev # npm
```

## Making changes

To add your details go to the data.json file in the public folder and replace my data with yours.

To customize the colors go to `tailwind.config.js` and replace the existing colors with your brand colors.
Expand Down
4 changes: 2 additions & 2 deletions components/About.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Image from "next/image";
import React from "react";
import data from "../public/data.json";
import Title from "./Title";
import Image from "next/image";
import React from "react";

const About = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion components/Blog.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FC } from "react";
import { PostType } from "../types/PostType";
import Post from "./Post";
import Title from "./Title";
import { FC } from "react";

interface Props {
Posts: [PostType];
Expand Down
6 changes: 3 additions & 3 deletions components/Contact.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Image from "next/image";
import React from "react";
import ContactButtons from "./ContactButtons";
import data from "../public/data.json";
import ContactButtons from "./ContactButtons";
import { LineSvg } from "./icons";
import Image from "next/image";
import React from "react";

const Contact = () => {
return (
Expand Down
6 changes: 3 additions & 3 deletions components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useDimensions } from "../hooks/useDimensions";
import Logo from "./Logo";
import { MenuToggle, Navigation } from "./header";
import { motion, useCycle } from "framer-motion";
import Image from "next/image";
import { useEffect, useRef, useState } from "react";
import { Link } from "react-scroll";
import { useDimensions } from "../hooks/useDimensions";
import Logo from "./Logo";
import { MenuToggle, Navigation } from "./header";

const sidebar = {
open: (height = 1000) => ({
Expand Down
2 changes: 1 addition & 1 deletion components/Intro.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import data from "../public/data.json";
import { motion } from "framer-motion";
import React from "react";
import { Link } from "react-scroll";
import data from "../public/data.json";

const Intro = () => {
return (
Expand Down
4 changes: 2 additions & 2 deletions components/Post.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Image from "next/image";
import { FC } from "react";
import { PostType } from "../types/PostType";
import { CommentIcon, LikeIcon } from "./icons";
import Image from "next/image";
import { FC } from "react";

interface Props {
post: PostType;
Expand Down
6 changes: 3 additions & 3 deletions components/Projects.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Image from "next/image";
import React from "react";
import data from "../public/data.json";
import { GitHubIcon, VisitIcon } from "./icons";
import Title from "./Title";
import { GitHubIcon, VisitIcon } from "./icons";
import Image from "next/image";
import React from "react";

const Projects = () => {
return (
Expand Down
4 changes: 2 additions & 2 deletions components/Skills.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { motion } from "framer-motion";
import Image from "next/image";
import data from "../public/data.json";
import Title from "./Title";
import { motion } from "framer-motion";
import Image from "next/image";

const Skills = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion components/Testimonials.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Title from "./Title";
import data from "../public/data.json";
import Title from "./Title";
import Image from "next/image";

const Testimonials = () => {
Expand Down
2 changes: 1 addition & 1 deletion components/Title.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FC } from "react";
import { LineSvg } from "./icons";
import { FC } from "react";

interface TitleProps {
num: number;
Expand Down
2 changes: 1 addition & 1 deletion components/header/MenuItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { motion } from "framer-motion";
import * as React from "react";
import { Link } from "react-scroll";
import { FC } from "react";
import { Link } from "react-scroll";

const variants = {
open: {
Expand Down
Loading

1 comment on commit f67a668

@vercel
Copy link

@vercel vercel bot commented on f67a668 Apr 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.