Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Technical/astro upgrade #547

Merged
merged 22 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b9b8a52
Update astro library
felder101 May 21, 2024
8b097ea
Update image tag to include to include .src
felder101 May 21, 2024
a379429
Updated image tag to include .src
felder101 May 21, 2024
1490b33
Fixed the main top menu links.
felder101 May 23, 2024
8c31c5b
Updated the astro config
felder101 May 23, 2024
fac9c9e
Updating internal links to include "/" at the end of the URL
felder101 May 23, 2024
dcac034
Fixed side navigation links
felder101 May 23, 2024
7a125de
Fixed smart bulletin navigation by adding slash to the end of the URL
felder101 May 23, 2024
ef44a7a
Updated redirects to include slash at the end of the URL
felder101 May 23, 2024
53031fb
Updated the parent navigation link on the state tax page
felder101 May 28, 2024
2a153d3
Update node version from 16 to 18
felder101 May 28, 2024
0e43b4b
Update URL broken links
felder101 May 28, 2024
a94d54b
Fixed background image on home page
felder101 May 28, 2024
f7efa41
Fixed broken links across site
felder101 May 28, 2024
c81272a
Updated content contrast to fix accessibility checker errors.
felder101 May 28, 2024
e4e12e4
Updated Astro version
felder101 May 28, 2024
0a1b454
Fix background image on home page
felder101 May 28, 2024
cec6249
Fixed the state tax selection dropdown
felder101 May 28, 2024
7ce18c3
State selection fix attempt on server
felder101 May 28, 2024
9d900c6
Update state dropdown selection functionality
felder101 May 28, 2024
a400a3c
Fixed to state tax selection navigation on server
felder101 May 29, 2024
e209d44
Merging staging
felder101 May 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: npm
- name: Install dependencies
run: npm ci
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: npm
- name: Install dependencies
run: npm ci
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: npm
- name: Install dependencies
run: npm ci
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: npm
- name: Install dependencies
run: npm ci
Expand Down
10 changes: 6 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@ import sitemap from "@astrojs/sitemap";
import generateRedirects from './src/config/redirects';
import sitemapFilter from "./src/config/sitemapFilter";

const base = process.env.BASEURL ? process.env.BASEURL : '/'
// https://astro.build/config
export default defineConfig({
site: 'https://smartpay.gsa.gov/',
base: process.env.BASEURL,
base: base,
integrations: [mdx(), sitemap({ filter: sitemapFilter })],
outDir: '_site',
markdown: {
rehypePlugins: [
[process_anchors, {baseURL: process.env.BASEURL || '/'}],
[process_image_urls, {baseURL: process.env.BASEURL || '/'}]
[process_anchors, {baseURL: base}],
[process_image_urls, {baseURL: base}]
],
},
redirects: generateRedirects(process.env.BASEURL)
redirects: generateRedirects(base),
trailingSlash: 'always',
});
Loading
Loading