-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e7b0a7
commit 6f4080b
Showing
492 changed files
with
14,956 additions
and
22,666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
# Trigger the workflow every time you push to the `main` branch | ||
# Using a different branch name? Replace `main` with your branch's name | ||
push: | ||
branches: [main] | ||
# Allows you to run this workflow manually from the Actions tab on GitHub. | ||
workflow_dispatch: | ||
|
||
# Allow this job to clone the repo and create a page deployment | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout your repository using git | ||
uses: actions/checkout@v3 | ||
- name: Install, build, and upload your site | ||
uses: withastro/action@v0 | ||
|
||
deploy: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
.idea/* | ||
# editor | ||
.idea | ||
.vscode | ||
|
||
# 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 | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
auto-install-peers=true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import react from '@astrojs/react'; | ||
import mdx from '@astrojs/mdx'; | ||
import tailwind from '@astrojs/tailwind'; | ||
import dotHtmlRedirects from './src/integration/dot-html-redirects'; | ||
import { defineConfig } from 'astro/config'; | ||
import remarkDirective from 'remark-directive'; | ||
import remarkGfm from 'remark-gfm'; | ||
import remarkOembed from 'remark-oembed'; | ||
import { | ||
imageDirective, | ||
gistDirective, | ||
socialDirective, | ||
} from './src/remark/directives'; | ||
import remarkOnlyStrong from './src/remark/only-strong'; | ||
import svgr from 'vite-plugin-svgr'; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: 'https://unitaryfund.tghp.co.uk', | ||
integrations: [ | ||
tailwind({ config: { applyBaseStyles: false } }), | ||
mdx(), | ||
react(), | ||
dotHtmlRedirects(), | ||
], | ||
markdown: { | ||
remarkPlugins: [ | ||
remarkOnlyStrong, | ||
remarkGfm, | ||
[ | ||
remarkOembed, | ||
{ | ||
syncWidget: true, | ||
}, | ||
], | ||
remarkDirective, | ||
imageDirective, | ||
gistDirective, | ||
socialDirective, | ||
], | ||
}, | ||
vite: { | ||
plugins: [svgr()], | ||
}, | ||
}); |
Oops, something went wrong.