main
Midnight 3 years ago
parent 27bd6c0cc3
commit 733ca0f9c3

2108
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -8,6 +8,11 @@
"start": "next start" "start": "next start"
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^5.15.3",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-brands-svg-icons": "^5.15.3",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"next": "10.x", "next": "10.x",
"react": "17.x", "react": "17.x",
"react-dom": "17.x" "react-dom": "17.x"

@ -1,5 +1,9 @@
import '../styles/globals.css' import '../styles/globals.css'
import '@fortawesome/fontawesome-svg-core/styles.css';
import { config } from '@fortawesome/fontawesome-svg-core';
config.autoAddCss = false; /* eslint-disable import/first */
function MyApp({ Component, pageProps }) { function MyApp({ Component, pageProps }) {
return <Component {...pageProps} /> return <Component {...pageProps} />
} }

@ -0,0 +1,65 @@
import Head from 'next/head'
import styles from '../styles/Home.module.css'
export default function Home() {
return (
<div className={styles.container}>
<Head>
<title>Create Next App</title>
<link rel="icon" href="/favicon.ico" />
</Head>
<main className={styles.main}>
<h1 className={styles.title}>
Welcome to <a href="https://nextjs.org">Next.js!</a>
</h1>
<p className={styles.description}>
Get started by editing{' '}
<code className={styles.code}>pages/index.js</code>
</p>
<div className={styles.grid}>
<a href="https://nextjs.org/docs" className={styles.card}>
<h3>Documentation &rarr;</h3>
<p>Find in-depth information about Next.js features and API.</p>
</a>
<a href="https://nextjs.org/learn" className={styles.card}>
<h3>Learn &rarr;</h3>
<p>Learn about Next.js in an interactive course with quizzes!</p>
</a>
<a
href="https://github.com/vercel/next.js/tree/master/examples"
className={styles.card}
>
<h3>Examples &rarr;</h3>
<p>Discover and deploy boilerplate example Next.js projects.</p>
</a>
<a
href="https://vercel.com/import?filter=next.js&utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
className={styles.card}
>
<h3>Deploy &rarr;</h3>
<p>
Instantly deploy your Next.js site to a public URL with Vercel.
</p>
</a>
</div>
</main>
<footer className={styles.footer}>
<a
href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Powered by{' '}
<img src="/vercel.svg" alt="Vercel Logo" className={styles.logo} />
</a>
</footer>
</div>
)
}

@ -1,65 +1,51 @@
import Head from 'next/head' import Head from 'next/head'
import styles from '../styles/Home.module.css' import Image from 'next/image'
import styles from '../styles/Index.module.css'
export default function Home() {
return ( import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
<div className={styles.container}> import { faDiscord } from '@fortawesome/free-brands-svg-icons'
<Head> import { faTwitter } from '@fortawesome/free-brands-svg-icons'
<title>Create Next App</title> import { faSpotify } from '@fortawesome/free-brands-svg-icons'
<link rel="icon" href="/favicon.ico" /> import { faEnvelope } from '@fortawesome/free-solid-svg-icons'
</Head>
export default function Index() {
<main className={styles.main}> return (
<h1 className={styles.title}> <div className={styles.page}>
Welcome to <a href="https://nextjs.org">Next.js!</a> <div className={styles.topcontainerbackg + " slide-in-right"}>
</h1>
</div>
<p className={styles.description}>
Get started by editing{' '} <div className={styles.topcontainer + " slide-in-left"}>
<code className={styles.code}>pages/index.js</code> <div className={styles.topcontent + " " + styles.menu}>
</p> <a href="#">Home</a>
<a href="#">Music</a>
<div className={styles.grid}> <a href="#">Modelling</a>
<a href="https://nextjs.org/docs" className={styles.card}> </div>
<h3>Documentation &rarr;</h3> <div className={styles.topcontent}>
<p>Find in-depth information about Next.js features and API.</p> <h1>INVESVPO</h1>
</a> <p>aka Fuhz Elikas C2RW</p>
</div>
<a href="https://nextjs.org/learn" className={styles.card}> </div>
<h3>Learn &rarr;</h3>
<p>Learn about Next.js in an interactive course with quizzes!</p> <div className={styles.bottomcontainer + " slide-in-up"}>
</a> <div className={styles.topcontent}>
<h3>{`
<a Hey I'm Invesvpo, I make some cool 3d models including guns and I'm trying to learn more.
href="https://github.com/vercel/next.js/tree/master/examples" I also make music. A lot of my songs are made to be downtempo ambient songs. Check out my Spotify below.
className={styles.card} `}</h3>
> </div>
<h3>Examples &rarr;</h3>
<p>Discover and deploy boilerplate example Next.js projects.</p> <div className={styles.topcontent + " " + styles.links}>
</a> <a href="#"><p><FontAwesomeIcon icon={faTwitter} /> Twitter</p></a>
<a href="#"><p><FontAwesomeIcon icon={faSpotify} /> Spotify</p></a>
<a <a href="#"><p><FontAwesomeIcon icon={faDiscord} /> Discord</p></a>
href="https://vercel.com/import?filter=next.js&utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app" <a href="#"><p><FontAwesomeIcon icon={faEnvelope} /> Email</p></a>
className={styles.card} </div>
>
<h3>Deploy &rarr;</h3> <footer className={styles.topcontent}>
<p> <p className="text-center">Made by DubbelNull</p>
Instantly deploy your Next.js site to a public URL with Vercel. </footer>
</p> </div>
</a>
</div> </div>
</main> )
<footer className={styles.footer}>
<a
href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Powered by{' '}
<img src="/vercel.svg" alt="Vercel Logo" className={styles.logo} />
</a>
</footer>
</div>
)
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

@ -1,4 +0,0 @@
<svg width="283" height="64" viewBox="0 0 283 64" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M141.04 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.46 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM248.72 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.45 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM200.24 34c0 6 3.92 10 10 10 4.12 0 7.21-1.87 8.8-4.92l7.68 4.43c-3.18 5.3-9.14 8.49-16.48 8.49-11.05 0-19-7.2-19-18s7.96-18 19-18c7.34 0 13.29 3.19 16.48 8.49l-7.68 4.43c-1.59-3.05-4.68-4.92-8.8-4.92-6.07 0-10 4-10 10zm82.48-29v46h-9V5h9zM36.95 0L73.9 64H0L36.95 0zm92.38 5l-27.71 48L73.91 5H84.3l17.32 30 17.32-30h10.39zm58.91 12v9.69c-1-.29-2.06-.49-3.2-.49-5.81 0-10 4-10 10V51h-9V17h9v9.2c0-5.08 5.91-9.2 13.2-9.2z" fill="#000"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

@ -0,0 +1,148 @@
/* page specific overwrites css */
.page h1 {
font-size: var(--font-xl);
}
.page h3 {
font-size: var(--font-lg);
font-weight: normal;
}
/* menu */
.menu {
padding: var(--padding) 0;
display: inline-flex;
gap: var(--padding-lg);
}
.menu a::before {
content: "// ";
}
/* page layout */
.topcontent {
width: var(--page-width);
margin: 0 auto;
}
.topcontainerbackg {
height: 40vh;
background-color: #2940D3;
-ms-transform: skewX(-20deg);
-webkit-transform: skewX(-20deg);
transform: skewX(-20deg);
}
.topcontainer {
position: absolute;
top: 0;
left: 0;
padding: 0;
margin: 0;
width: 100vw;
height: 40vh;
display: flex;
flex-direction: column;
align-items: end;
justify-content: space-between;
color: white;
background-image: url('/gun.png');
background-size: contain;
background-repeat: no-repeat;
background-position: right;
}
.topcontainer h1 {
margin: unset;
}
.topcontainer p {
opacity: 50%;
margin-top: - var(--padding-sm);
}
.bottomcontainer {
height: 60vh;
background-color: #232323;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: start;
color: white;
padding-bottom: var(--padding);
}
/* items */
.links {
flex-wrap: wrap;
font-size: 1.5em;
flex-grow: 1;
display: flex;
gap: var(--padding-lg);
justify-content: start;
align-items: center;
}
.links a {
padding: var(--padding) var(--padding-xl);
transition-duration: var(--transition-speed);
background-color: #2940D3;
-ms-transform: skewX(-20deg);
-webkit-transform: skewX(-20deg);
transform: skewX(-20deg);
}
.links a p {
margin: unset;
-ms-transform: skewX(20deg);
-webkit-transform: skewX(20deg);
transform: skewX(20deg);
display: inline-block;
}
.links a:hover {
transition-duration: 0.3s;
background-color: #1f309e;
}
/* mobile responsivity */
@media (max-aspect-ratio: 1/1) {
.topcontent {
width: 100%;
padding: var(--padding);
}
.links a {
padding: 0 var(--padding-lg);
}
.page h1 {
font-size: var(--font-lg);
}
.page h3 {
font-size: var(--font-lg);
font-weight: normal;
}
.links {
font-size: var(--font);
flex-wrap: wrap;
justify-content: center;
}
}
@media (max-aspect-ratio: 5/7) {
.gallery {
column-count: 1;
}
}

@ -1,9 +1,49 @@
:root {
--padding-sm: 5px;
--padding: 10px;
--padding-lg: 20px;
--padding-xl: 50px;
--font-xl: 5em;
--font-lg: 1.5em;
--font: 1em;
--font-sm: 0.8em;
--page-width: 1000px;
--transition-speed: 0.3s;
}
@font-face {
font-family: 'Dual';
src: url('/fonts/Dual-300.otf');
src: url('/fonts/Dual-300.ttf') format('truetype');
}
@font-face {
font-family: 'Anurati';
src: url('/fonts/Anurati-Regular.otf');
}
html, html,
body { body {
padding: 0; padding: 0;
margin: 0; margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, font-family: 'Dual', sans-serif;
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; background-color: #232323;
}
h1, h2 {
font-family: 'Anurati', sans-serif;
letter-spacing: 0.5em;
}
footer {
opacity: 50%;
}
.text-center {
text-align: center;
} }
a { a {
@ -14,3 +54,68 @@ a {
* { * {
box-sizing: border-box; box-sizing: border-box;
} }
/* animations */
.slide-in-right {
animation-name: slide-in-right;
animation-duration: 1s;
margin-right: 10vw;
margin-left: -10vw;
}
@keyframes slide-in-right {
0% {
margin-right: 100vw;
}
100% {
margin-right: 10vw;
}
}
.slide-in-left {
animation-name: slide-in-left;
animation-duration: 1s;
margin-left: 0vw;
}
@keyframes slide-in-left {
0% {
margin-left: 100vw;
}
100% {
margin-left: 0vw;
}
}
.slide-in-up {
animation-name: slide-in-up;
animation-duration: 1s;
margin-top: 0vh;
}
@keyframes slide-in-up {
0% {
margin-top: 100vh;
}
100% {
margin-top: 0vh;
}
}
.slide-in-down {
animation-name: slide-in-down;
animation-duration: 0.5s;
overflow-y: hidden;
margin-bottom: 0vh;
}
@keyframes slide-in-down {
0% {
margin-bottom: 100vh;
}
100% {
margin-bottom: 0vh;
}
}
Loading…
Cancel
Save