diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index 22a1505..0000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "recommendations": ["astro-build.astro-vscode"], - "unwantedRecommendations": [] -} diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index d642209..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "command": "./node_modules/.bin/astro dev", - "name": "Development server", - "request": "launch", - "type": "node-terminal" - } - ] -} diff --git a/README.md b/README.md index 1db3fb3..8cf7e39 100644 --- a/README.md +++ b/README.md @@ -1,54 +1,22 @@ -# Astro Starter Kit: Basics +# My Portfolio -```sh -npm create astro@latest -- --template basics -``` +This is my portfolio! It's made using Astro, a static site generator with +containerized reactivity that I find very cool. The site is hosted at +[austinschneider.dev](https://austinschneider.dev). It's very minimalist but +with time I plan to add some more features, like maybe a contact page or a blog +page. -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) -[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics) -[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json) +It's hosted using Github Pages. The main branch is on `main`, and the `prod` +branch is deployed to the actual site. -> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun! +# Commands -![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554) +You can use these commands for Astro: (this is all automatically done by Github +Actions) -## 🚀 Project Structure - -Inside of your Astro project, you'll see the following folders and files: - -```text -/ -├── public/ -│ └── favicon.svg -├── src/ -│ ├── components/ -│ │ └── Card.astro -│ ├── layouts/ -│ │ └── Layout.astro -│ └── pages/ -│ └── index.astro -└── package.json -``` - -Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. - -There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. - -Any static assets, like images, can be placed in the `public/` directory. - -## 🧞 Commands - -All commands are run from the root of the project, from a terminal: - -| Command | Action | -| :------------------------ | :----------------------------------------------- | -| `npm install` | Installs dependencies | -| `npm run dev` | Starts local dev server at `localhost:4321` | -| `npm run build` | Build your production site to `./dist/` | -| `npm run preview` | Preview your build locally, before deploying | -| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | -| `npm run astro -- --help` | Get help using the Astro CLI | - -## 👀 Want to learn more? - -Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). +| Command | Action | +| :---------------- | :------------------------------------------- | +| `npm install` | Installs dependencies | +| `npm run dev` | Starts local dev server at `localhost:4321` | +| `npm run build` | Build your production site to `./dist/` | +| `npm run preview` | Preview your build locally, before deploying | diff --git a/src/components/Header.astro b/src/components/Header.astro index 071cbb8..7faf67b 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -5,28 +5,37 @@ import pfpImage from "../images/pfp.png";
Austin Schneider -

Austin Schneider

-
+
+

Austin Schneider

+ Software Developer +
+ + + #text > span { + color: var(--darkgray); + } + + #pfp { + width: 100px; + height: 100px; + margin-right: 30px; + border-radius: 20px; + } + + diff --git a/src/components/Horizontal.astro b/src/components/Horizontal.astro new file mode 100644 index 0000000..f047ebd --- /dev/null +++ b/src/components/Horizontal.astro @@ -0,0 +1,13 @@ +
+ + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index f139530..6c2b66b 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -10,7 +10,7 @@ const { title } = Astro.props; - + @@ -26,6 +26,7 @@ const { title } = Astro.props; --background: #f5f0f0; --main-text: #121212; --lightgray: #dddddd; + --darkgray: #8c7d70; --link: #704e2b; } diff --git a/src/pages/index.astro b/src/pages/index.astro index b0b7272..88b0191 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,7 @@ --- import Layout from "../layouts/Layout.astro"; import Header from "../components/Header.astro"; +import Horizontal from "../components/Horizontal.astro"; --- @@ -13,7 +14,7 @@ import Header from "../components/Header.astro"; >.

-
+

Projects

@@ -37,18 +38,6 @@ import Header from "../components/Header.astro"; - -