-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
Replace file-loader -> assets
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
.htaccess | ||
docs/ | ||
node_modules/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html class="about" lang="pl" dir="ltr"><head><link rel="dns-prefetch" href="//google-analytics.com"><link rel="preconnect" href="//fonts.gstatic.com/" crossorigin><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="description" content="description - about"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="index,follow"><meta name="theme-color" content="#ffffff"><meta name="msapplication-navbutton-color" content="#ffffff"><meta name="apple-mobile-web-app-status-bar-style" content="#ffffff"><meta content="telephone=no" name="format-detection"><title>title - about</title><link rel="manifest" href="/assets/manifest.json"><link rel="icon" type="image/x-icon" href="/favicon.ico"><script defer="defer" src="./vendor/js/about.2e9dd730285391ac05be.js"></script><script defer="defer" src="./vendor/js/share.2e9dd730285391ac05be.js"></script><link href="./vendor/css/about.2e9dd730285391ac05be.css" rel="stylesheet"></head><body><div class="nav"><a href="./" title="index">index</a><a class="active" href="./about.html" title="about me">about me</a><a href="./contact.html" title="CONTACT">contact</a></div><h1>ABOUT ME</h1><img class="responsive" src="images/about.jpg"></body></html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
RewriteEngine On | ||
RewriteBase / | ||
RewriteCond %{HTTP_HOST} ^xxxxxxx.pl [NC] | ||
RewriteRule ^(.*)$ http://xxxxxxx.pl/$1 [L,R=301] | ||
|
||
<IfModule mod_deflate.c> | ||
# Compress HTML, CSS, JavaScript, Text, XML and fonts | ||
AddOutputFilterByType DEFLATE application/javascript | ||
AddOutputFilterByType DEFLATE application/rss+xml | ||
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject | ||
AddOutputFilterByType DEFLATE application/x-font | ||
AddOutputFilterByType DEFLATE application/x-font-opentype | ||
AddOutputFilterByType DEFLATE application/x-font-otf | ||
AddOutputFilterByType DEFLATE application/x-font-truetype | ||
AddOutputFilterByType DEFLATE application/x-font-ttf | ||
AddOutputFilterByType DEFLATE application/x-javascript | ||
AddOutputFilterByType DEFLATE application/xhtml+xml | ||
AddOutputFilterByType DEFLATE application/xml | ||
AddOutputFilterByType DEFLATE font/opentype | ||
AddOutputFilterByType DEFLATE font/otf | ||
AddOutputFilterByType DEFLATE font/ttf | ||
AddOutputFilterByType DEFLATE image/svg+xml | ||
AddOutputFilterByType DEFLATE image/x-icon | ||
AddOutputFilterByType DEFLATE text/css | ||
AddOutputFilterByType DEFLATE text/html | ||
AddOutputFilterByType DEFLATE text/javascript | ||
AddOutputFilterByType DEFLATE text/plain | ||
AddOutputFilterByType DEFLATE text/xml | ||
|
||
# Remove browser bugs (only needed for really old browsers) | ||
BrowserMatch ^Mozilla/4 gzip-only-text/html | ||
BrowserMatch ^Mozilla/4\.0[678] no-gzip | ||
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html | ||
Header append Vary User-Agent | ||
</IfModule> | ||
|
||
<IfModule mod_expires.c> | ||
ExpiresActive on | ||
|
||
# Perhaps better to whitelist expires rules? Perhaps. | ||
ExpiresDefault "access plus 1 month" | ||
|
||
# cache.appcache needs re-requests in FF 3.6 (thx Remy ~Introducing HTML5) | ||
ExpiresByType text/cache-manifest "access plus 0 seconds" | ||
|
||
|
||
|
||
# Your document html | ||
ExpiresByType text/html "access plus 1 month" | ||
|
||
# Data | ||
ExpiresByType text/xml "access plus 0 seconds" | ||
ExpiresByType application/xml "access plus 0 seconds" | ||
ExpiresByType application/json "access plus 0 seconds" | ||
|
||
# RSS feed | ||
ExpiresByType application/rss+xml "access plus 1 hour" | ||
|
||
# Favicon (cannot be renamed) | ||
ExpiresByType image/x-icon "access plus 1 year" | ||
|
||
# Media: images, video, audio | ||
ExpiresByType image/gif "access plus 1 year" | ||
ExpiresByType image/png "access plus 1 year" | ||
ExpiresByType image/jpg "access plus 1 year" | ||
ExpiresByType image/jpeg "access plus 1 year" | ||
ExpiresByType image/webp "access plus 1 year" | ||
ExpiresByType video/ogg "access plus 1 year" | ||
ExpiresByType audio/ogg "access plus 1 year" | ||
ExpiresByType video/mp4 "access plus 1 year" | ||
ExpiresByType video/webm "access plus 1 year" | ||
|
||
# HTC files (css3pie) | ||
ExpiresByType text/x-component "access plus 1 month" | ||
|
||
# Webfonts | ||
ExpiresByType font/truetype "access plus 1 year" | ||
ExpiresByType font/opentype "access plus 1 year" | ||
ExpiresByType application/x-font-woff "access plus 1 year" | ||
ExpiresByType image/svg+xml "access plus 1 year" | ||
ExpiresByType application/vnd.ms-fontobject "access plus 1 year" | ||
|
||
# CSS and JavaScript | ||
ExpiresByType text/css "access plus 1 year" | ||
ExpiresByType application/javascript "access plus 1 year" | ||
ExpiresByType text/javascript "access plus 1 year" | ||
|
||
<IfModule mod_headers.c> | ||
Header append Cache-Control "public" | ||
Header unset ETag | ||
FileETag None | ||
</IfModule> | ||
|
||
</IfModule> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "xxxxxxx", | ||
"short_name": "xxxxxxx", | ||
"icons": [ | ||
{ | ||
"src": "/images/static/app_192x192.png", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "/images/static/app_512x512.png", | ||
"sizes": "512x512", | ||
"type": "image/png" | ||
} | ||
], | ||
"start_url": "/index.html", | ||
"display": "standalone", | ||
"theme_color": "#FFFFFF", | ||
"background_color": "#FFFFFF", | ||
"orientation": "portrait" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html class="contact" lang="pl" dir="ltr"><head><link rel="dns-prefetch" href="//google-analytics.com"><link rel="preconnect" href="//fonts.gstatic.com/" crossorigin><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="description" content="description - contact"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="index,follow"><meta name="theme-color" content="#ffffff"><meta name="msapplication-navbutton-color" content="#ffffff"><meta name="apple-mobile-web-app-status-bar-style" content="#ffffff"><meta content="telephone=no" name="format-detection"><title>title - contact</title><link rel="manifest" href="/assets/manifest.json"><link rel="icon" type="image/x-icon" href="/favicon.ico"><script defer="defer" src="./vendor/js/contact.2e9dd730285391ac05be.js"></script><link href="./vendor/css/contact.2e9dd730285391ac05be.css" rel="stylesheet"></head><body><div class="nav"><a href="./" title="index">index</a><a href="./about.html" title="about me">about me</a><a class="active" href="./contact.html" title="CONTACT">contact</a></div><h1>CONTACT</h1><img class="responsive" src="images/contact.jpg"></body></html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html class="index" lang="pl" dir="ltr"><head><link rel="dns-prefetch" href="//google-analytics.com"><link rel="preconnect" href="//fonts.gstatic.com/" crossorigin><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="description" content="description - index"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="index,follow"><meta name="theme-color" content="#ffffff"><meta name="msapplication-navbutton-color" content="#ffffff"><meta name="apple-mobile-web-app-status-bar-style" content="#ffffff"><meta content="telephone=no" name="format-detection"><title>title - index</title><link rel="manifest" href="/assets/manifest.json"><link rel="icon" type="image/x-icon" href="/favicon.ico"><script defer="defer" src="./vendor/js/index.2e9dd730285391ac05be.js"></script><script defer="defer" src="./vendor/js/share.2e9dd730285391ac05be.js"></script><link href="./vendor/css/index.2e9dd730285391ac05be.css" rel="stylesheet"></head><body><div class="nav"><a class="active" href="./" title="index">index</a><a href="./about.html" title="about me">about me</a><a href="./contact.html" title="CONTACT">contact</a></div><h1>INDEX</h1><img class="responsive" src="images/index.jpg"></body></html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
!function(){"use strict";console.log("CONTACT")}(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.