Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(base): add netlify identity #9

Merged
merged 1 commit into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
2,154 changes: 2,153 additions & 1 deletion _site/css/styles.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/posts/2023/02/finally-settled-with-11ty/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/posts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
10 changes: 5 additions & 5 deletions _site/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@
<lastmod>2023-02-28</lastmod>
</url>

<url>
<loc>https://mmdsharifi.com/about/</loc>
<lastmod>2023-03-08</lastmod>
</url>

<url>
<loc>https://mmdsharifi.com/</loc>
<lastmod>2023-03-08</lastmod>
Expand Down Expand Up @@ -100,4 +95,9 @@
<loc>https://mmdsharifi.com/works/</loc>
<lastmod>2023-03-08</lastmod>
</url>

<url>
<loc>https://mmdsharifi.com/about/</loc>
<lastmod>2023-03-08</lastmod>
</url>
</urlset>
4 changes: 2 additions & 2 deletions _site/tags/SSG/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/tags/Web Development/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/tags/WordPress/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/tags/all/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/tags/graphic design/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/tags/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/tags/tagList/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/tags/web design/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/works/envato-marketplaces-logo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/works/evercondo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/works/flickevents/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/works/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/works/qbasis/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/works/setpay/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
4 changes: 2 additions & 2 deletions _site/works/tinder/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
<meta name="theme-color" content="#ffffff">

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5EMZYMHD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-XXXXXXXXXX');
gtag('config', 'G-P5EMZYMHD6');
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

Expand Down
6 changes: 3 additions & 3 deletions src/_layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
gtag('js', new Date());

gtag('config', 'G-P5EMZYMHD6');
{# </script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> #}
</script><script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>

<body
Expand All @@ -96,7 +96,7 @@ class="h-full text-black antialiased bg-gray-50 dark:bg-black dark:text-gray-200
{% block footer %}
{% include "../_components/_footer.njk" %}
{% endblock %}
{# <script>
<script>
if (window.netlifyIdentity) {
window.netlifyIdentity.on("init", user => {
if (!user) {
Expand All @@ -106,7 +106,7 @@ class="h-full text-black antialiased bg-gray-50 dark:bg-black dark:text-gray-200
}
});
}
</script> #}
</script>
</body>

</html>