Skip to content

Commit

Permalink
hot fix : allow http traffic
Browse files Browse the repository at this point in the history
  • Loading branch information
harshjohar committed Jan 22, 2024
1 parent f8edbeb commit 3a57f38
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
43 changes: 43 additions & 0 deletions components/layout/DashboardLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Banner from "../banner/Banner";
import { Sidebar } from "../dashboard/Sidebar";
import NoSSRWrapper from "../common/NoSSRWrapper";
import Script from "next/script";
import { Common } from "../../constants/common";

type Props = {
title: string;
Expand All @@ -19,6 +20,48 @@ function DashboardLayout({ title, children, description, heading }: Props) {
<Head>
<title>{title}</title>
<meta name="description" content={description} />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"></meta>
<link rel="icon" href="/assets/logos/acm.png"/>
<meta name="author" content="PEC ACM CSS" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name='application-name' content='PEC CSS | ACM at PEC' />
<meta name='apple-mobile-web-app-capable' content='yes' />
<meta name='apple-mobile-web-app-status-bar-style' content='default' />
<meta name='apple-mobile-web-app-title' content={title} />
<meta name='format-detection' content='telephone=no' />
<meta name='mobile-web-app-capable' content='yes' />
<meta name='msapplication-config' content='/assets/icons/browserconfig.xml' />
<meta name='msapplication-TileColor' content='#0075FF' />
<meta name='msapplication-tap-highlight' content='no' />
<meta name='theme-color' content={Common.primaryColor} />

<link rel='apple-touch-icon' href='/assets/icons/apple-touch-icon.png' />
<link rel='apple-touch-icon' sizes='152x152' href='/assets/icons/apple-touch-icon.png' />
<link rel='apple-touch-icon' sizes='180x180' href='/assets/icons/apple-touch-icon.png' />
<link rel='apple-touch-icon' sizes='167x167' href='/assets/icons/apple-touch-icon.png' />

<link rel='icon' type='image/png' sizes='32x32' href='/assets/icons/favicon-32x32.png' />
<link rel='icon' type='image/png' sizes='16x16' href='/assets/icons/favicon-16x16.png' />
<link rel='manifest' href='/manifest.json' />
<link rel='mask-icon' href='/assets/icons/safari-pinned-tab.svg' color='#0075FF' />
<link rel='shortcut icon' href='/assets/icons/favicon.ico' />
<link rel='canonical' href='https://www.pecacm.com/' />

<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.pecacm.com/" />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content="https://www.pecacm.com/assets/logos/acm.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:height" content="350" />
<meta property="og:image:width" content="350" />
<meta property='og:site_name' content='PEC CSS | ACM at PEC' />

<meta name="keywords" content="pecacm, acmcss, punjab engineering college, pec, pec cse, pec chandigarh, saasc, scc, drams, peb, eeb, heb, Technical Society of PEC, Coding Club of PEC, ai, cp, dev, socials, wit, cyber, punjabi editorial board pec, pecfest, iit chandigarh, iitc, chandigarh, pwoc, ideathon, codebattle, hackathons, codeblooded, kaggle, tips and tricks" />

{/* TODO : Verification pending */}
<meta name="google-site-verification" content="wJCASasAYLy_hM-ndSessna54e0JH7VCzmg5asx1aFc" />
</Head>
<Script src="https://www.googletagmanager.com/gtag/js?id=G-5647L00T6L" />
<Script id="google-analytics">
Expand Down
2 changes: 2 additions & 0 deletions components/layout/PageLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ function PageLayout({title, children, description, heading, bannerColor, footerC

{/* TODO : Verification pending */}
<meta name="google-site-verification" content="wJCASasAYLy_hM-ndSessna54e0JH7VCzmg5asx1aFc" />

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"/>
</Head>
<Script src="https://www.googletagmanager.com/gtag/js?id=G-5647L00T6L" />
<Script id="google-analytics">
Expand Down

0 comments on commit 3a57f38

Please sign in to comment.