mirror of
https://github.com/cupcakearmy/old.nicco.io.git
synced 2025-09-06 10:40:44 +00:00
added matomo and moved to yarn & parcel
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
"short_name": "nicco.io",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/android-chrome-192x192.png",
|
||||
"src": "./android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/android-chrome-512x512.png",
|
||||
"src": "./android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
@@ -16,4 +16,4 @@
|
||||
"theme_color": "#16b4e9",
|
||||
"background_color": "#16b4e9",
|
||||
"display": "standalone"
|
||||
}
|
||||
}
|
@@ -7,18 +7,19 @@
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport">
|
||||
<meta name="Description" content="Author: cupcakearmy, Design: cupcakearmy">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#16b4e9">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="./Assets/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="./Assets/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="./Assets/favicon-16x16.png">
|
||||
<link rel="manifest" href="./Assets/site.webmanifest">
|
||||
<link rel="mask-icon" href="./Assets/safari-pinned-tab.svg" color="#16b4e9">
|
||||
<meta name="apple-mobile-web-app-title" content="nicco.io">
|
||||
<meta name="application-name" content="nicco.io">
|
||||
<meta name="theme-color" content="#16b4e9">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<div id="root"></div>
|
||||
<script src="./index.tsx"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
@@ -1,2 +1,2 @@
|
||||
@require './vendor/fonts/import.css'
|
||||
@require './vendor/fonts/import'
|
||||
@require './styles/*'
|
@@ -4,14 +4,16 @@ import ReactDOM from 'react-dom'
|
||||
import App from './App'
|
||||
import './index.styl'
|
||||
|
||||
// Favicons
|
||||
import './Assets/favicon.ico'
|
||||
import './Assets/favicon-16x16.png'
|
||||
import './Assets/favicon-32x32.png'
|
||||
import './Assets/apple-touch-icon.png'
|
||||
import './Assets/site.webmanifest'
|
||||
import './Assets/android-chrome-192x192.png'
|
||||
import './Assets/android-chrome-512x512.png'
|
||||
import './Assets/safari-pinned-tab.svg'
|
||||
//@ts-ignore
|
||||
const _paq = window._paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function () {
|
||||
var u = "//stats.nicco.io/";
|
||||
_paq.push(['setTrackerUrl', u + 'p_unicorns']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
|
||||
g.type = 'text/javascript'; g.async = true; g.defer = true; g.src = u + 'j_unicorns'; s.parentNode.insertBefore(g, s);
|
||||
})();
|
||||
|
||||
ReactDOM.render(<App/>, document.getElementById('root'))
|
||||
ReactDOM.render(<App />, document.getElementById('root'))
|
@@ -1,6 +1,6 @@
|
||||
@font-face {
|
||||
font-family: 'Inconsolata';
|
||||
src: url('./Inconsolata-Regular.woff2') format('woff2');
|
||||
src: url('vendor/fonts/Inconsolata-Regular.woff2') format('woff2');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Merriweather';
|
||||
src: url('./Merriweather-Regular.woff2') format('woff2');
|
||||
src: url('vendor/fonts/Merriweather-Regular.woff2') format('woff2');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inconsolata';
|
||||
src: url('./Inconsolata-Bold.woff2') format('woff2');
|
||||
src: url('vendor/fonts/Inconsolata-Bold.woff2') format('woff2');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
Reference in New Issue
Block a user