Skip to content

Commit

Permalink
Added Meta desc, social meta tags, contact link, GA
Browse files Browse the repository at this point in the history
  • Loading branch information
VishalJangid123 committed Jan 8, 2024
1 parent a5ed5bb commit f4fcbed
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pages/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"contact": {
"title": "Contact ↗",
"type": "page",
"href": "",
"href": "mailto:vishaljangid1@outlook.com",
"newWindow": true
}
}
9 changes: 9 additions & 0 deletions pages/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
type: page
title: ImageSwift
description: ImageSwift is a versatile Unity library that simplifies the process of loading and downloading images in Unity projects. It offers an easy-to-use API for handling image operations.
tags:
- texture
- unity2d
- imageswift
---
# ImageSwift Documentation

## Overview
Expand Down
5 changes: 5 additions & 0 deletions public/ga.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-MLE4PNXL6G');
Binary file added public/icons/android-chrome-192x192.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 public/icons/android-chrome-512x512.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 public/icons/apple-touch-icon.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 public/icons/favicon-16x16.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 public/icons/favicon-32x32.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 public/icons/favicon.ico
Binary file not shown.
28 changes: 28 additions & 0 deletions theme.config.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import React from 'react'
import { DocsThemeConfig } from 'nextra-theme-docs'
import { useRouter } from 'next/router'
import Script from 'next/script'

const config: DocsThemeConfig = {

logo: <span>ImageSwift</span>,
project: {
link: 'https://github.com/VishalJangid123',
Expand All @@ -14,7 +16,33 @@ const config: DocsThemeConfig = {
footer: {
text: 'ImageSwift',
},
editLink : { text :""},
feedback : {content : ""},

head: () => { return (<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Optimize Unity visuals effortlessly! ImageSwift offers dynamic image manipulation, creative effects, and seamless integration for a polished user experience. Elevate your Unity projects with ease. #UnityImageProcessing #GameDev #GraphicsTools #ImageSwift" />
<meta name="og:title" content="ImageSwift for Unity Image Processing and Texture Customization" />
<meta property="og:image" content="https://vishaljangid123.github.io/portfolio//Images/ImageSwift_cover.png" />

<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://vishaljangid123.github.io/imageswift-docs/" />
<meta property="twitter:title" content="ImageSwift for Unity Image Processing and Texture Customization" />
<meta property="twitter:description" content="Optimize Unity visuals effortlessly! ImageSwift offers dynamic image manipulation, creative effects, and seamless integration for a polished user experience. Elevate your Unity projects with ease. #UnityImageProcessing #GameDev #GraphicsTools #ImageSwift" />
<meta property="twitter:image" content="https://vishaljangid123.github.io/portfolio//Images/ImageSwift_cover.png" />

<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon.ico" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MLE4PNXL6G"></script>
<script src="/ga.js"></script>


</>
)}


,
useNextSeoProps() {
const { asPath } = useRouter()
if (asPath !== '/') {
Expand Down

0 comments on commit f4fcbed

Please sign in to comment.