Skip to content

Commit

Permalink
Resolved Merge conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Aviral Asthana <[email protected]>
  • Loading branch information
Aviral0702 committed Sep 24, 2024
2 parents 178be1c + 26d5a03 commit 91c5649
Show file tree
Hide file tree
Showing 126 changed files with 743 additions and 1,419 deletions.
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/sistent_feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: πŸš€ Enhancement in Sistent Project
about: Propose a new feature, suggest a component, or report an issue for Sistent.
title: '[Sistent]'
labels: 'project/sistent, kind/enhancement'
assignees: ''
---
### Current Behavior
<!-- A brief description of what the problem is. (e.g. I need to be able to...) -->

### Desired Behavior
<!-- A brief description of the enhancement. -->

### Screenshots / Mockups
<!-- Add any other context or screenshots about the feature request here. -->

### Implementation
<!-- Specifics on the approach to fulfilling the feature request. -->

---
<img src="https://raw.githubusercontent.com/layer5io/layer5/master/.github/assets/images/layer5/5-light-small.svg" width="24px" align="left" /><h2>Contributor Resources and <a href="https://layer5.io/community/handbook">Handbook</a></h2>

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the [`master` branch](https://github.com/layer5io/layer5/tree/master).
- 🎨 See [Sistent Repository](https://github.com/layer5io/sistent).
- πŸ“š See [contributing instructions](https://github.com/layer5io/layer5/blob/master/CONTRIBUTING.md).
- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9)
- πŸ™‹πŸΎπŸ™‹πŸΌ Questions: [Discussion Forum](https://discuss.layer5.io) and [Community Slack](https://slack.layer5.io).

<img src="https://raw.githubusercontent.com/layer5io/layer5/master/.github/assets/images/buttons/community.webp" height="22px" align="left" />Join the Layer5 Community by submitting your [community member form](https://layer5.io/newcomer).
12 changes: 12 additions & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import "./fonts.css";
import posthog from "posthog-js";

document.addEventListener("DOMContentLoaded", () => {
/** init gtm after 3500 seconds - this could be adjusted */
Expand Down Expand Up @@ -28,5 +29,16 @@ function initGTM() {
document.head.appendChild(script);
}

export const onClientEntry = () => {
if (process.env.NODE_ENV === "production") {
posthog.init("phc_Yynjz2lAiQDJFqTWeGT0FJrt50hl53WBx8do3eKImgX",
{
api_host: "https://us.i.posthog.com",
person_profiles: "always",
}
);
}
};

export { wrapRootElement } from "./root-wrapper";
export { wrapPageElement } from "./page-wrapper";
Loading

0 comments on commit 91c5649

Please sign in to comment.