-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
210 changed files
with
6,937 additions
and
124 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,39 @@ | ||
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@v4 | ||
- name: Install, build, and upload your site | ||
uses: withastro/action@v2 | ||
with: | ||
# path: . # The root location of your Astro project inside the repository. (optional) | ||
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional) | ||
package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) | ||
|
||
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@v4 |
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,21 +1,24 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
# build output | ||
dist/ | ||
# generated types | ||
.astro/ | ||
|
||
# Dependencies | ||
# dependencies | ||
node_modules/ | ||
# package-lock.json | ||
|
||
# Eleventy | ||
_site/ | ||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# Misc | ||
.DS_Store | ||
|
||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# Local Netlify folder | ||
.netlify | ||
# macOS-specific files | ||
.DS_Store | ||
|
||
gh-pages | ||
gh-pages.pub | ||
# jetbrains setting folder | ||
.idea/ |
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,4 @@ | ||
{ | ||
"recommendations": ["astro-build.astro-vscode", "unifiedjs.vscode-mdx"], | ||
"unwantedRecommendations": [] | ||
} |
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,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
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
File renamed without changes.
File renamed without changes.
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,21 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Dependencies | ||
node_modules/ | ||
# package-lock.json | ||
|
||
# Eleventy | ||
_site/ | ||
|
||
# Misc | ||
.DS_Store | ||
.env | ||
|
||
# Local Netlify folder | ||
.netlify | ||
|
||
gh-pages | ||
gh-pages.pub |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
# Course materials for WDD 231 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,57 @@ | ||
{ | ||
"name": "eleventy-plus-vite", | ||
"version": "0.2.2", | ||
"description": "A clean and simple Eleventy 2 Starter Kit with Vite", | ||
"browserslist": [ | ||
"> 0.5%", | ||
"not IE 11" | ||
], | ||
"scripts": { | ||
"start": "npx @11ty/eleventy --serve", | ||
"watch": "npx @11ty/eleventy --watch", | ||
"serve": "npx @11ty/eleventy --serve", | ||
"bench": "DEBUG=Eleventy:Benchmark* npx @11ty/eleventy", | ||
"build": "npx @11ty/eleventy", | ||
"build:sass:prod": "sass src/static/scss:public/static/css --style compressed", | ||
"build:eleventy:prod": "ELEVENTY_ENV=production eleventy", | ||
"build:prod": "npm run build:eleventy:prod & npm run build:sass:prod", | ||
"clean": "del-cli _site", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://matthiasott@github.com/matthiasott/11ty22.git" | ||
}, | ||
"author": "Matthias Ott", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/matthiasott/11ty22/issues" | ||
}, | ||
"homepage": "https://github.com/matthiasott/11ty22#readme", | ||
"devDependencies": { | ||
"@11ty/eleventy": "^2.0.1", | ||
"@11ty/eleventy-img": "^3.1.0", | ||
"@11ty/eleventy-navigation": "^0.3.5", | ||
"@11ty/eleventy-plugin-rss": "^1.2.0", | ||
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0", | ||
"@11ty/eleventy-plugin-vite": "^4.0.0", | ||
"autoprefixer": "^10.4.7", | ||
"cssnano": "^6.0.1", | ||
"cssremedy": "^0.1.0-beta.2", | ||
"del-cli": "^5.1.0", | ||
"eslint": "^8.18.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-n": "^15.2.3", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"focus-visible": "^5.2.0", | ||
"luxon": "^3.4.3", | ||
"markdown-it": "^13.0.1", | ||
"markdown-it-anchor": "^8.6.7", | ||
"npm-run-all": "^4.1.5", | ||
"postcss-nesting": "^12.0.1", | ||
"rollup-plugin-critical": "^1.0.12", | ||
"sass": "^1.67.0", | ||
"vite": "^4.4.9" | ||
} | ||
} |
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
7 changes: 4 additions & 3 deletions
7
src/_includes/navigation.njk → 11ty/src/_includes/navigation.njk
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,16 +1,17 @@ | ||
<nav class="nav nav--primary" role="navigation" tabindex="-1"> | ||
<nav | ||
class="nav nav--primary" role="navigation" tabindex="-1"> | ||
{# Nav Links #} | ||
<ul class="nav__menu"> | ||
{%- for item in collections.all | eleventyNavigation -%} | ||
{%- if item.url -%} | ||
{%- set isCurrent = (item.url == page.url) -%} | ||
{%- set isParent = item.url != '/' and item.url in page.url -%} | ||
<li class="nav__item{% if isCurrent or isParent %} nav__item--active{% endif %}"> | ||
<a class="nav__link" href="{% if isCurrent %}#main{% else %}{{ item.url | url }}{% endif %}" {% if isCurrent %} aria-current="page" {% endif %}> | ||
<a class="nav__link" href="{% if isCurrent %}#main{% else %}{{ item.url }}{% endif %}" {% if isCurrent %} aria-current="page" {% endif %}> | ||
{{ item.title }} | ||
</a> | ||
</li> | ||
{%- endif -%} | ||
{%- endfor -%} | ||
</ul> | ||
</nav> | ||
</nav> |
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,33 @@ | ||
--- | ||
permalink: /public/feed.xml | ||
eleventyExcludeFromCollections: true | ||
--- | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<feed xmlns="http://www.w3.org/2005/Atom"> | ||
<title>{{ meta.title }}</title> | ||
<subtitle>{{ meta.description }}</subtitle> | ||
<link href="{{ meta.url }}/feed.xml" rel="self" type="application/atom+xml"/> | ||
<link href="{{ meta.url }}" rel="alternate" type="text/html"/> | ||
<author> | ||
<name>{{ meta.title }}</name> | ||
</author> | ||
{% if collections.posts %} | ||
<updated>{{ collections.posts | rssLastUpdatedDate }}</updated> | ||
{% endif %} | ||
<id>{{ meta.url }}/</id> | ||
{%- for post in collections.posts | reverse -%} | ||
{% set absolutePostUrl %}{{ post.url | absoluteUrl(meta.url) }}{% endset %} | ||
<entry> | ||
<title>{{ post.data.title }}</title> | ||
<link href="{{ absolutePostUrl }}"/> | ||
<updated>{{ post.date | rssDate }}</updated> | ||
<id>{{ absolutePostUrl }}</id> | ||
<content type="html"> | ||
<![CDATA[ | ||
{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) | safe }} | ||
]]> | ||
</content> | ||
</entry> | ||
{%- endfor -%} | ||
</feed> |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 +1,5 @@ | ||
# Course materials for WDD 231 | ||
# Course Content for BYUI WDD 231 Frontend Development I | ||
|
||
## Credit | ||
|
||
This theme is based off of the lovely [Bear Blog](https://github.com/HermanMartinus/bearblog/). |
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,11 @@ | ||
import { defineConfig } from "astro/config"; | ||
import mdx from "@astrojs/mdx"; | ||
|
||
import sitemap from "@astrojs/sitemap"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: "https://byui-cse.github.io", | ||
base: "/wdd231-course", | ||
integrations: [mdx(), sitemap()] | ||
}); |
Oops, something went wrong.