Skip to content

Commit 53515f3

Browse files
committed
Made it look a little more pretty :D
1 parent 9c6bfae commit 53515f3

File tree

4 files changed

+52
-27
lines changed

4 files changed

+52
-27
lines changed

pages/_app.tsx

Lines changed: 34 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,43 @@ function Toolbox({ Component, pageProps }: AppProps) {
2020
{(
2121
[
2222
{
23-
color: "#224b4b", // green
24-
x: 47,
25-
y: 42,
23+
color: "#1c5e45", // green
24+
x: 37,
25+
y: 50,
2626
size: 9,
2727
},
2828
{
29-
color: "#224b4b",
30-
x: 54,
31-
y: 74,
29+
color: "#0f284c", // blue
30+
x: 26,
31+
y: 70,
3232
size: 7,
3333
},
3434
{
35-
color: "#224b4b",
35+
color: "#0f284c", // blue
36+
x: 50,
37+
y: 50,
38+
size: 7,
39+
},
40+
{
41+
color: "#1c5e45", // green
3642
x: 18,
37-
y: 20,
43+
y: 30,
3844
size: 6,
3945
},
4046
{
41-
color: "#571b60", // purple
42-
x: 23,
43-
y: 65,
44-
size: 11,
47+
color: "#69137e", // purple
48+
x: 1,
49+
y: 110,
50+
size: 13,
51+
},
52+
{
53+
color: "#69137e", // purple
54+
x: 110,
55+
y: 100,
56+
size: 13,
4557
},
4658
{
47-
color: "#571b60",
59+
color: "#69137e",
4860
x: 83,
4961
y: 50,
5062
size: 10,
@@ -57,6 +69,7 @@ function Toolbox({ Component, pageProps }: AppProps) {
5769
${tw`fixed`}
5870
left: ${splotch.x}vw;
5971
top: ${splotch.y}vh;
72+
filter: blur(100px);
6073
width: 1px;
6174
height: 1px;
6275
border-radius: 50%;
@@ -68,7 +81,7 @@ function Toolbox({ Component, pageProps }: AppProps) {
6881
))}
6982
</div>
7083
<GlobalStyles />
71-
<div css={tw`backdrop-blur-sm relative z-20`}>
84+
<div css={tw`backdrop-blur-xl relative z-20`}>
7285
<div
7386
css={tw`text-white w-full md:px-8 p-2 md:h-14 flex flex-row text-white md:px-12`}
7487
>
@@ -112,7 +125,7 @@ function Toolbox({ Component, pageProps }: AppProps) {
112125
>
113126
<Link href={"/"} passHref>
114127
<p
115-
css={tw`px-3 mx-1 py-2 my-auto md:ml-auto hover:cursor-pointer`}
128+
css={tw`px-3 mx-4 py-2 my-auto md:ml-auto hover:cursor-pointer`}
116129
>
117130
Home
118131
</p>
@@ -121,12 +134,12 @@ function Toolbox({ Component, pageProps }: AppProps) {
121134
href={"https://www.spigotmc.org/members/helpchat.1491649/"}
122135
passHref
123136
>
124-
<p css={tw`px-3 mx-1 py-2 my-auto hover:cursor-pointer`}>
137+
<p css={tw`px-3 mx-4 py-2 my-auto hover:cursor-pointer`}>
125138
Spigot
126139
</p>
127140
</Link>
128141
<Link href={"https://github.com/HelpChat"} passHref>
129-
<p css={tw`px-3 mx-1 py-2 my-auto hover:cursor-pointer`}>
142+
<p css={tw`px-3 mx-4 py-2 my-auto hover:cursor-pointer`}>
130143
Github
131144
</p>
132145
</Link>
@@ -142,7 +155,7 @@ function Toolbox({ Component, pageProps }: AppProps) {
142155
`}
143156
>
144157
<p css={tw`pl-3 ml-1 inline`}>More Tools</p>
145-
<div css={tw`ml-1 pr-3 mr-1 inline`}>
158+
<div css={tw`ml-5 pr-3 mr-1 inline`}>
146159
<FontAwesomeIcon icon={faChevronDown} size={"1x"} />
147160
</div>
148161
<div
@@ -156,7 +169,7 @@ function Toolbox({ Component, pageProps }: AppProps) {
156169
children.push(
157170
<Link href={tool.link} key={tool.short} passHref>
158171
<p
159-
css={tw`px-3 ml-2 pt-3 pb-1 hover:cursor-pointer`}
172+
css={tw`px-3 ml-2 pt-3 pb-1 hover:cursor-pointer hover:bg-gray-600`}
160173
>
161174
{tool.short}
162175
</p>
@@ -173,7 +186,7 @@ function Toolbox({ Component, pageProps }: AppProps) {
173186
children.push(
174187
<Link href={tool.link} key={tool.short} passHref>
175188
<p
176-
css={tw`px-3 ml-3 pt-3 pb-1 hover:cursor-pointer`}
189+
css={tw`px-3 ml-3 pt-3 pb-1 hover:cursor-pointer hover:bg-gray-600`}
177190
>
178191
{tool.short}
179192
</p>
@@ -208,7 +221,7 @@ function Toolbox({ Component, pageProps }: AppProps) {
208221
</div>
209222
<Link href={"https://discord.gg/helpchat"} passHref>
210223
<p
211-
css={tw`px-3 mx-1 py-2 my-auto hover:cursor-pointer bg-white text-black rounded-md`}
224+
css={tw`px-3 mx-1 py-2 my-auto hover:cursor-pointer hover:bg-gray-800 hover:text-white bg-white text-black rounded-md`}
212225
>
213226
Join our Discord
214227
</p>

pages/_document.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default class MyDocument extends Document {
1212
return (
1313
<Html>
1414
<Head>
15+
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet"/>
1516
<link rel="icon" href="/favicon.ico" />
1617
</Head>
1718
<body>

pages/index.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ function Home() {
1010
<div>
1111
<Head>
1212
<title>HelpChat Tools</title>
13-
<meta name="description" content="HelpChat Tools" />
13+
<meta name="description" content="HelpChat ToolBox" />
1414
</Head>
1515
<main
1616
css={css`
1717
${tw`flex flex-col md:height[calc(100vh - 3.5rem)]`}
1818
`}
1919
>
20-
<div css={tw`text-white w-full md:px-8 p-16 h-48 text-center`}>
21-
<p css={tw`text-3xl font-bold`}>HelpChat</p>
22-
<p css={tw`text-lg`}>Home</p>
20+
<div css={tw`text-white w-full md:px-8 p-16 h-64 text-center`}>
21+
<p css={tw`text-lg text-brightblue`}>Introducing the all new</p>
22+
<br></br>
23+
<p css={tw`text-5xl font-bold`}>HelpChat ToolBox</p>
24+
<br></br><br></br>
25+
<p css={tw`text-base text-lightgray`}>A collection of tools and solutions you might find useful<br></br> for you and your server.</p>
2326
</div>
2427
<div
2528
css={css`
@@ -32,7 +35,7 @@ function Home() {
3235
`}
3336
>
3437
<div
35-
css={tw`bg-white/20 backdrop-blur-sm drop-shadow-lg rounded-lg grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 p-6 sm:p-8 md:p-12 md:px-16 w-full`}
38+
css={tw`bg-white/10 backdrop-blur-sm drop-shadow-lg rounded-2xl grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 p-6 sm:p-8 md:p-6 md:px-6 w-full`}
3639
>
3740
{(() => {
3841
const tools: JSX.Element[] = [];
@@ -85,7 +88,7 @@ function ToolboxCard({
8588
return (
8689
<Link href={link} passHref>
8790
<div
88-
css={tw`p-3 rounded-md bg-white/20 text-white hover:cursor-pointer width[13rem] h-48 block grid grid-cols-1 place-items-center`}
91+
css={tw`p-3 rounded-2xl bg-white/10 hover:bg-white/20 text-white hover:cursor-pointer width[13rem] h-48 block grid grid-cols-1 place-items-center mix-blend-multiply`}
8992
>
9093
<FontAwesomeIcon icon={icon} size={"3x"} />
9194
<p css={tw`font-bold text-lg margin-bottom[-1rem]`}>{name}</p>

tailwind.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
const colors = require("tailwindcss/colors");
2+
const defaultTheme = require('tailwindcss/defaultTheme')
23

34
module.exports = {
45
theme: {
6+
extend: {
7+
fontFamily: {
8+
sans: ['Montserrat', ...defaultTheme.fontFamily.sans],
9+
},
10+
},
511
colors: {
612
dark: "#08090c",
13+
brightblue: "#00a2ff",
14+
lightgray: "#dfdddc",
715
transparent: "transparent",
816
current: "currentColor",
917
black: colors.black,

0 commit comments

Comments
 (0)