Skip to content

Commit

Permalink
Merge pull request #52 from PHS-TSA/asset-rework
Browse files Browse the repository at this point in the history
Asset Rework
  • Loading branch information
lishaduck authored May 9, 2024
2 parents 0a0797c + d3589b5 commit ad9419c
Show file tree
Hide file tree
Showing 47 changed files with 25 additions and 27 deletions.
2 changes: 1 addition & 1 deletion src/content/geothermal/cost.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ The cost to install a geothermal system can range anywhere from $10,000 all the
These costs can vary depending on factors such as region, type of system, and how much renovation your house needs.
Feel free to use our [price calculator](/calculator/) to get an estimate of how much it would cost you!

![House with geothermal energy system](/images/geothermal_cost.avif)
![House with geothermal energy system](/images/geothermal-cost.avif)
2 changes: 1 addition & 1 deletion src/content/geothermal/environment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Possibly the biggest issue with geothermal though is the land it takes to build
The building of larger plants can often disrupt ecosystems but this effect comes with all types of energy.
This effect is mitigated though with smaller systems such as ones installed on houses.

![A geothermal plant](/images/geothermal_enviormental.webp)
![A geothermal plant](/images/geothermal-enviormental.avif)
2 changes: 1 addition & 1 deletion src/content/geothermal/what.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Nowadays, it’s still mainly used for heating; however, if you install a conver
Due to this many large universities such as Yale, Brown, and Missouri S&T have been installing geothermal systems to power their campuses.
The switch to geothermal is still beginning, but it will be a worthy investment for the future.

![A mountain, featuring geothermal emissions](/images/geothermal_what.avif)
![A mountain, featuring geothermal emissions](/images/geothermal-what.avif)

There are four types of geothermal energy solutions.

Expand Down
2 changes: 1 addition & 1 deletion src/content/geothermal/worth-it.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Also, depending on the loop system you choose and how it corresponds to your env
Overall, investing in geothermal can be a smart choice depending on your location and budget as it will save you money over time and lessen carbon emissions.
Feel free to ask our Why Switch AI chatbot for more information!

![A geothermal plant](/images/geothermal_worth.avif)
![A geothermal plant](/images/geothermal-worth.avif)
2 changes: 1 addition & 1 deletion src/content/other/appliances.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ But what can you do?
Well, the next time one of your appliances breaks replace it with an electric one.
It won’t cost you much more and can even save you money on bills.

![An electric stove](/images/appliances.jpeg)
![An electric stove](/images/appliances.avif)
2 changes: 1 addition & 1 deletion src/content/other/billing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Most companies offer features called autopay or EZ Pay, which will take money di
This can help you avoid late fees and, in some cases, companies will even give you a discount if you enable it.
However, be wary, for some online services will automatically charge more than you budgeted for if you go over your usage tier.

![A Picture of a laptop with an online billing website open](/images/online_billing.avif)
![A Picture of a laptop with an online billing website open](/images/online-billing.avif)
2 changes: 1 addition & 1 deletion src/content/other/hydroelectric.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ The biggest issue with hydropower is its impact on local ecosystems.
It is reported that dams obstruct fish migration, cause floods, and more.
Overall, hydropower is a great renewable resource while we’re still migrating to renewables, just not one that will power an even cleaner and greener future.

![A hydroelectric dam](/images/hydro_electric.avif)
![A hydroelectric dam](/images/hydro-electric.avif)
2 changes: 1 addition & 1 deletion src/content/other/led-lights.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ By switching to LED lights, you’d use less energy, which directly corresponds
In most cases, they’re the same price as traditional light bulbs, so by not buying them, you’re losing money because traditional light bulbs need to get replaced more often.
In conclusion, if you haven’t invested in LED light bulbs yet, you should definitely look into them; they’re worthwhile.

![A board of blue LED lights](/images/led_lights.avif)
![A board of blue LED lights](/images/led-lights.avif)
2 changes: 1 addition & 1 deletion src/content/other/solar-lawn-lights.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Solar-powered lawn lights are a convenient way to light up your yard while also
They use solar panels to generate energy during the day and then use that energy to power themselves at night.
This self-sustaining energy can save you up to $44.68 over the lifetime of a bulb!

![A group of people, with lawn lights in the background](/images/lawn_lights.avif)
![A group of people, with lawn lights in the background](/images/lawn-lights.avif)
2 changes: 1 addition & 1 deletion src/content/other/utilities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Electric companies such as Ameren offer programs where you can choose to specifi
In the case of Ameren, they offer a “Community Solar” program, where you pay a $25 fee to help build solar panels and then they guarantee you get green energy.
Yes, this will increase your energy bills slightly, but it will push power companies to do what’s right and help the environment.

![A person installing some solar panels](/images/utility_companies.avif)
![A person installing some solar panels](/images/utility-companies.avif)
2 changes: 1 addition & 1 deletion src/content/other/wind.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Once they’re up, they are 100% green.
The only real issue with wind turbines is they can sometimes disrupt local ecosystems, especially for birds, but national and local wildlife conservatories are actively working to diminish the effects of wind power on local wildlife.
You can help promote wind power in your community by calling your local representatives and asking them to take action.

![8 wind turbines with a pretty sunset on a plain](/images/turbines.jpg)
![8 wind turbines with a pretty sunset on a plain](/images/turbines.avif)
2 changes: 1 addition & 1 deletion src/content/recycling/cost.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ It was reported that in Atlantic County, New Jersey, the sale of goods made from
However, the cost of recycling for a citizen is often too free or even profitable as many states such as California, Delaware, Hawaii, and more have bottle laws that allow citizens to return bottles and cans for a small profit.
This also applies to many European countries such as Germany, Norway, and Sweden.

![Men picking up recycling bins](/images/rec_cost.avif)
![Men picking up recycling bins](/images/recycling-cost.avif)
2 changes: 1 addition & 1 deletion src/content/recycling/environment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sectionHeader: How Does It Affect the Environment?
The process of recycling prevents these waste materials from ending up in landfills or the environment, reducing pollution and emissions.
Recycling also reduces the need to extract natural resources from the environment for new products, reduces carbon dioxide emissions, and conserves energy.

![Bottles surrounding a recycling can](/images/rec_impact.avif)
![Bottles surrounding a recycling can](/images/recycling-impact.avif)

However, material that is recycled doesn’t always get recycled: only around 32% of all recycling is actually recycled.
This number is even worse when it comes to plastics specifically: only 5–6% of all plastics are recycled.
Expand Down
2 changes: 1 addition & 1 deletion src/content/recycling/what.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ These materials include paper, glass, metal, and plastic.
Recyclable material is collected by consumers and businesses, which is then collected by private or government entities.
The material is then sorted, cleaned, processed, and shipped to manufacturing facilities to be made into new products.

![15 recycling bins and trash bags](/images/rec_what.avif)
![15 recycling bins and trash bags](/images/recycling-what.avif)

What’s fascinating about recycling though is that many technologies such as solar panels and wind turbines are made from recycled materials.
We’re using green practices to create green products, which is a win-win for both the environment and the economy.
Expand Down
2 changes: 1 addition & 1 deletion src/content/recycling/worth-it.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Recycling also generates tax revenue, as well as hundreds of thousands of jobs.
For most citizens, there’s no reason not to recycle as the cost is already taken out of their trash fees, free, or even profitable due to bottle laws.
Overall, it is worth it to learn about and start recycling as it is a simple way to help the environment and the economy.

![A recycling, compost, and waste bin, all standing next to one another](/images/rec_worth.avif)
![A recycling, compost, and waste bin, all standing next to one another](/images/recycling-worth.avif)
2 changes: 1 addition & 1 deletion src/content/solar/cost.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ The cost of solar panels can vary depending on your state and region.
In general, a single installation costs around $16,000.
Feel free to use our [price calculator](/calculator/) to get an estimate on much it would cost you!

![A man installing solar panels](/images/solar_cost.avif)
![A man installing solar panels](/images/solar-cost.avif)
2 changes: 1 addition & 1 deletion src/content/solar/environment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ The only harmful effect of solar power on the environment is its production.
A major component of solar panels is lithium, which is plagued by unsustainable mining practices.
Nevertheless, such effects on the environment are negligible, as many solar panels are made using [recycled materials](/solutions/recycling/), and progress is being made to make lithium mining considerably more sustainable and ethical.

![An array of solar panels in a forest](/images/solar_environment.avif)
![An array of solar panels in a forest](/images/solar-environment.avif)
2 changes: 1 addition & 1 deletion src/content/solar/what.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Unlike coal and oil, it doesn’t emit greenhouse gasses, meaning that it doesn
Nowadays, solar power is used for powering a wide array of things, from satellites to homes.
The government has also been working on constructing solar farms, where thousands of solar panels are connected to power an energy grid.

![Spacecraft solar power technicians](/images/what-is-solar.jpg)
![Spacecraft solar power technicians](/images/what-is-solar.avif)

<Admonition type="fun-fact">
Solar power was first harnessed circa 213 B.C.E by the Greeks, who allegedly
Expand Down
2 changes: 1 addition & 1 deletion src/content/solar/worth-it.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Sunnier regions also tend to have more legislation that supports solar panels, s
Even if you don’t live in one of those areas, there’s still a 30% federal tax credit on _all_ solar systems.
In conclusion, solar panels are an amazing investment that can help your budget and the environment

![A solar panel on a house](/images/solar_worth.avif)
![A solar panel on a house](/images/solar-worth.avif)
6 changes: 3 additions & 3 deletions src/routes/about.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Head } from "$fresh/runtime.ts";
import { Head, asset } from "$fresh/runtime.ts";
import type { RouteConfig } from "$fresh/server.ts";
import type { JSX } from "preact";
import { Content } from "../components/Content.tsx";
Expand Down Expand Up @@ -150,15 +150,15 @@ export default function About(): JSX.Element {
<a
class="rounded-md bg-slate-900 p-2 text-slate-100 no-underline hover:bg-slate-800 hover:text-slate-200 dark:bg-slate-100 dark:text-slate-900 dark:hover:bg-slate-200 dark:hover:text-slate-800"
role="button"
href="/documentation/copyright-checklist.pdf"
href={asset("/documentation/copyright-checklist.pdf")}
download="copyright-checklist.pdf"
>
Copyright Checklist
</a>
<a
class="rounded-md bg-slate-900 p-2 text-slate-100 no-underline hover:bg-slate-800 hover:text-slate-200 dark:bg-slate-100 dark:text-slate-900 dark:hover:bg-slate-200 dark:hover:text-slate-800"
role="button"
href="/documentation/work-log.pdf"
href={asset("/documentation/work-log.pdf")}
download="work-log.pdf"
>
Work Log
Expand Down
5 changes: 2 additions & 3 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ function Card({
? "md:col-start-1 md:col-end-2"
: "md:col-start-4 md:col-end-5"
}`}
loading="lazy"
/>

<p
Expand Down Expand Up @@ -79,7 +78,7 @@ export default function Home(): JSX.Element {

<div class="gap-y-10 bg-slate-200 px-5 py-5 sm:px-10 sm:py-10 lg:px-20 lg:py-20 grid md:grid-cols-4 dark:bg-slate-800">
<Card
image="/images/intro.jpg"
image="/images/intro.avif"
alt="A wind farm"
cols="md:col-start-1 md:col-end-4"
imgSide="right"
Expand Down Expand Up @@ -118,7 +117,7 @@ export default function Home(): JSX.Element {
so many ways to save money and save the environment at the same time!
</Card>
<Card
image="/images/utility_companies.avif"
image="/images/utility-companies.avif"
alt="Man putting up solar panels"
cols="md:col-start-1 md:col-end-4"
imgSide="right"
Expand Down
3 changes: 1 addition & 2 deletions src/routes/solutions/[category]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ export default function Category({
return (
<Fragment key={linkTo}>
<h2 class="relative" id={slug}>
{/* biome-ignore lint/a11y/useAnchorContent: Biome doesn't
support aria-label. */}
{/* biome-ignore lint/a11y/useAnchorContent: Biome doesn't support aria-label. */}
<a
class="absolute -left-8"
key="anchorLink"
Expand Down
Binary file added src/static/images/appliances.avif
Binary file not shown.
Binary file removed src/static/images/appliances.jpeg
Binary file not shown.
File renamed without changes.
Binary file added src/static/images/geothermal-enviormental.avif
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file removed src/static/images/geothermal_enviormental.webp
Binary file not shown.
File renamed without changes.
Binary file added src/static/images/intro.avif
Binary file not shown.
Binary file removed src/static/images/intro.jpg
Binary file not shown.
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.
Binary file added src/static/images/turbines.avif
Binary file not shown.
Binary file removed src/static/images/turbines.jpg
Binary file not shown.
File renamed without changes.
Binary file added src/static/images/what-is-solar.avif
Binary file not shown.
Binary file removed src/static/images/what-is-solar.jpg
Binary file not shown.

0 comments on commit ad9419c

Please sign in to comment.