fix navigation for contact page
This commit is contained in:
parent
41d3b7221e
commit
1c469f8b2d
2 changed files with 16 additions and 36 deletions
50
README.md
50
README.md
|
@ -1,47 +1,27 @@
|
||||||
# Astro Starter Kit: Minimal
|
# IEEE @ UCSD Website
|
||||||
|
|
||||||
```sh
|
## Deployment
|
||||||
npm create astro@latest -- --template minimal
|
|
||||||
```
|
|
||||||
|
|
||||||
[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
|
This site is automatically deployed to netlify. Pushing to the `main` branch will trigger a rebuild and deploy.
|
||||||
[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal)
|
|
||||||
[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json)
|
|
||||||
|
|
||||||
> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
|
## Contributing
|
||||||
|
|
||||||
## 🚀 Project Structure
|
Please create a new branch for development (i.e. `[NAME]-dev`). Pushing directly to main is not advised, as changes will go straight into production. Once you are ready to merge your changes, create a pull request and request a review from a webmaster.
|
||||||
|
|
||||||
Inside of your Astro project, you'll see the following folders and files:
|
### Testing
|
||||||
|
|
||||||
```text
|
To build the site, run `pnpm build`.
|
||||||
/
|
|
||||||
├── public/
|
|
||||||
├── src/
|
|
||||||
│ └── 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.
|
To view the site on your local network, run `pnpm dev`. View the site at [localhost:4321](http://localhost:4321).
|
||||||
|
|
||||||
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
|
The site will automatically rebuild on changes as long as the development server is running.
|
||||||
|
|
||||||
Any static assets, like images, can be placed in the `public/` directory.
|
### ENV Variables
|
||||||
|
|
||||||
## 🧞 Commands
|
Create a `.env` file in the root directory of the project. This file should contain the following variables:
|
||||||
|
|
||||||
All commands are run from the root of the project, from a terminal:
|
- CALENDAR_API_KEY
|
||||||
|
- PUBLIC_DISCORD_WEBHOOK_LINK
|
||||||
|
- PUBLIC_SLACK_WEBHOOK_LINK
|
||||||
|
|
||||||
| Command | Action |
|
If you do not include this in the .env file, the site will give you an error.
|
||||||
| :------------------------ | :----------------------------------------------- |
|
|
||||||
| `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).
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ import Layout from "../layouts/Layout.astro";
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="isolate bg-white px-6 py-24 sm:py-32 lg:px-8">
|
<div class="bg-white px-6 py-24 sm:py-32 lg:px-8">
|
||||||
<div
|
<div
|
||||||
class="absolute inset-x-0 top-[-10rem] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[-20rem]"
|
class="absolute inset-x-0 top-[-10rem] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[-20rem]"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
|
|
Loading…
Reference in a new issue