- © {today.getFullYear()} devthedevel. All rights reserved.
-
People illustrations by Storyset
-
+
diff --git a/src/components/FormattedDate.astro b/src/components/FormattedDate.astro
index 1bcce73..60b112c 100644
--- a/src/components/FormattedDate.astro
+++ b/src/components/FormattedDate.astro
@@ -1,17 +1,17 @@
---
interface Props {
- date: Date;
+ date: Date;
}
const { date } = Astro.props;
---
diff --git a/src/components/Header.astro b/src/components/Header.astro
index 1702395..499f577 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -4,73 +4,73 @@ import { SITE_TITLE } from '../consts';
---
-
+
diff --git a/src/components/HeaderLink.astro b/src/components/HeaderLink.astro
index 3dd439b..187891f 100644
--- a/src/components/HeaderLink.astro
+++ b/src/components/HeaderLink.astro
@@ -10,15 +10,15 @@ const isActive = href === pathname || href === pathname.replace(/\/$/, '');
---
-
+
diff --git a/src/consts.ts b/src/consts.ts
index 22c751d..811943e 100644
--- a/src/consts.ts
+++ b/src/consts.ts
@@ -2,4 +2,5 @@
// You can import this data from anywhere in your site by using the `import` keyword.
export const SITE_TITLE = 'devthedevel';
-export const SITE_DESCRIPTION = 'Welcome to my little slice of the internet where I talk about my projects, things in the tech world, or just rant about things. Enjoy!';
+export const SITE_DESCRIPTION =
+ 'Welcome to my little slice of the internet where I talk about my projects, things in the tech world, or just rant about things. Enjoy!';
diff --git a/src/content/blog/_exploring-ruby-part-1.md b/src/content/blog/_exploring-ruby-part-1.md
index 10e830a..4799fab 100644
--- a/src/content/blog/_exploring-ruby-part-1.md
+++ b/src/content/blog/_exploring-ruby-part-1.md
@@ -7,13 +7,13 @@ heroImage: '/blog/chris-ried-ieic5Tq8YMk-unsplash.jpg'
## Intro
-Its been awhile since I played around with another language besides Typescript. Everything I have done professionally in the last 5 years has been Typescript and its my go-to language for any silly side projects I do. Some of those side projects are in different languages but I've never treated them as serious projects to learn something new with.
+Its been awhile since I played around with another language besides Typescript. Everything I have done professionally in the last 5 years has been Typescript and its my go-to language for any silly side projects I do. Some of those side projects are in different languages but I've never treated them as serious projects to learn something new with.
-The main issue with the majority of my side projects (and I'm sure you agree) is that there's no _motivation_ to continue working on them once the honeymoon phase is over. Once I'm done checking out new tech, I usually just forget about the project. I'm not sure why: perhaps its because I have no real use for the project. Or maybe I just didn't like it. Whatever the reasons are for dropping side projects, its always saddens me to get excited about something new and then do _nothing_ with it.
+The main issue with the majority of my side projects (and I'm sure you agree) is that there's no _motivation_ to continue working on them once the honeymoon phase is over. Once I'm done checking out new tech, I usually just forget about the project. I'm not sure why: perhaps its because I have no real use for the project. Or maybe I just didn't like it. Whatever the reasons are for dropping side projects, its always saddens me to get excited about something new and then do _nothing_ with it.
So I'm going to try something new. I'm going to learn a new language, and write blogs about my journey. This should motivate me... right?
-But what language should I learn? I've always leaned towards backend development so why not find a language thats popular for backend? It just so happens a friend told me about Ruby not too long ago and that I should give it a try. Why not? Ruby is popular for backend development, and comparable to Javascript which should make an easy transition.
+But what language should I learn? I've always leaned towards backend development so why not find a language thats popular for backend? It just so happens a friend told me about Ruby not too long ago and that I should give it a try. Why not? Ruby is popular for backend development, and comparable to Javascript which should make an easy transition.
So I've decided to learn Ruby!
@@ -25,4 +25,4 @@ Now I got a new language, and a project. All I need to do is get started!
Uhh... _how_ do I get started?
-Starting projects are always the hardest part in my opinion. Theres always so much to do, especially if you are starting out with a completely new tech stack. So I started at step 0: installing Ruby.
\ No newline at end of file
+Starting projects are always the hardest part in my opinion. Theres always so much to do, especially if you are starting out with a completely new tech stack. So I started at step 0: installing Ruby.
diff --git a/src/content/blog/developing_devthedevel_part_1.md b/src/content/blog/developing_devthedevel_part_1.md
index ad66f17..476db51 100644
--- a/src/content/blog/developing_devthedevel_part_1.md
+++ b/src/content/blog/developing_devthedevel_part_1.md
@@ -11,7 +11,7 @@ First of all if you are reading this then welcome to my site! Thanks for being h
I created this site way back in the summer of 2023, just for something to do. I wanted to learn Astro, and I wanted to get some more experience building frontends. I also wanted my own _semi_-professional website. So I started a new Astro project, bought a new domain, and got to work.
-And at some point while I was setting up, I realized that I wanted to make a blog about my journey developing this actual site. Which sounds like a great re-occuring blog segment in my opinion!
+And at some point while I was setting up, I realized that I wanted to make a blog about my journey developing this actual site. Which sounds like a great re-occuring blog segment in my opinion!
The goal of this blog is to hopefully educate and entertain newer software developers. Another goal is to help me build up my own site and portfolio. And yet another goal is to keep me busy learning new things. And even yet another goal is to motivate me to actually stick to a project (instead of working on a project for a couple days and then throwing it into the abyss that is my 'backlog' π©).
@@ -84,7 +84,7 @@ If you have been paying attention you may be wondering how blogs within `content
Astro supports _dynamic routing_: all you need to do is name the file correctly and tell Astro how to generate the static paths for a page.
-Step one: naming the file. Naming a file `[...path].astro` will tell Astro to pass the path into the component script. You can access the path via `Astro.params` in the component script.
+Step one: naming the file. Naming a file `[...path].astro` will tell Astro to pass the path into the component script. You can access the path via `Astro.params` in the component script.
Step two: generating static paths. Within the component script you can export a function called `getStaticPaths()`. This function should return an array of objects that define static paths for the page. This allows you to generate pages that have different contents based on its path. This lets me write as many blogs I want in `content/blog/` and never have to write an individual corresponding page in `pages/blog`.
@@ -154,4 +154,4 @@ I'll also leave a link to the [repo](https://github.com/devthedevel/personal_web
Well that was waaay longer than I expected. I'm proud that I returned to this project and even prouder that I actually wrote a blog post! I hope you enjoyed reading this more than I enjoyed getting this site to its current stage.
-Cheers πΊ
\ No newline at end of file
+Cheers πΊ
diff --git a/src/content/config.ts b/src/content/config.ts
index f041922..a801152 100644
--- a/src/content/config.ts
+++ b/src/content/config.ts
@@ -1,15 +1,15 @@
import { defineCollection, z } from 'astro:content';
const blog = defineCollection({
- // Type-check frontmatter using a schema
- schema: z.object({
- title: z.string(),
- description: z.string(),
- // Transform string to Date object
- pubDate: z.coerce.date(),
- updatedDate: z.coerce.date().optional(),
- heroImage: z.string().optional(),
- }),
+ // Type-check frontmatter using a schema
+ schema: z.object({
+ title: z.string(),
+ description: z.string(),
+ // Transform string to Date object
+ pubDate: z.coerce.date(),
+ updatedDate: z.coerce.date().optional(),
+ heroImage: z.string().optional(),
+ }),
});
export const collections = { blog };
diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro
index e67b2b3..c5b56e5 100644
--- a/src/layouts/BlogPost.astro
+++ b/src/layouts/BlogPost.astro
@@ -10,76 +10,80 @@ type Props = CollectionEntry<'blog'>['data'];
const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
---
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
- {heroImage &&
}
-
-
-
-
-
- {
- updatedDate && (
-
- Last updated on
-
- )
- }
-
-
{title}
-
-
-
-
-
-
-
-
+
+
+
+
+
+ {
+ heroImage && (
+
+ )
+ }
+
+
+
+
+
+ {
+ updatedDate && (
+
+ Last updated on
+
+ )
+ }
+
+
{title}
+
+
+
+
+
+
+
+
diff --git a/src/pages/404.astro b/src/pages/404.astro
index f7053f9..ff56dc4 100644
--- a/src/pages/404.astro
+++ b/src/pages/404.astro
@@ -5,22 +5,27 @@ import Header from '../components/Header.astro';
import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
import NotFound404Svg from '../assets/404.svg';
import { Image } from 'astro:assets';
-
---
-
-
-
-
-
-
-
-
-
Uh oh, this page doesn't exist
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
Uh oh, this page doesn't exist
+
+
+
+
+
+
diff --git a/src/pages/about.astro b/src/pages/about.astro
index d3039cb..de027ac 100644
--- a/src/pages/about.astro
+++ b/src/pages/about.astro
@@ -3,44 +3,52 @@ import Layout from '../layouts/BlogPost.astro';
---
-
- If you haven't figured it out yet, I'm a software developer (and software coach) named Devin! I enjoy writing
- backends, dev tools, and libraries. Although I enjoy backend work more, I don't mind writing frontend code either
- (just don't ask me to make things pretty π
). I also enjoy learning new languages and the ecosystems that surround
- them: I believe the strength of a language's ecosystems and developer experience is a major driving force behind
- the languages I work with.
-
+
+ If you haven't figured it out yet, I'm a software developer (and software
+ coach) named Devin! I enjoy writing backends, dev tools, and libraries.
+ Although I enjoy backend work more, I don't mind writing frontend code
+ either (just don't ask me to make things pretty π
). I also enjoy learning
+ new languages and the ecosystems that surround them: I believe the strength
+ of a language's ecosystems and developer experience is a major driving force
+ behind the languages I work with.
+
-
- Speaking of languages, I (mostly) enjoy Typescript for backend projects. I have been exploring Ruby and Rust
- to find a new backend language. But for some reason I always come back to Typescript. For creating frontends,
- I'm probably best at React, although I absolutely love using Flutter (the developer experience is top notch π).
- And for those few rare times I want to create simple games or use a graphics renderer, I weirdly enjoy using
- vanilla HTML with canvas/WebGL: theres something about creating a basic rendering engine that really clicks with me.
- I have also been known to play around with Godot every now and then too.
-
+
+ Speaking of languages, I (mostly) enjoy Typescript for backend projects. I
+ have been exploring Ruby and Rust to find a new backend language. But for
+ some reason I always come back to Typescript. For creating frontends, I'm
+ probably best at React, although I absolutely love using Flutter (the
+ developer experience is top notch π). And for those few rare times I want
+ to create simple games or use a graphics renderer, I weirdly enjoy using
+ vanilla HTML with canvas/WebGL: theres something about creating a basic
+ rendering engine that really clicks with me. I have also been known to play
+ around with Godot every now and then too.
+
-
- I mentioned above that I was a software coach. I have been coaching at Get Coding for a few years now!
- Get Coding is a company based out of Newfoundland, Canada, that helps people transition into the tech industry. I'm
- lucky to coach several amazing local people from zero to coding hero! Check it out!
-
+
+ I mentioned above that I was a software coach. I have been coaching at Get Coding for a few years now! Get Coding is a company based out of Newfoundland, Canada,
+ that helps people transition into the tech industry. I'm lucky to coach several
+ amazing local people from zero to coding hero! Check it out!
+
-
- On a more personal level, I enjoy hiking, video games, board games, and reading. Recently I have been pushing myself to cook
- different recipes, which has mostly been successful! I also have two cats (I promise I'll provide pictures at some
- point).
-
-
-
- And thats basically me. I always thought that naming variables were one of the hardest challenges I can face,
- but then I realized after trying to write this section three separate times, that naming variables is
- actually pretty straight forward π.
-
+
+ On a more personal level, I enjoy hiking, video games, board games, and
+ reading. Recently I have been pushing myself to cook different recipes,
+ which has mostly been successful! I also have two cats (I promise I'll
+ provide pictures at some point).
+
+
+ And thats basically me. I always thought that naming variables were one of
+ the hardest challenges I can face, but then I realized after trying to write
+ this section three separate times, that naming variables is actually pretty
+ straight forward π.
+
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro
index 60ca7fb..a10ab84 100644
--- a/src/pages/blog/[...slug].astro
+++ b/src/pages/blog/[...slug].astro
@@ -3,15 +3,15 @@ import { type CollectionEntry, getCollection } from 'astro:content';
import BlogPost from '../../layouts/BlogPost.astro';
export async function getStaticPaths() {
- type BlogCollection = CollectionEntry<'blog'>
+ type BlogCollection = CollectionEntry<'blog'>;
- const blogCollection: BlogCollection = await getCollection('blog')
- const blogPosts = Array.isArray(blogCollection) ? blogCollection : []
+ const blogCollection: BlogCollection = await getCollection('blog');
+ const blogPosts = Array.isArray(blogCollection) ? blogCollection : [];
- return blogPosts.map((post) => ({
- params: { slug: post.slug },
- props: post,
- }));
+ return blogPosts.map((post) => ({
+ params: { slug: post.slug },
+ props: post,
+ }));
}
type Props = CollectionEntry<'blog'>;
@@ -19,6 +19,7 @@ const post = Astro.props;
// @ts-ignore - 404 page will catch any runtime errors
const { Content } = await post.render();
---
-
-
+
+
+
diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro
index 0d11817..c132bc7 100644
--- a/src/pages/blog/index.astro
+++ b/src/pages/blog/index.astro
@@ -5,123 +5,134 @@ import Footer from '../../components/Footer.astro';
import { SITE_TITLE, SITE_DESCRIPTION } from '../../consts';
import { getCollection, type CollectionEntry } from 'astro:content';
import FormattedDate from '../../components/FormattedDate.astro';
-import NoBlogPostsSvg from '../../assets/no-blog-posts.svg'
+import NoBlogPostsSvg from '../../assets/no-blog-posts.svg';
import { Image } from 'astro:assets';
-type BlogCollection = CollectionEntry<'blog'>
+type BlogCollection = CollectionEntry<'blog'>;
-const blogCollection: BlogCollection = await getCollection('blog')
-const blogPosts = Array.isArray(blogCollection) ? blogCollection : []
+const blogCollection: BlogCollection = await getCollection('blog');
+const blogPosts = Array.isArray(blogCollection) ? blogCollection : [];
-blogPosts.sort(
- (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf()
-);
+blogPosts.sort((a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf());
---
-
-
-
-
-
-
-
-
-
- {blogPosts.length === 0 && (
-
-
Looks like I haven't published any blogs yet π±
- I'll get right on that!
-
-
- )}
- {blogPosts.length > 0 && (
-
- )}
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {
+ blogPosts.length === 0 && (
+
+
Looks like I haven't published any blogs yet π±
+ I'll get right on that!
+
+
+ )
+ }
+ {
+ blogPosts.length > 0 && (
+
+ )
+ }
+
+
+
+
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 1d86312..c0fce77 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -3,52 +3,61 @@ import BaseHead from '../components/BaseHead.astro';
import Header from '../components/Header.astro';
import Footer from '../components/Footer.astro';
import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
-import DeveloperSvg from '../assets/developer.svg'
+import DeveloperSvg from '../assets/developer.svg';
import { Image } from 'astro:assets';
---
-
-
-
-
-
-
-
-
-
Well hello there! π
-
-
-
- Welcome to my little slice of the internet where I talk about my projects, give my opinions on things in the tech world,
- and just generally rant about things. Expect opinionated views from me.
-
-
- Will this be the best site to learn new tech things and get super handy developer tips?
-
-
- Probably not.
-
-
- But will this site have good entertaining content that the whole family looks forward to?
-
-
- Again probably not.
-
-
- Saying that I do hope that some of my developer experiences can help you or you perhaps get a good chuckle from my rantings
- every now and then.
-
-
- Oh and just in case you couldn't tell yet, this site is 99% the blog-template from
- Astro π (an awesome static content framework that this site is built from)!
- I'm slowly working on this site to give it my own vibe, and I'm using the generated content to learn how to use Astro.
- So if you see anything that looks generated, then I just haven't got around to update it yet.
-
-
- So to wrap it up: welcome to my site, expect opinionated views, forgive the rough edges, and enjoy what you read!
-
-
-
-
+
+
+
+
+
+
+
+
+
Well hello there! π
+
+
+
+ Welcome to my little slice of the internet where I talk about my
+ projects, give my opinions on things in the tech world, and just
+ generally rant about things. Expect opinionated views from me.
+
+
+ Will this be the best site to learn new tech things and get super handy
+ developer tips?
+
+ Probably not.
+
+ But will this site have good entertaining content that the whole family
+ looks forward to?
+
+ Again probably not.
+
+ Saying that I do hope that some of my developer experiences can help you
+ or you perhaps get a good chuckle from my rantings every now and then.
+
+
+ Oh and just in case you couldn't tell yet, this site is 99% the
+ blog-template from
+ Astro π (an awesome static content framework
+ that this site is built from)! I'm slowly working on this site to give it
+ my own vibe, and I'm using the generated content to learn how to use Astro.
+ So if you see anything that looks generated, then I just haven't got around
+ to update it yet.
+
+
+ So to wrap it up: welcome to my site, expect opinionated views, forgive
+ the rough edges, and enjoy what you read!
+
+
+
+
diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js
index 8262c2a..e2ce1c2 100644
--- a/src/pages/rss.xml.js
+++ b/src/pages/rss.xml.js
@@ -3,16 +3,16 @@ import { getCollection } from 'astro:content';
import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
export async function GET(context) {
- const blogCollection = await getCollection('blog');
- const blogPosts = Array.isArray(blogCollection) ? blogCollection : [];
+ const blogCollection = await getCollection('blog');
+ const blogPosts = Array.isArray(blogCollection) ? blogCollection : [];
- return rss({
- title: SITE_TITLE,
- description: SITE_DESCRIPTION,
- site: context.site,
- items: blogPosts.map((post) => ({
- ...post.data,
- link: `/blog/${post.slug}/`,
- })),
- });
+ return rss({
+ title: SITE_TITLE,
+ description: SITE_DESCRIPTION,
+ site: context.site,
+ items: blogPosts.map((post) => ({
+ ...post.data,
+ link: `/blog/${post.slug}/`,
+ })),
+ });
}
diff --git a/src/styles/global.css b/src/styles/global.css
index fe9ecf0..b9dd11d 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -5,48 +5,48 @@
*/
:root {
- --accent: #2337ff;
- --accent-dark: #000d8a;
- --black: 15, 18, 25;
- --gray: 96, 115, 159;
- --gray-light: 229, 233, 240;
- --gray-dark: 34, 41, 57;
- --gray-gradient: rgba(var(--gray-light), 50%), #fff;
- --box-shadow: 0 2px 6px rgba(var(--gray), 25%), 0 8px 24px rgba(var(--gray), 33%),
- 0 16px 32px rgba(var(--gray), 33%);
+ --accent: #2337ff;
+ --accent-dark: #000d8a;
+ --black: 15, 18, 25;
+ --gray: 96, 115, 159;
+ --gray-light: 229, 233, 240;
+ --gray-dark: 34, 41, 57;
+ --gray-gradient: rgba(var(--gray-light), 50%), #fff;
+ --box-shadow: 0 2px 6px rgba(var(--gray), 25%),
+ 0 8px 24px rgba(var(--gray), 33%), 0 16px 32px rgba(var(--gray), 33%);
}
@font-face {
- font-family: 'Atkinson';
- src: url('/fonts/atkinson-regular.woff') format('woff');
- font-weight: 400;
- font-style: normal;
- font-display: swap;
+ font-family: 'Atkinson';
+ src: url('/fonts/atkinson-regular.woff') format('woff');
+ font-weight: 400;
+ font-style: normal;
+ font-display: swap;
}
@font-face {
- font-family: 'Atkinson';
- src: url('/fonts/atkinson-bold.woff') format('woff');
- font-weight: 700;
- font-style: normal;
- font-display: swap;
+ font-family: 'Atkinson';
+ src: url('/fonts/atkinson-bold.woff') format('woff');
+ font-weight: 700;
+ font-style: normal;
+ font-display: swap;
}
body {
- font-family: 'Atkinson', sans-serif;
- margin: 0;
- padding: 0;
- text-align: left;
- background: linear-gradient(var(--gray-gradient)) no-repeat;
- background-size: 100% 600px;
- word-wrap: break-word;
- overflow-wrap: break-word;
- color: rgb(var(--gray-dark));
- font-size: 20px;
- line-height: 1.7;
+ font-family: 'Atkinson', sans-serif;
+ margin: 0;
+ padding: 0;
+ text-align: left;
+ background: linear-gradient(var(--gray-gradient)) no-repeat;
+ background-size: 100% 600px;
+ word-wrap: break-word;
+ overflow-wrap: break-word;
+ color: rgb(var(--gray-dark));
+ font-size: 20px;
+ line-height: 1.7;
}
main {
- width: 720px;
- max-width: calc(100% - 2em);
- margin: auto;
- padding: 3em 1em;
+ width: 720px;
+ max-width: calc(100% - 2em);
+ margin: auto;
+ padding: 3em 1em;
}
h1,
h2,
@@ -54,101 +54,101 @@ h3,
h4,
h5,
h6 {
- margin: 0 0 0.5rem 0;
- color: rgb(var(--black));
- line-height: 1.2;
+ margin: 0 0 0.5rem 0;
+ color: rgb(var(--black));
+ line-height: 1.2;
}
h1 {
- font-size: 3.052em;
+ font-size: 3.052em;
}
h2 {
- font-size: 2.441em;
+ font-size: 2.441em;
}
h3 {
- font-size: 1.953em;
+ font-size: 1.953em;
}
h4 {
- font-size: 1.563em;
+ font-size: 1.563em;
}
h5 {
- font-size: 1.25em;
+ font-size: 1.25em;
}
strong,
b {
- font-weight: 700;
+ font-weight: 700;
}
a {
- color: var(--accent);
+ color: var(--accent);
}
a:hover {
- color: var(--accent);
+ color: var(--accent);
}
p {
- margin-bottom: 1em;
+ margin-bottom: 1em;
}
.prose p {
- margin-bottom: 2em;
+ margin-bottom: 2em;
}
textarea {
- width: 100%;
- font-size: 16px;
+ width: 100%;
+ font-size: 16px;
}
input {
- font-size: 16px;
+ font-size: 16px;
}
table {
- width: 100%;
+ width: 100%;
}
img {
- max-width: 100%;
- height: auto;
- border-radius: 8px;
+ max-width: 100%;
+ height: auto;
+ border-radius: 8px;
}
code {
- padding: 2px 5px;
- background-color: rgb(var(--gray-light));
- border-radius: 2px;
+ padding: 2px 5px;
+ background-color: rgb(var(--gray-light));
+ border-radius: 2px;
}
pre {
- padding: 1.5em;
- border-radius: 8px;
+ padding: 1.5em;
+ border-radius: 8px;
}
pre > code {
- all: unset;
+ all: unset;
}
blockquote {
- border-left: 4px solid var(--accent);
- padding: 0 0 0 20px;
- margin: 0px;
- font-size: 1.333em;
+ border-left: 4px solid var(--accent);
+ padding: 0 0 0 20px;
+ margin: 0px;
+ font-size: 1.333em;
}
hr {
- border: none;
- border-top: 1px solid rgb(var(--gray-light));
+ border: none;
+ border-top: 1px solid rgb(var(--gray-light));
}
@media (max-width: 720px) {
- body {
- font-size: 18px;
- }
- main {
- padding: 1em;
- }
+ body {
+ font-size: 18px;
+ }
+ main {
+ padding: 1em;
+ }
}
.sr-only {
- border: 0;
- padding: 0;
- margin: 0;
- position: absolute !important;
- height: 1px;
- width: 1px;
- overflow: hidden;
- /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */
- clip: rect(1px 1px 1px 1px);
- /* maybe deprecated but we need to support legacy browsers */
- clip: rect(1px, 1px, 1px, 1px);
- /* modern browsers, clip-path works inwards from each corner */
- clip-path: inset(50%);
- /* added line to stop words getting smushed together (as they go onto seperate lines and some screen readers do not understand line feeds as a space */
- white-space: nowrap;
+ border: 0;
+ padding: 0;
+ margin: 0;
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */
+ clip: rect(1px 1px 1px 1px);
+ /* maybe deprecated but we need to support legacy browsers */
+ clip: rect(1px, 1px, 1px, 1px);
+ /* modern browsers, clip-path works inwards from each corner */
+ clip-path: inset(50%);
+ /* added line to stop words getting smushed together (as they go onto seperate lines and some screen readers do not understand line feeds as a space */
+ white-space: nowrap;
}
diff --git a/tsconfig.json b/tsconfig.json
index 7a36ca0..0fc51d7 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -3,4 +3,4 @@
"compilerOptions": {
"strictNullChecks": true
}
-}
\ No newline at end of file
+}