Skip to content

Commit 269464f

Browse files
committed
Initial commit
0 parents  commit 269464f

53 files changed

Lines changed: 6375 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare module 'swup';

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
public
2+
dist
3+
node_modules

.eslintrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"browser": true,
5+
"commonjs": true,
6+
"es6": true
7+
},
8+
"plugins": ["react", "prettier"],
9+
"extends": [
10+
"eslint:recommended",
11+
"plugin:react/recommended",
12+
"plugin:prettier/recommended"
13+
],
14+
"rules": {
15+
"react/react-in-jsx-scope": "off",
16+
"react/prop-types": "off",
17+
"react/no-unescaped-entities": "off"
18+
}
19+
}

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# build output
2+
dist/
3+
.output/
4+
5+
# dependencies
6+
node_modules/
7+
8+
# logs
9+
npm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
pnpm-debug.log*
13+
14+
15+
# environment variables
16+
.env
17+
.env.production
18+
19+
# macOS-specific files
20+
.DS_Store

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Expose Astro dependencies for `pnpm` users
2+
shamefully-hoist=true
3+
auto-install-peers=true

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
public
2+
dist
3+
node_modules

.prettierrc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"printWidth": 80,
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": true,
6+
"quoteProps": "as-needed",
7+
"jsxSingleQuote": true,
8+
"trailingComma": "all",
9+
"bracketSpacing": true,
10+
"arrowParens": "avoid",
11+
"endOfLine": "lf",
12+
"astroAllowShorthand": true,
13+
"plugins": [
14+
"./node_modules/prettier-plugin-astro"
15+
],
16+
"overrides": [
17+
{
18+
"files": "*.astro",
19+
"options": {
20+
"parser": "astro"
21+
}
22+
}
23+
]
24+
}

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# flashblaze.xyz
2+
3+
Migrated my website to [Astro](https://astro.build)
4+
5+
Previous version can be found at [old.flashblaze.xyz](https://old.flashblaze.xyz)

astro.config.mjs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import { defineConfig } from 'astro/config';
2+
import tailwind from '@astrojs/tailwind';
3+
import react from '@astrojs/react';
4+
import mdx from '@astrojs/mdx';
5+
import sitemap from '@astrojs/sitemap';
6+
import partytown from '@astrojs/partytown';
7+
8+
// https://astro.build/config
9+
export default defineConfig({
10+
site: 'https://flashblaze.xyz',
11+
markdown: {
12+
shikiConfig: {
13+
theme: 'dracula',
14+
},
15+
},
16+
integrations: [
17+
tailwind(),
18+
mdx(),
19+
react(),
20+
sitemap(),
21+
partytown({
22+
config: {
23+
forward: ['dataLayer.push'],
24+
},
25+
}),
26+
],
27+
vite: {
28+
ssr: {
29+
noExternal: ['@fontsource/urbanist'],
30+
},
31+
},
32+
});

package.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "flashblaze-website",
3+
"version": "1.0.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "astro dev",
7+
"start": "astro dev",
8+
"build": "astro build",
9+
"preview": "astro preview"
10+
},
11+
"devDependencies": {
12+
"@astrojs/mdx": "^0.9.0",
13+
"@astrojs/partytown": "^1.0.0",
14+
"@astrojs/react": "^1.0.0",
15+
"@astrojs/sitemap": "^1.0.0",
16+
"@astrojs/tailwind": "^1.0.0",
17+
"@fontsource/montserrat": "^4.5.12",
18+
"@tailwindcss/typography": "^0.5.4",
19+
"astro": "^1.0.5",
20+
"eslint": "^8.22.0",
21+
"eslint-config-prettier": "^8.5.0",
22+
"eslint-plugin-prettier": "^4.2.1",
23+
"instagram-private-api": "^1.45.3",
24+
"prettier": "^2.7.1",
25+
"prettier-plugin-astro": "^0.5.0",
26+
"react": "^18.2.0",
27+
"react-dom": "^18.2.0"
28+
},
29+
"dependencies": {
30+
"@swup/gtm-plugin": "^1.0.2",
31+
"@swup/head-plugin": "^1.2.1",
32+
"@swup/scripts-plugin": "^1.1.0",
33+
"react-icons": "^4.4.0",
34+
"react-player": "^2.10.1",
35+
"swup": "^2.0.18"
36+
}
37+
}

0 commit comments

Comments
 (0)