Skip to content

Commit

Permalink
Merge pull request #25 from DrewMcArthur/search-console-fixes
Browse files Browse the repository at this point in the history
Search console fixes
  • Loading branch information
DrewMcArthur authored Feb 2, 2024
2 parents f6b3349 + 0a38b5a commit 720bb50
Show file tree
Hide file tree
Showing 16 changed files with 46 additions and 55 deletions.
Binary file modified public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion public/about.txt → public/icons/about.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ This favicon was generated using the following font:

- Font Title: Arvo
- Font Author: Copyright 2010 Anton Koovit, Yassin Baggar.
- Font Source: http://fonts.gstatic.com/s/arvo/v20/tDbD2oWUg0MKmSAa7Lzr7vs.ttf
- Font Source: http://fonts.gstatic.com/s/arvo/v22/tDbD2oWUg0MKmSAa7Lzr7vs.ttf
- Font License: SIL Open Font License, 1.1 (http://scripts.sil.org/OFL))
2 changes: 2 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /projects/trident
8 changes: 4 additions & 4 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Drew McArthur | drewmca.dev",
"short_name": "drewmca.dev",
"name": "drew mca | drewmca.dev",
"short_name": "drew mca",
"icons": [
{
"src": "/android-chrome-192x192.png",
Expand All @@ -13,7 +13,7 @@
"type": "image/png"
}
],
"theme_color": "antiquewhite",
"background_color": "antiquewhite",
"theme_color": "#FAF0E6",
"background_color": "#FAF0E6",
"display": "minimal-ui"
}
8 changes: 3 additions & 5 deletions src/components/SimpleIcon.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ const { name } = Astro.props;

<img
class={`social-icon ${name}`}
alt={`icon for ${name} link`}
height="32"
width="32"
{/* TODO: remove condition once #8856 is merged in simple-icons */}
src={name === "bluesky"
? "https://raw.githubusercontent.com/simple-icons/simple-icons/29300bc89dfc8e652020338ad3a399fdfb9019fd/icons/bluesky.svg"
: `https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/${name}.svg`}
/>
src={`https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/${name}.svg`}
/>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const currentTitle = sections[section].title;
<div class="dropdown">
<div class="dropbtn">{section}. {currentTitle}</div>
<div class="dropdown-content">
{sections.map((section, index) => <TridentSectionLink section={index} />)}
{sections.map((_, index) => <TridentSectionLink section={index} />)}
</div>
</div>

Expand Down
14 changes: 0 additions & 14 deletions src/data/tridentConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,6 @@
"scrollTotalOffset": "0",
"date": "December 11, 2023"
},
{
"title": "Full Interview - Peter Jones",
"audioSource": "/audio/peter.mp3",
"scrollStartOffset": "10",
"scrollTotalOffset": "45",
"date": "October 13, 2023"
},
{
"title": "Full Interview - Caroline Shaw",
"audioSource": "/audio/caroline.mp3",
"scrollStartOffset": "16",
"scrollTotalOffset": "60",
"date": "November 26, 2023"
},
{
"title": "(Bonus) Audio Tour",
"audioSource": "/audio/tour.mp3",
Expand Down
25 changes: 15 additions & 10 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
---
import App from '../components/App.astro';
import '../styles/main.css';
import App from "../components/App.astro";
import "../styles/main.css";
---
<html>

<html lang="en">
<head>
<title>drewmca.dev</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<title>drew mca | drewmca.dev</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="Homepage for Drew McArthur, @drewmca.dev. A software engineer, media scholar, and systems thinker."
/>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
</head>
<body>
<App />
Expand Down
5 changes: 0 additions & 5 deletions src/pages/projects/trident/sections/7.astro

This file was deleted.

5 changes: 0 additions & 5 deletions src/pages/projects/trident/sections/8.astro

This file was deleted.

30 changes: 20 additions & 10 deletions src/styles/main.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
:root {
--background-color: antiquewhite;

--main-color: #394f4f;
--light-color: #6b7d7d;

--main-color--hover: #1b3333;
--color1: #FAF0E6;
--color2: #DBD3CA;
--color3: #807A75;
--color4: #4D4946;
--color5: #292726;

/* to calculate, put the above hex into https://codepen.io/sosuke/pen/Pjoqqp */
--background-color-filter: invert(100%) sepia(86%) saturate(795%) hue-rotate(299deg) brightness(107%) contrast(96%);
--color1-filter: invert(98%) sepia(31%) saturate(480%) hue-rotate(301deg) brightness(101%) contrast(96%);
--color2-filter: invert(92%) sepia(25%) saturate(102%) hue-rotate(340deg) brightness(90%) contrast(90%);
--color3-filer: invert(55%) sepia(2%) saturate(1547%) hue-rotate(345deg) brightness(86%) contrast(74%);
--color4-filter: invert(26%) sepia(18%) saturate(167%) hue-rotate(344deg) brightness(94%) contrast(85%);
--color5-filter: invert(11%) sepia(34%) saturate(76%) hue-rotate(335deg) brightness(98%) contrast(89%);

--main-color--hover: #000;
--main-color-filter--hover: invert(0%) sepia(2%) saturate(9%) hue-rotate(27deg) brightness(90%) contrast(102%);

--main-color-filter: invert(27%) sepia(15%) saturate(626%) hue-rotate(131deg) brightness(96%) contrast(91%);
--background-color: var(--color1);
--main-color: var(--color5);
--light-color: var(--color4);

--main-color-filter--hover: invert(15%) sepia(8%) saturate(2382%) hue-rotate(131deg) brightness(93%) contrast(89%);
--background-color-filter: var(--color1-filter);
--main-color-filter: var(--color5-filter);
--light-color-filter: var(--color4-filter);

/** animation timing **/
--flyin-timing: cubic-bezier(0, 1, 0, 1);
Expand Down Expand Up @@ -141,7 +151,7 @@ a {

.social-icon {
margin: 5px;
filter: var(--main-color-filter);
filter: var(--light-color-filter);
}

.social-text {
Expand Down

0 comments on commit 720bb50

Please sign in to comment.