1
Fork 0
mirror of https://github.com/Steffo99/steffoweb.git synced 2024-11-21 23:54:30 +00:00

🧹 Code cleanup

This commit is contained in:
Steffo 2021-08-29 22:35:28 +02:00
parent 1b8f271e67
commit 22ff0c8426
Signed by: steffo
GPG key ID: 6965406171929D01
4 changed files with 8 additions and 13 deletions

View file

@ -1,11 +1,10 @@
import React, {useState} from 'react';
import React from 'react'
import {Bluelib, LayoutThreeCol, Heading, Chapter, Box, BringAttention as B, Anchor, Form} from "@steffo/bluelib-react";
import {Project} from "./components/Project";
import {MoreProjects} from "./components/MoreProjects";
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
import {faDiscord, faGithub, faReddit, faTelegram, faTwitter} from "@fortawesome/free-brands-svg-icons";
import {Account} from "./components/Account";
import {faEnvelope} from "@fortawesome/free-solid-svg-icons";
import {Project} from "./components/Project"
import {MoreProjects} from "./components/MoreProjects"
import {faDiscord, faGithub, faReddit, faTelegram} from "@fortawesome/free-brands-svg-icons"
import {Account} from "./components/Account"
import {faEnvelope} from "@fortawesome/free-solid-svg-icons"
type Theme = "paper" | "royalblue" | "hacker" | "sophon"
@ -25,7 +24,7 @@ const FULL_THEME_NAMES: ThemeMap = {
function App() {
const [theme, setTheme] = useState<Theme>("royalblue")
const [theme, setTheme] = React.useState<Theme>("royalblue")
return (
<Bluelib theme={theme}>

View file

@ -1,5 +1,4 @@
import * as React from "react"
import * as ReactDOM from "react-dom"
import {IconDefinition} from "@fortawesome/free-regular-svg-icons";
import {Panel, Anchor} from "@steffo/bluelib-react";
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";

View file

@ -1,5 +1,4 @@
import * as React from "react"
import * as ReactDOM from "react-dom"
import {Anchor} from "@steffo/bluelib-react"
import Style from "./MoreProjects.module.css"

View file

@ -11,7 +11,5 @@ ReactDOM.render(
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
reportWebVitals();