This project is a personal "About Me" page built with Svelte and Vite, featuring an impressive typer component that imitates keyboard typing with a cursor effect.
The star of this project is the custom typer component. It simulates typing text with a blinking cursor, creating a dynamic and engaging user experience. Key features include:
Clone the repository:
git clone https://github.com/Ares1605/about-me-svelte.git
Navigate to the project directory:
cd about-me-svelte
Install dependencies:
npm install
Run the development server:
npm run dev
This will start the development server, usually at http://localhost:3000
.
To create a production-ready build:
npm run build
This will generate optimized assets in the dist
directory.
To use the Typer component in your Svelte files:
<script>
import Typer from "./Typer.svelte";
</script>
<Typer
delayMultiplier={.4}
justify={"left"}
cursorStay={false}
cursorBlink={false}
>
text
</Typer>
Adjust the props as needed:
text
: The text to be typeddelayMultiplier
: Speed multiplier of the typingjustify
: Enforced text justification stylingcusrorStay
: Whether to keep the cursor after the typing is completecursorBlink
: Whether the cursor should blink during typing