Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
dy0gu committed Nov 28, 2023
1 parent a11468a commit 4be02e5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions app/components/particles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,14 @@ export default function Particles({
const edge = [
circle.x + circle.translateX - circle.size, // distance from left edge
canvasSize.current.w -
circle.x -
circle.translateX -
circle.size, // distance from right edge
circle.x -
circle.translateX -
circle.size, // distance from right edge
circle.y + circle.translateY - circle.size, // distance from top edge
canvasSize.current.h -
circle.y -
circle.translateY -
circle.size, // distance from bottom edge
circle.y -
circle.translateY -
circle.size, // distance from bottom edge
];
const closestEdge = edge.reduce((a, b) => Math.min(a, b));
const remapClosestEdge = parseFloat(
Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import "./globals.css";
import { Metadata } from "next";
import React from "react";
import { Work_Sans } from "next/font/google";
import { Analytics } from '@vercel/analytics/react';
import { Analytics } from "@vercel/analytics/react";

export const metadata: Metadata = {
title: "Dy0gu",
Expand Down
18 changes: 9 additions & 9 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +48,27 @@ export default function Home() {
options={{
strings: [
"That's my username up there!",
"Look at that, the <span style=\"color: pink;\">text</span> changed, crazy...",
'Look at that, the <span style="color: pink;">text</span> changed, crazy...',
"Have you heard about the mathematician who's afraid of negative numbers?",
"He'll stop at <span style=\"color: green;\">nothing</span> to avoid them.",
'He\'ll stop at <span style="color: green;">nothing</span> to avoid them.',
"Is making your own website a developer cliché already?",
"In my school we only learned 25 letters of the alphabet, to this day I still don't know <span style=\"color: orange;\">y</span>.",
'In my school we only learned 25 letters of the alphabet, to this day I still don\'t know <span style="color: orange;">y</span>.',
"How come scientists don't trust atoms?",
"Because they make up everything!",
"Watch my all time favorite <a href=https://www.youtube.com/watch?v=xvFZjo5PgG0 style=\"color: white;\">video</a> on YouTube!",
'Watch my all time favorite <a href=https://www.youtube.com/watch?v=xvFZjo5PgG0 style="color: white;">video</a> on YouTube!',
"Parallel lines have so much in common. It's a shame they'll never meet.",
"Hotdogs all look the same because they're <span style=\"color: brown;\">in-bread</span>.",
'Hotdogs all look the same because they\'re <span style="color: brown;">in-bread</span>.',
"I've been writing a book on procrastination.",
"I'll finish it one of these days...",
"You should also check out <a href=https://www.instagram.com/jtsimoes style=\"color: white;\">@jtsimoes</a>!",
'You should also check out <a href=https://www.instagram.com/jtsimoes style="color: white;">@jtsimoes</a>!',
"Do you think I overdid it with the font size?",
"Have you ever noticed how the word \"bed\" kinda looks like a bed?",
"Ireland is just one <span style=\"color: cyan;\">sea</span> away from Iceland.",
'Have you ever noticed how the word "bed" kinda looks like a bed?',
'Ireland is just one <span style="color: cyan;">sea</span> away from Iceland.',
"You're still reading these?",
"Come on go home, there is nothing more to see here.",
"I'm serious, there are no more quirky or funny messages.",
"Okay now you're making me upset.",
"Go <span style=\"color: red;\">away</span>.",
'Go <span style="color: red;">away</span>.',
"You know what? I'm just gonna <span style=\"color: yellow;\">loop</span> you to the beginning, let's see how you like that!",
],
autoStart: true,
Expand Down

0 comments on commit 4be02e5

Please sign in to comment.