mirror of
https://github.com/cupcakearmy/old.nicco.io.git
synced 2025-09-06 02:30:46 +00:00
migrated to nextjs
This commit is contained in:
24
pages/_app.tsx
Normal file
24
pages/_app.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import React from 'react'
|
||||
import App from 'next/app'
|
||||
import Head from 'next/head'
|
||||
|
||||
import '../styles/fonts.css'
|
||||
import '../styles/global.styl'
|
||||
|
||||
|
||||
|
||||
export default class extends App {
|
||||
render() {
|
||||
const { Component, pageProps } = this.props
|
||||
return (
|
||||
<React.Fragment>
|
||||
<Head>
|
||||
<title>Alessandra Marten</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta charSet="utf-8" />
|
||||
</Head>
|
||||
<Component {...pageProps} />
|
||||
</React.Fragment>
|
||||
)
|
||||
}
|
||||
}
|
53
pages/index.tsx
Normal file
53
pages/index.tsx
Normal file
@@ -0,0 +1,53 @@
|
||||
import React from 'react'
|
||||
import dynamic from 'next/dynamic'
|
||||
|
||||
import AnimatedBackground from '../components/AnimatedBackground'
|
||||
import Parallax from '../components/Parallax'
|
||||
import Letters from '../screens/Letters'
|
||||
import { useInnerWindowSize } from '../utils/hooks'
|
||||
|
||||
import '../styles/Home.styl'
|
||||
|
||||
|
||||
|
||||
const Cursor = dynamic(() => import('../components/Cursor'), { ssr: false })
|
||||
|
||||
const Home: React.FC = () => {
|
||||
|
||||
const size = useInnerWindowSize()
|
||||
|
||||
return <div id="home" style={size}>
|
||||
<header className={'fixed'}>
|
||||
<span><a target='_blank' href={'https://blog.nicco.io'}>blog</a></span>
|
||||
<span><a target='_blank' href={'https://github.com/cupcakearmy'}>github</a></span>
|
||||
</header>
|
||||
|
||||
<Parallax>
|
||||
<section id={'letters-container'}>
|
||||
<h1>
|
||||
<Letters />
|
||||
</h1>
|
||||
</section>
|
||||
</Parallax>
|
||||
|
||||
<div id={'bg'}>
|
||||
<AnimatedBackground />
|
||||
</div>
|
||||
|
||||
<Cursor />
|
||||
|
||||
<footer className={'fixed'}>
|
||||
<span>developer.</span>
|
||||
<br />
|
||||
<span><a href={'mailto:hi@nicco.io'}>say <b>hi@nicco.io</b></a></span>
|
||||
<br />
|
||||
<span>
|
||||
<small>
|
||||
<a href={'/privacy'}>privacy</a> - <a href={'/tos'}>terms of service</a>
|
||||
</small>
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
}
|
||||
|
||||
export default Home
|
33
pages/privacy.tsx
Normal file
33
pages/privacy.tsx
Normal file
@@ -0,0 +1,33 @@
|
||||
import React from 'react'
|
||||
|
||||
import StaticText from '../components/staticText'
|
||||
|
||||
|
||||
|
||||
const Privacy: React.FC = () => {
|
||||
return <StaticText>
|
||||
<h2>Privacy Policy</h2>
|
||||
<p>Your privacy is important to us. It is Nicco IO's policy to respect your privacy regarding any
|
||||
information we may collect from you across our website, <a href="https://nicco.io">https://nicco.io</a>,
|
||||
and other sites we own and operate.</p>
|
||||
<p>We only ask for personal information when we truly need it to provide a service to you. We collect it by
|
||||
fair and lawful means, with your knowledge and consent. We also let you know why we’re collecting it and
|
||||
how it will be used.</p>
|
||||
<p>We only retain collected information for as long as necessary to provide you with your requested service.
|
||||
What data we store, we’ll protect within commercially acceptable means to prevent loss and theft, as
|
||||
well as unauthorised access, disclosure, copying, use or modification.</p>
|
||||
<p><b>We don’t share any personally identifying information publicly or with third-parties</b>, except when
|
||||
required to by law.</p>
|
||||
<p>Our website may link to external sites that are not operated by us. Please be aware that we have no
|
||||
control over the content and practices of these sites, and cannot accept responsibility or liability for
|
||||
their respective privacy policies.</p>
|
||||
<p>You are free to refuse our request for your personal information, with the understanding that we may be
|
||||
unable to provide you with some of your desired services.</p>
|
||||
<p>Your continued use of our website will be regarded as acceptance of our practices around privacy and
|
||||
personal information. If you have any questions about how we handle user data and personal information,
|
||||
feel free to contact us.</p>
|
||||
<p>This policy is effective as of 1 January 2019.</p>
|
||||
</StaticText>
|
||||
}
|
||||
|
||||
export default Privacy
|
74
pages/tos.tsx
Normal file
74
pages/tos.tsx
Normal file
@@ -0,0 +1,74 @@
|
||||
import React from 'react'
|
||||
|
||||
import StaticText from '../components/staticText'
|
||||
|
||||
|
||||
|
||||
const TOS: React.FC = () => {
|
||||
return <StaticText>
|
||||
<h2>Nicco IO Terms of Service</h2>
|
||||
<h3>1. Terms</h3>
|
||||
<p>By accessing the website at <a href="http://nicco.io">http://nicco.io</a>, you are agreeing to be bound
|
||||
by these terms of service, all applicable laws and regulations, and agree that you are responsible for
|
||||
compliance with any applicable local laws. If you do not agree with any of these terms, you are
|
||||
prohibited from using or accessing this site. The materials contained in this website are protected by
|
||||
applicable copyright and trademark law.</p>
|
||||
<h3>2. Use License</h3>
|
||||
<ol type="a">
|
||||
<li>Permission is granted to temporarily download one copy of the materials (information or software) on
|
||||
Nicco IO's website for personal, non-commercial transitory viewing only. This is the grant of a
|
||||
license, not a transfer of title, and under this license you may not:
|
||||
<ol type="i">
|
||||
<li>modify or copy the materials;</li>
|
||||
<li>use the materials for any commercial purpose, or for any public display (commercial or
|
||||
non-commercial);
|
||||
</li>
|
||||
<li>attempt to decompile or reverse engineer any software contained on Nicco IO's website;</li>
|
||||
<li>remove any copyright or other proprietary notations from the materials; or</li>
|
||||
<li>transfer the materials to another person or "mirror" the materials on any other server.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>This license shall automatically terminate if you violate any of these restrictions and may be
|
||||
terminated by Nicco IO at any time. Upon terminating your viewing of these materials or upon the
|
||||
termination of this license, you must destroy any downloaded materials in your possession whether in
|
||||
electronic or printed format.
|
||||
</li>
|
||||
</ol>
|
||||
<h3>3. Disclaimer</h3>
|
||||
<ol type="a">
|
||||
<li>The materials on Nicco IO's website are provided on an 'as is' basis. Nicco IO makes no warranties,
|
||||
expressed or implied, and hereby disclaims and negates all other warranties including, without
|
||||
limitation, implied warranties or conditions of merchantability, fitness for a particular purpose,
|
||||
or non-infringement of intellectual property or other violation of rights.
|
||||
</li>
|
||||
<li>Further, Nicco IO does not warrant or make any representations concerning the accuracy, likely
|
||||
results, or reliability of the use of the materials on its website or otherwise relating to such
|
||||
materials or on any sites linked to this site.
|
||||
</li>
|
||||
</ol>
|
||||
<h3>4. Limitations</h3>
|
||||
<p>In no event shall Nicco IO or its suppliers be liable for any damages (including, without limitation,
|
||||
damages for loss of data or profit, or due to business interruption) arising out of the use or inability
|
||||
to use the materials on Nicco IO's website, even if Nicco IO or a Nicco IO authorized representative has
|
||||
been notified orally or in writing of the possibility of such damage. Because some jurisdictions do not
|
||||
allow limitations on implied warranties, or limitations of liability for consequential or incidental
|
||||
damages, these limitations may not apply to you.</p>
|
||||
<h3>5. Accuracy of materials</h3>
|
||||
<p>The materials appearing on Nicco IO's website could include technical, typographical, or photographic
|
||||
errors. Nicco IO does not warrant that any of the materials on its website are accurate, complete or
|
||||
current. Nicco IO may make changes to the materials contained on its website at any time without notice.
|
||||
However Nicco IO does not make any commitment to update the materials.</p>
|
||||
<h3>6. Links</h3>
|
||||
<p>Nicco IO has not reviewed all of the sites linked to its website and is not responsible for the contents
|
||||
of any such linked site. The inclusion of any link does not imply endorsement by Nicco IO of the site.
|
||||
Use of any such linked website is at the user's own risk.</p>
|
||||
<h3>7. Modifications</h3>
|
||||
<p>Nicco IO may revise these terms of service for its website at any time without notice. By using this
|
||||
website you are agreeing to be bound by the then current version of these terms of service.</p>
|
||||
<h3>8. Governing Law</h3>
|
||||
<p>These terms and conditions are governed by and construed in accordance with the laws of Germany and you
|
||||
irrevocably submit to the exclusive jurisdiction of the courts in that State or location.</p>
|
||||
</StaticText>
|
||||
}
|
||||
|
||||
export default TOS
|
Reference in New Issue
Block a user