mirror of
https://git.solarpunk.moe/Fries/fries-website.git
synced 2024-11-22 05:52:20 +00:00
make the beginnings of my website :3
this is the beginnings of my website :3! Co-authored-by: mossfet <root@mossfet.xyz>
This commit is contained in:
commit
175af0dd27
19 changed files with 3216 additions and 0 deletions
21
.gitignore
vendored
Normal file
21
.gitignore
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# build output
|
||||||
|
dist/
|
||||||
|
|
||||||
|
# generated types
|
||||||
|
.astro/
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# logs
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
|
||||||
|
# environment variables
|
||||||
|
.env
|
||||||
|
.env.production
|
||||||
|
|
||||||
|
# macOS-specific files
|
||||||
|
.DS_Store
|
6
.vscode/extensions.json
vendored
Normal file
6
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"astro-build.astro-vscode"
|
||||||
|
],
|
||||||
|
"unwantedRecommendations": []
|
||||||
|
}
|
11
.vscode/launch.json
vendored
Normal file
11
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"command": "./node_modules/.bin/astro dev",
|
||||||
|
"name": "Development server",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "node-terminal"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"eslint.packageManager": "pnpm",
|
||||||
|
"editor.insertSpaces": false,
|
||||||
|
"editor.detectIndentation": false
|
||||||
|
}
|
2
README.md
Normal file
2
README.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# fries gay website
|
||||||
|
meow
|
4
astro.config.mjs
Normal file
4
astro.config.mjs
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
|
|
||||||
|
// https://astro.build/config
|
||||||
|
export default defineConfig({});
|
15
package.json
Normal file
15
package.json
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"name": "fries-website",
|
||||||
|
"type": "module",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "astro dev",
|
||||||
|
"start": "astro dev",
|
||||||
|
"build": "astro build",
|
||||||
|
"preview": "astro preview",
|
||||||
|
"astro": "astro"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"astro": "^2.1.0"
|
||||||
|
}
|
||||||
|
}
|
3012
pnpm-lock.yaml
Normal file
3012
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
3
src/components/Header.astro
Normal file
3
src/components/Header.astro
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<header id="header" aria-label="my sites header.">
|
||||||
|
<h1>fries cat person place :3</h1>
|
||||||
|
</header>
|
15
src/components/Introduction.astro
Normal file
15
src/components/Introduction.astro
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<section id="introduction" aria-label="introducing myself!">
|
||||||
|
<p>
|
||||||
|
hi, my name is fries :3, and my pronouns are fae/they/it! i am a cat
|
||||||
|
person :3.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
i am interested in computers. i've always liked them and they're cool. i
|
||||||
|
like programming. right now, i like programming in rust, and i also
|
||||||
|
program in c# and other languages. and i also run linux.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
i have autism, and adhd, and ocd. i can infodump to you if you want :3.
|
||||||
|
also focusing can be hard sometimes.
|
||||||
|
</p>
|
||||||
|
</section>
|
10
src/components/Links.astro
Normal file
10
src/components/Links.astro
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<section id="links" aria-label="links to my social media profiles.">
|
||||||
|
<h2>my social media profiles</h2>
|
||||||
|
<a rel="me" href="https://solarpunk.moe/@fries">my fediverse profile</a>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
a {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
18
src/components/Navigation.astro
Normal file
18
src/components/Navigation.astro
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
<nav id="nav-container">
|
||||||
|
<a href="/">Home</a>
|
||||||
|
<a href="/blog">Blog</a>
|
||||||
|
<a href="/projects">Projects</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
#nav-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
font-size: 20px;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
#nav-container a {
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
</style>
|
1
src/env.d.ts
vendored
Normal file
1
src/env.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/// <reference types="astro/client" />
|
23
src/layouts/Layout.astro
Normal file
23
src/layouts/Layout.astro
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
export interface Props {
|
||||||
|
title: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
const { title } = Astro.props;
|
||||||
|
import Navigation from "../components/Navigation.astro";
|
||||||
|
import "../styles/global.css";
|
||||||
|
---
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width" />
|
||||||
|
<meta name="generator" content={Astro.generator} />
|
||||||
|
<title>{title}</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<Navigation />
|
||||||
|
<slot />
|
||||||
|
</body>
|
||||||
|
</html>
|
9
src/pages/blog.astro
Normal file
9
src/pages/blog.astro
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
import Layout from "../layouts/Layout.astro";
|
||||||
|
---
|
||||||
|
|
||||||
|
<Layout title="fries gay blog">
|
||||||
|
<main>
|
||||||
|
<h1>work in progress</h1>
|
||||||
|
</main>
|
||||||
|
</Layout>
|
14
src/pages/index.astro
Normal file
14
src/pages/index.astro
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
import Layout from "../layouts/Layout.astro";
|
||||||
|
import Header from "../components/Header.astro";
|
||||||
|
import Introduction from "../components/Introduction.astro";
|
||||||
|
import Links from "../components/Links.astro";
|
||||||
|
---
|
||||||
|
|
||||||
|
<Layout title="fries gay place">
|
||||||
|
<main>
|
||||||
|
<Header />
|
||||||
|
<Introduction />
|
||||||
|
<Links />
|
||||||
|
</main>
|
||||||
|
</Layout>
|
9
src/pages/projects.astro
Normal file
9
src/pages/projects.astro
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
import Layout from "../layouts/Layout.astro";
|
||||||
|
---
|
||||||
|
|
||||||
|
<Layout title="fries gay projects">
|
||||||
|
<main>
|
||||||
|
<h1>work in progress</h1>
|
||||||
|
</main>
|
||||||
|
</Layout>
|
35
src/styles/global.css
Normal file
35
src/styles/global.css
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
max-width: 600px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
body {
|
||||||
|
background-color: #eff1f5;
|
||||||
|
color: #1e1e2e;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #1e66f5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #89b4fa;
|
||||||
|
}
|
||||||
|
}
|
3
tsconfig.json
Normal file
3
tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"extends": "astro/tsconfigs/strict"
|
||||||
|
}
|
Loading…
Reference in a new issue