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
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
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
{% 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Means-CRM</title> | |
{% load static %} | |
<link rel="icon"href="{% static 'favicon.ico' %}"> | |
<link | |
href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" |
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
INSTALLED_APPS = [ | |
'whitenoise.runserver_nostatic', | |
'django.contrib.admin', | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.messages', | |
'django.contrib.staticfiles', | |
'leads' | |
] |
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
. | |
βββ djcrm | |
β βββ __pycache__ | |
β β βββ __init__.cpython-39.pyc | |
β β βββ settings.cpython-39.pyc | |
β β βββ urls.cpython-39.pyc | |
β β βββ wsgi.cpython-39.pyc | |
β βββ __init__.py | |
β βββ asgi.py | |
β βββ settings.py |
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
from django.contrib.staticfiles.storage import staticfiles_storage | |
from django.views.generic.base import RedirectView | |
from django.contrib import admin | |
from django.urls import path, include | |
from leads.views import landing_page | |
def trigger_error(request): | |
division_by_zero = 1 / 0 |
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
""" | |
Django settings for djcrm project. | |
Generated by 'django-admin startproject' using Django 3.1.4. | |
For more information on this file, see | |
https://docs.djangoproject.com/en/3.1/topics/settings/ | |
For the full list of settings and their values, see | |
https://docs.djangoproject.com/en/3.1/ref/settings/ |