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
{% extends "base.html" %} {% block content %} | |
<section class="text-gray-600 body-font"> | |
<div | |
class="container mx-auto flex px-5 py-24 items-center justify-center flex-col" | |
> | |
<img | |
class="lg:w-2/6 md:w-3/6 w-5/6 mb-10 object-cover object-center rounded" | |
alt="hero" | |
src="https://dummyimage.com/720x600" | |
/> |
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
leads | |
. | |
├── __pycache__ | |
│ ├── __init__.cpython-39.pyc | |
│ ├── admin.cpython-39.pyc | |
│ ├── forms.cpython-39.pyc | |
│ ├── models.cpython-39.pyc | |
│ ├── urls.cpython-39.pyc | |
│ └── views.cpython-39.pyc | |
├── migrations |
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 React from 'react'; | |
import { useRouter } from 'next/router'; | |
import Nav from './Nav'; | |
import Header from './Header'; | |
import Footer from './Footer'; | |
const Layout = ({ children }) => { | |
const router = useRouter(); |
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
document.onscroll = function() { | |
if (window.innerHeight + window.scrollY > document.body.clientHeight) { | |
document.getElementById('means__social__th').style.display='none'; | |
} | |
if (document.getElementById('means__social__th') && \ | |
window.innerHeight + window.scrollY < document.body.clientHeight) \ | |
{ | |
document.getElementById('means__social__th').style.display='block'; | |
} | |
} |
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
document.onscroll = function () { | |
var e = window, | |
a = 'inner'; | |
var viewportWidth; | |
var viewportHeight; | |
if (!('innerWidth' in window)) { | |
a = 'client'; | |
e = document.documentElement || document.body; | |
} | |
viewportWidth = { width: e[a + 'Width'] }; |
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
document.addEventListener('DOMContentLoaded', () => { | |
var myOpacity = 0; | |
var readMeter = document.getElementsByClassName('bsf-rt-display-label')[0]; | |
var readUnit = document.getElementsByClassName('bsf-rt-display-postfix')[0]; | |
var readColor = document.getElementsByClassName('bsf-rt-reading-time')[0]; | |
function MyFadeFunction() { | |
if (myOpacity < 1) { | |
myOpacity += 0.075; | |
setTimeout(function () { |
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
module.exports = { | |
testPathIgnorePatterns: ['<rootDir>/.next/', '<rootDir>/node_modules/'], | |
setupFilesAfterEnv: ['<rootDir>/setupTests.js'], | |
transform: { | |
'^.+\\.(js|jsx|ts|tsx)$': '<rootDir>/node_modules/babel-jest', | |
'\\.(css|less|scss|sass)$': 'identity-obj-proxy', | |
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': | |
'<rootDir>/fileTransformer.js', | |
}, | |
}; |
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 '@testing-library/jest-dom/extend-expect'; |
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
const path = require('path'); | |
module.exports = { | |
process(src, filename, config, options) { | |
return 'module.exports = ' + JSON.stringify(path.basename(filename)) + ';'; | |
}, | |
}; |
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
const fs = require('fs'); | |
const multer = require('multer'); | |
const express = require('express'); | |
let MongoClient = require('mongodb').MongoClient; | |
let url = 'mongodb://localhost:27017/'; | |
const excelToJson = require('convert-excel-to-json'); | |
const app = express(); |