This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Cookies from 'js-cookie'; | |
// Referral cookie name | |
const REFERRAL_COOKIE_NAME = 'indiekit_referrals'; | |
// Cookie expiration days (45 days) | |
const COOKIE_EXPIRY_DAYS = 45; | |
// Max referrals to store | |
const MAX_REFERRALS = 5; | |
interface ReferralEntry { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use client"; | |
import React, { useRef, useState } from "react"; | |
import { Input } from "@/components/ui/input"; | |
import { Label } from "@/components/ui/label"; | |
import { | |
Card, | |
CardContent, | |
CardDescription, | |
CardFooter, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Metadata } from "next"; | |
import { Element, Text, htmlToDOM } from 'html-react-parser'; | |
import { OpenGraph } from "next/dist/lib/metadata/types/opengraph-types"; | |
import { Twitter } from "next/dist/lib/metadata/types/twitter-types"; | |
/** | |
Example Metadata | |
<meta name="description" content="Create a professional-looking salary slip for your employees starting this month! Learn all about the important details of a salary slip and the format."/> | |
<meta name="robots" content="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large"/> | |
<link rel="canonical" href="https://esahayak.io/blog/salary-slips-templates-download-formats-excel-pdf/" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from bs4 import BeautifulSoup | |
import codecs | |
import threading | |
page = "" | |
f = codecs.open("RERA_PUNJAB_LIST.html","r") | |
page = f.read() | |
soup = BeautifulSoup(page, 'html.parser') |