Skip to content

Commit 1d4840a

Browse files
committed
- adding images
- adding pages - adding styling - adding components
1 parent e01d277 commit 1d4840a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+240
-201
lines changed

src/assets/illustration/01.jpg

146 KB

src/assets/illustration/01t.jpg

4.37 KB

src/assets/illustration/02.jpg

156 KB

src/assets/illustration/02t.jpg

6.6 KB

src/assets/illustration/03.jpg

533 KB

src/assets/illustration/03t.jpg

7.4 KB

src/assets/illustration/04.jpg

201 KB

src/assets/illustration/04t.jpg

5.89 KB

src/assets/illustration/05.jpg

175 KB

src/assets/illustration/05t.jpg

4.85 KB

src/assets/illustration/06.jpg

623 KB

src/assets/illustration/06t.jpg

5.47 KB

src/assets/illustration/07.jpg

190 KB

src/assets/illustration/07t.jpg

5.08 KB

src/assets/illustration/08.jpg

116 KB

src/assets/illustration/08t.jpg

3.71 KB

src/assets/illustration/09.jpg

202 KB

src/assets/illustration/09t.jpg

5.44 KB

src/assets/illustration/10.jpg

659 KB

src/assets/illustration/10t.jpg

6.05 KB

src/assets/illustration/11.jpg

167 KB

src/assets/illustration/11t.jpg

3.5 KB

src/assets/illustration/12.jpg

166 KB

src/assets/illustration/12t.jpg

4.96 KB

src/assets/illustration/13.jpg

183 KB

src/assets/illustration/13t.jpg

2.88 KB

src/assets/illustration/14.jpg

191 KB

src/assets/illustration/14t.jpg

6.33 KB

src/assets/illustration/15.jpg

205 KB

src/assets/illustration/15t.jpg

7.16 KB

src/assets/illustration/16.jpg

504 KB

src/assets/illustration/16t.jpg

5.05 KB

src/assets/illustration/17.jpg

225 KB

src/assets/illustration/17t.jpg

6.72 KB

src/assets/illustration/18.jpg

142 KB

src/assets/illustration/18t.jpg

6.93 KB

src/assets/illustration/19.jpg

187 KB

src/assets/illustration/19t.jpg

3.19 KB

src/assets/illustration/20.jpg

458 KB

src/assets/illustration/20t.jpg

6.44 KB

src/assets/illustration/21.jpg

172 KB

src/assets/illustration/21t.jpg

5.59 KB

src/assets/jupiterjak/jupiter.png

192 KB

src/assets/jupiterjak/stars.png

27.1 KB

src/components/Footer.astro

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
3+
---
4+
5+
<footer>
6+
<p>&copy; 2025 Mark S. Fisher | Site by <a href="https://wyliefisher.com">Wylie</a></p>
7+
</footer>
8+
9+
<style>
10+
footer {
11+
display: flex;
12+
justify-content: center;
13+
width: 1051px;
14+
margin: 1rem auto 0;
15+
padding: 1rem 0;
16+
border-top: 1px solid #ccc;
17+
}
18+
footer p {
19+
padding: 0;
20+
margin: 0;
21+
}
22+
footer a {
23+
color: #fff;
24+
}
25+
</style>

src/components/Header.astro

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
import Nav from "./Nav.astro"
3+
---
4+
5+
<header class="header">
6+
<h1><a href="/">Mark S. Fisher</a></h1>
7+
<Nav />
8+
</header>
9+
10+
<style>
11+
.header {
12+
display: flex;
13+
flex-direction: column;
14+
align-items: center;
15+
width: 1051px;
16+
margin: 0 auto 1rem;
17+
padding: 0 0 1rem;
18+
border-bottom: 3px solid #ccc;
19+
}
20+
h1 {
21+
margin: 0;
22+
color: #fff;
23+
}
24+
h1 a {
25+
text-decoration: none;
26+
color: #fff;
27+
}
28+
</style>

src/components/Nav.astro

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
---
3+
4+
<nav>
5+
<a href="/illustration" title="link">illustration</a>
6+
<a href="/jupiterjak" title="link">Jupiter Jak</a>
7+
</nav>
8+
9+
<style>
10+
nav {
11+
display: flex;
12+
gap: 1rem;
13+
}
14+
a {
15+
color: #fff !important;
16+
}
17+
18+
</style>

src/components/Welcome.astro

+2-199
Original file line numberDiff line numberDiff line change
@@ -1,209 +1,12 @@
11
---
2-
import astroLogo from '../assets/astro.svg';
3-
import background from '../assets/background.svg';
42
---
53

64
<div id="container">
7-
<img id="background" src={background.src} alt="" fetchpriority="high" />
8-
<main>
9-
<section id="hero">
10-
<a href="https://astro.build"
11-
><img src={astroLogo.src} width="115" height="48" alt="Astro Homepage" /></a
12-
>
13-
<h1>
14-
To get started, open the <code><pre>src/pages</pre></code> directory in your project.
15-
</h1>
16-
<section id="links">
17-
<a class="button" href="https://docs.astro.build">Read our docs</a>
18-
<a href="https://astro.build/chat"
19-
>Join our Discord <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36"
20-
><path
21-
fill="currentColor"
22-
d="M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83 97.68 97.68 0 0 0-29.11 0A72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.25 8.09C2.79 32.65-1.71 56.6.54 80.21a105.73 105.73 0 0 0 32.17 16.15 77.7 77.7 0 0 0 6.89-11.11 68.42 68.42 0 0 1-10.85-5.18c.91-.66 1.8-1.34 2.66-2a75.57 75.57 0 0 0 64.32 0c.87.71 1.76 1.39 2.66 2a68.68 68.68 0 0 1-10.87 5.19 77 77 0 0 0 6.89 11.1 105.25 105.25 0 0 0 32.19-16.14c2.64-27.38-4.51-51.11-18.9-72.15ZM42.45 65.69C36.18 65.69 31 60 31 53s5-12.74 11.43-12.74S54 46 53.89 53s-5.05 12.69-11.44 12.69Zm42.24 0C78.41 65.69 73.25 60 73.25 53s5-12.74 11.44-12.74S96.23 46 96.12 53s-5.04 12.69-11.43 12.69Z"
23-
></path></svg
24-
>
25-
</a>
26-
</section>
27-
</section>
28-
</main>
29-
30-
<a href="https://astro.build/blog/astro-5/" id="news" class="box">
31-
<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"
32-
><path
33-
d="M24.667 12c1.333 1.414 2 3.192 2 5.334 0 4.62-4.934 5.7-7.334 12C18.444 28.567 18 27.456 18 26c0-4.642 6.667-7.053 6.667-14Zm-5.334-5.333c1.6 1.65 2.4 3.43 2.4 5.333 0 6.602-8.06 7.59-6.4 17.334C13.111 27.787 12 25.564 12 22.666c0-4.434 7.333-8 7.333-16Zm-6-5.333C15.111 3.555 16 5.556 16 7.333c0 8.333-11.333 10.962-5.333 22-3.488-.774-6-4-6-8 0-8.667 8.666-10 8.666-20Z"
34-
fill="#111827"></path></svg
35-
>
36-
<h2>What's New in Astro 5.0?</h2>
37-
<p>
38-
From content layers to server islands, click to learn more about the new features and
39-
improvements in Astro 5.0
40-
</p>
41-
</a>
5+
Welcome to my website!
426
</div>
437

448
<style>
45-
#background {
46-
position: fixed;
47-
top: 0;
48-
left: 0;
49-
width: 100%;
50-
height: 100%;
51-
z-index: -1;
52-
filter: blur(100px);
53-
}
54-
55-
#container {
56-
font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
57-
height: 100%;
58-
}
59-
60-
main {
61-
height: 100%;
62-
display: flex;
63-
justify-content: center;
64-
}
65-
66-
#hero {
67-
display: flex;
68-
align-items: start;
69-
flex-direction: column;
70-
justify-content: center;
71-
padding: 16px;
72-
}
73-
74-
h1 {
75-
font-size: 22px;
76-
margin-top: 0.25em;
77-
}
78-
79-
#links {
80-
display: flex;
81-
gap: 16px;
82-
}
83-
84-
#links a {
9+
div {
8510
display: flex;
86-
align-items: center;
87-
padding: 10px 12px;
88-
color: #111827;
89-
text-decoration: none;
90-
transition: color 0.2s;
91-
}
92-
93-
#links a:hover {
94-
color: rgb(78, 80, 86);
95-
}
96-
97-
#links a svg {
98-
height: 1em;
99-
margin-left: 8px;
100-
}
101-
102-
#links a.button {
103-
color: white;
104-
background: linear-gradient(83.21deg, #3245ff 0%, #bc52ee 100%);
105-
box-shadow:
106-
inset 0 0 0 1px rgba(255, 255, 255, 0.12),
107-
inset 0 -2px 0 rgba(0, 0, 0, 0.24);
108-
border-radius: 10px;
109-
}
110-
111-
#links a.button:hover {
112-
color: rgb(230, 230, 230);
113-
box-shadow: none;
114-
}
115-
116-
pre {
117-
font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas,
118-
'DejaVu Sans Mono', monospace;
119-
font-weight: normal;
120-
background: linear-gradient(14deg, #d83333 0%, #f041ff 100%);
121-
-webkit-background-clip: text;
122-
-webkit-text-fill-color: transparent;
123-
background-clip: text;
124-
margin: 0;
125-
}
126-
127-
h2 {
128-
margin: 0 0 1em;
129-
font-weight: normal;
130-
color: #111827;
131-
font-size: 20px;
132-
}
133-
134-
p {
135-
color: #4b5563;
136-
font-size: 16px;
137-
line-height: 24px;
138-
letter-spacing: -0.006em;
139-
margin: 0;
140-
}
141-
142-
code {
143-
display: inline-block;
144-
background:
145-
linear-gradient(66.77deg, #f3cddd 0%, #f5cee7 100%) padding-box,
146-
linear-gradient(155deg, #d83333 0%, #f041ff 18%, #f5cee7 45%) border-box;
147-
border-radius: 8px;
148-
border: 1px solid transparent;
149-
padding: 6px 8px;
150-
}
151-
152-
.box {
153-
padding: 16px;
154-
background: rgba(255, 255, 255, 1);
155-
border-radius: 16px;
156-
border: 1px solid white;
157-
}
158-
159-
#news {
160-
position: absolute;
161-
bottom: 16px;
162-
right: 16px;
163-
max-width: 300px;
164-
text-decoration: none;
165-
transition: background 0.2s;
166-
backdrop-filter: blur(50px);
167-
}
168-
169-
#news:hover {
170-
background: rgba(255, 255, 255, 0.55);
171-
}
172-
173-
@media screen and (max-height: 368px) {
174-
#news {
175-
display: none;
176-
}
177-
}
178-
179-
@media screen and (max-width: 768px) {
180-
#container {
181-
display: flex;
182-
flex-direction: column;
183-
}
184-
185-
#hero {
186-
display: block;
187-
padding-top: 10%;
188-
}
189-
190-
#links {
191-
flex-wrap: wrap;
192-
}
193-
194-
#links a.button {
195-
padding: 14px 18px;
196-
}
197-
198-
#news {
199-
right: 16px;
200-
left: 16px;
201-
bottom: 2.5rem;
202-
max-width: 100%;
203-
}
204-
205-
h1 {
206-
line-height: 1.5;
207-
}
20811
}
20912
</style>

src/layouts/Layout.astro

+30-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
1+
---
2+
import Header from '../components/Header.astro';
3+
import Footer from '../components/Footer.astro';
4+
5+
---
16
<!doctype html>
27
<html lang="en">
38
<head>
49
<meta charset="UTF-8" />
510
<meta name="viewport" content="width=device-width" />
611
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
712
<meta name="generator" content={Astro.generator} />
8-
<title>Astro Basics</title>
13+
<link rel="preconnect" href="https://fonts.googleapis.com">
14+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
15+
<link href="https://fonts.googleapis.com/css2?family=Outfit:[email protected]&display=swap" rel="stylesheet">
16+
<title>Mark S. Fisher</title>
917
</head>
1018
<body>
11-
<slot />
19+
<Header />
20+
<main>
21+
<slot />
22+
</main>
23+
<Footer />
1224
</body>
1325
</html>
1426

@@ -18,5 +30,21 @@
1830
margin: 0;
1931
width: 100%;
2032
height: 100%;
33+
font-family: "Outfit", serif;
34+
font-optical-sizing: auto;
35+
font-weight: 300;
36+
font-style: normal;
37+
background-color: #231f20;
38+
color: #fff !important;
39+
}
40+
body {
41+
display: grid;
42+
grid-template-rows: auto 1fr auto;
43+
}
44+
main {
45+
width: 1051px;
46+
margin: 0 auto;
47+
display: flex;
48+
justify-content: center;
2149
}
2250
</style>

0 commit comments

Comments
 (0)