Skip to content

Commit

Permalink
example page
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhoyle2 committed Dec 12, 2024
1 parent ec2bad4 commit 2af19af
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pages/about/examples/example.astro
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ import InlineCanvas from "../../../components/InlineCanvas.astro";
The goal of these pages is to be referenced and the page is to be written assuming students have already seen the materal and are not learning the material for the first time.
AKA don't write a textbook.
</p>

<Warning title="Read me if you plan to copy/paste this page into your course!" id="copy-paste">
Because of where this page is in github, the insert components section at the top of the code is a little different. After copy/pasting this page into your course, remove one '../' from each component line at the top.
All insert components statements in the text here and in the style guide have the correct path structure and do not need to be changed.
</Warning>

<p>
Good luck!
</p>
Expand Down Expand Up @@ -103,8 +109,9 @@ import InlineCanvas from "../../../components/InlineCanvas.astro";
</SubSection>

<SubSection id="images" title="Adding Images">

<p>
You can also add images with or without a caption. More info on formatting images is in the <a href="/about/docs"> Style guide & documentation</a>.
You can also add images with or without a caption. More info on formatting images is in the <a href="/about/docs#images"> Style guide & documentation</a>.
</p>
<Image src="/Solid_Mechanics/Bending-Figures/Geometry.png" width="4"> Add caption here if you want one </Image>
</SubSection>
Expand Down

0 comments on commit 2af19af

Please sign in to comment.