1
0
Fork 0
mirror of https://github.com/uhIgnacio/igna.rocks.git synced 2024-08-15 02:23:12 +00:00

add new site

This commit is contained in:
in the moon 2021-09-15 06:21:34 +00:00
parent 5fdbcc0ef9
commit 69a749d54f
9 changed files with 11940 additions and 0 deletions

24
.gitignore vendored Normal file
View file

@ -0,0 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

40
package.json Normal file
View file

@ -0,0 +1,40 @@
{
"name": "igna-website",
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "^4.12.3",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-script-tag": "^1.1.2",
"react-scripts": "4.0.3",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

39
public/index.html Normal file
View file

@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>igna</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

15
public/manifest.json Normal file
View file

@ -0,0 +1,15 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.rong",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

8
public/robots.txt Normal file
View file

@ -0,0 +1,8 @@
User-agent: *
Disallow:
User-agent: Twitterbot
Disallow:
User-agent: nsa
Disallow: /

68
src/App.js Normal file
View file

@ -0,0 +1,68 @@
import "./css/main.css";
import { makeStyles } from "@material-ui/core/styles";
import Button from "@material-ui/core/Button";
const useStyles = makeStyles((theme) => ({
root: {
"& > *": {
margin: theme.spacing(1),
},
},
}));
function App() {
const classes = useStyles();
return (
<div className="App">
<meta charSet="UTF-8" />
<meta property="og:title" content="igna.rocks" />
<meta property="og:type" content="website" />
<meta property="og:image" href="assets/favicon.png" />
<meta property="og:description" content="igna > you." />
<meta property="og:url" content="https://igna.rocks" />
<meta name="theme-color" content="#bbaaee" />
<link rel="icon" type="image/png" href="assets/favicon.png" />
<link rel="stylesheet" href="css/rain.css" />
<link rel="stylesheet" href="css/main.css" />
<audio autoPlay>
<source src="./assets/only_one.mp3" type="audio/mpeg" />
</audio>
<div className="content-main">
<h1>root@igna.rocks</h1>
<br />
<p>
{" "}
Hi, I'm Ignacio, a 13-year-old developer who likes anime and code
stuff
</p>
<br />
<div className={classes.root}>
<Button
variant="contained"
color="secondary"
href="https://discord.com/users/886994695648051270"
>
Discord
</Button>
<Button
variant="contained"
color="primary"
href="https://bio.igna.rocks"
>
Bio
</Button>
<Button
variant="contained"
color="secondary"
href="https://steamcommunity.com/id/nulIed"
>
Steam
</Button>
</div>
</div>
<p></p>
</div>
);
}
export default App;

29
src/css/main.css Normal file
View file

@ -0,0 +1,29 @@
* {
padding: 0;
margin: 0;
}
body {
background: black;
color: white;
font-family: monospace;
font-size: 13px;
}
a {
color: #ff5252;
text-decoration: none;
}
ul {
list-style: none;
}
.content-main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
min-height: 100vh;
}

14
src/index.js Normal file
View file

@ -0,0 +1,14 @@
import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById("root")
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals

11703
yarn.lock Normal file

File diff suppressed because it is too large Load diff