mirror of
https://github.com/silicoflare/silicoflare-website.git
synced 2026-12-02 20:17:03 +05:30
Compare commits
12
Commits
19d99c0e5c
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a9325bed7 | ||
|
|
46964d711a | ||
|
|
e8bc61d696 | ||
|
|
527ee4abbc | ||
|
|
b94c3e51f8 | ||
|
|
a543a85c0e | ||
|
|
28ef7f8896 | ||
|
|
ff5fac0b2a | ||
|
|
ed5b4a0603 | ||
|
|
64d872134f | ||
|
|
1a891c57e4 | ||
|
|
bf1b079d38 |
@@ -1,54 +1,3 @@
|
||||
# React + TypeScript + Vite
|
||||
# Portfolio Website
|
||||
|
||||
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
||||
|
||||
Currently, two official plugins are available:
|
||||
|
||||
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
|
||||
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
||||
|
||||
## Expanding the ESLint configuration
|
||||
|
||||
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
||||
|
||||
```js
|
||||
export default tseslint.config({
|
||||
extends: [
|
||||
// Remove ...tseslint.configs.recommended and replace with this
|
||||
...tseslint.configs.recommendedTypeChecked,
|
||||
// Alternatively, use this for stricter rules
|
||||
...tseslint.configs.strictTypeChecked,
|
||||
// Optionally, add this for stylistic rules
|
||||
...tseslint.configs.stylisticTypeChecked,
|
||||
],
|
||||
languageOptions: {
|
||||
// other options...
|
||||
parserOptions: {
|
||||
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
||||
|
||||
```js
|
||||
// eslint.config.js
|
||||
import reactX from 'eslint-plugin-react-x'
|
||||
import reactDom from 'eslint-plugin-react-dom'
|
||||
|
||||
export default tseslint.config({
|
||||
plugins: {
|
||||
// Add the react-x and react-dom plugins
|
||||
'react-x': reactX,
|
||||
'react-dom': reactDom,
|
||||
},
|
||||
rules: {
|
||||
// other rules...
|
||||
// Enable its recommended typescript rules
|
||||
...reactX.configs['recommended-typescript'].rules,
|
||||
...reactDom.configs.recommended.rules,
|
||||
},
|
||||
})
|
||||
```
|
||||
This is the repo for my portfolio website at [silicoflare.dev](https://silicoflare.dev).
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"lockfileVersion": 1,
|
||||
"configVersion": 0,
|
||||
"workspaces": {
|
||||
"": {
|
||||
"name": "silicoflare-website",
|
||||
|
||||
+20
-1
@@ -5,7 +5,26 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/sif.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<!-- HTML Meta Tags -->
|
||||
<title>Suraj B M</title>
|
||||
<meta name="description" content="Developer | Systems Enthusiast | Gamer">
|
||||
|
||||
<!-- Open Graph Meta Tags -->
|
||||
<meta property="og:url" content="https://silicoflare.dev/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Suraj B M">
|
||||
<meta property="og:description" content="Developer | Systems Enthusiast | Gamer">
|
||||
<meta property="og:image" content="https://silicoflare.dev/banner.png">
|
||||
<meta property="og:image:width" content="1200">
|
||||
<meta property="og:image:height" content="630">
|
||||
|
||||
<!-- Twitter Meta Tags -->
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta property="twitter:domain" content="silicoflare.dev">
|
||||
<meta property="twitter:url" content="https://silicoflare.dev/">
|
||||
<meta name="twitter:title" content="Suraj B M">
|
||||
<meta name="twitter:description" content="Developer | Systems Enthusiast | Gamer">
|
||||
<meta name="twitter:image" content="https://silicoflare.dev/banner.png">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -13,4 +32,4 @@
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
Binary file not shown.
Binary file not shown.
+7
-4
@@ -16,20 +16,23 @@ export default function Home() {
|
||||
<SiF />
|
||||
<div className="flex flex-col items-center gap-1 leading-none">
|
||||
<h1 className="text-4xl font-bold">SilicoFlare</h1>
|
||||
<div className="font-light">TypeScript Maniac</div>
|
||||
<div className="font-light">Self-host Enthusiast</div>
|
||||
</div>
|
||||
|
||||
<div className="flex items-center gap-3">
|
||||
{/* <a href="https://blog.silicoflare.site" className="underline">
|
||||
<a href="https://social.hy-pr.link/" className="underline">
|
||||
Blog
|
||||
</a> */}
|
||||
</a>
|
||||
<a href="/resume.pdf" className="underline">
|
||||
Resume
|
||||
</a>
|
||||
<a href="https://ssh.silicoflare.dev" className="underline">
|
||||
SSH
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div className="flex items-center gap-5 md:gap-10 mt-5">
|
||||
<a href="mailto:hi@silicoflare.site">
|
||||
<a href="mailto:hi@silicoflare.dev">
|
||||
<CgMail size={40} />
|
||||
</a>
|
||||
<a href="https://github.com/silicoflare">
|
||||
|
||||
Reference in New Issue
Block a user