Merge branch 'master' of github.com:alexbazzi/website
This commit is contained in:
commit
039c365ecb
33
.github/workflows/deploy-site.yaml
vendored
Normal file
33
.github/workflows/deploy-site.yaml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
name: Deploy to AWS S3 and Invalidate CloudFront
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master # Adjust this to your repository's default branch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Sync to S3
|
||||||
|
uses: jakejarvis/s3-sync-action@master
|
||||||
|
with:
|
||||||
|
args: --acl public-read --follow-symlinks --delete
|
||||||
|
env:
|
||||||
|
AWS_S3_BUCKET: www.xbazzi.com
|
||||||
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
AWS_REGION: 'us-east-1' # e.g., us-east-1
|
||||||
|
SOURCE_DIR: './' # The root of your repository; adjust if your files are in a subdirectory
|
||||||
|
|
||||||
|
- name: Invalidate CloudFront Distribution
|
||||||
|
uses: chetan/invalidate-cloudfront-action@v1
|
||||||
|
env:
|
||||||
|
DISTRIBUTION: E3VV7PXHG95EM0
|
||||||
|
PATHS: '/*'
|
||||||
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
AWS_REGION: 'us-east-1'
|
BIN
assets/img/beach-night-bg.webp
Normal file
BIN
assets/img/beach-night-bg.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 284 KiB |
BIN
assets/img/bg-beach.png
Normal file
BIN
assets/img/bg-beach.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 MiB |
BIN
assets/img/bg-beach2.png
Normal file
BIN
assets/img/bg-beach2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 MiB |
@ -1,16 +1,15 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Monocraft";
|
font-family: "Monocraft";
|
||||||
src: local("Monocraft");
|
src: local("Monocraft");
|
||||||
/* src: url("https://github.com/IdreesInc/Monocraft/releases/download/v3.0/Monocraft.ttf") format("truetype"); */
|
src: url("https://www.xbazzi.com/Monocraft.ttf") format("truetype");
|
||||||
/* src: url("https://sadhost.neocities.org/fonts/FreePixel.ttf") format("truetype"); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--background: #0E191A;
|
--background: rgba(150, 150, 150, 0.95);
|
||||||
--main-color:#7107AF;
|
--main-color:#bf00ff;
|
||||||
--main-color-dk:#441261;
|
--main-color-dk:#441261;
|
||||||
--accent-1:#B5E61D;
|
--accent-1: #0000ff;
|
||||||
--accent-2:#EB53D3;
|
--accent-2:#00FFFF;
|
||||||
--content-spacing:5px;
|
--content-spacing:5px;
|
||||||
--background-img:url('../img/beach-night-bg.webp');
|
--background-img:url('../img/beach-night-bg.webp');
|
||||||
--banner:url('../img/bg_ascii2.png');
|
--banner:url('../img/bg_ascii2.png');
|
||||||
@ -21,7 +20,6 @@
|
|||||||
--link-color:var(--accent-1);
|
--link-color:var(--accent-1);
|
||||||
--border:2px solid black;
|
--border:2px solid black;
|
||||||
--arrows:url('../assets/images/arrow.png');
|
--arrows:url('../assets/images/arrow.png');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html,
|
html,
|
||||||
@ -43,9 +41,15 @@ body {
|
|||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
height:150px;
|
height:150px;
|
||||||
margin-bottom:var(--content-spacing);
|
margin-bottom:var(--content-spacing);
|
||||||
border:var(--border);
|
/* border:var(--border); */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.blog {
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 5px; /* Add some space around the text */
|
||||||
|
display: inline-block; /* Ensure the background only covers the text */
|
||||||
|
|
||||||
|
}
|
||||||
#container,
|
#container,
|
||||||
.topbar img {
|
.topbar img {
|
||||||
max-width: 850px;
|
max-width: 850px;
|
||||||
@ -90,19 +94,30 @@ body::before {
|
|||||||
}
|
}
|
||||||
|
|
||||||
aside {
|
aside {
|
||||||
width: 30%;
|
font-weight: bold;
|
||||||
|
width: 25%;
|
||||||
|
margin: 5px; /* Add some space around the text */
|
||||||
margin-left:var(--content-spacing);
|
margin-left:var(--content-spacing);
|
||||||
border-left:var(--border);
|
border-left:var(--border);
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
opacity: 0.9;
|
|
||||||
}
|
}
|
||||||
|
.sidebar-title {
|
||||||
|
|
||||||
.title, .sidebar-title {
|
|
||||||
background-image:var(--titleBars);
|
background-image:var(--titleBars);
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
|
font-size: 25px;
|
||||||
border:var(--border);
|
border:var(--border);
|
||||||
font-size:20px;
|
color: var(--title-text-color);
|
||||||
color: var(--text-color);
|
text-shadow: var(--text-shadow-custom);
|
||||||
|
}
|
||||||
|
.title {
|
||||||
|
background-image:var(--titleBars);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
padding: 5px;
|
||||||
|
font-weight:bold;
|
||||||
|
font-size: 25px;
|
||||||
|
border:var(--border);
|
||||||
|
color: var(--title-text-color);
|
||||||
text-shadow: var(--text-shadow-custom);
|
text-shadow: var(--text-shadow-custom);
|
||||||
/*position: sticky;*/
|
/*position: sticky;*/
|
||||||
}
|
}
|
||||||
@ -117,7 +132,6 @@ aside {
|
|||||||
|
|
||||||
main {
|
main {
|
||||||
width: 74%;
|
width: 74%;
|
||||||
background-color: var(--background);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
@ -137,17 +151,19 @@ nav ul li a {
|
|||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding:25px;
|
padding:25px;
|
||||||
|
opacity: 1;
|
||||||
|
background-color: var(--background);
|
||||||
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
/*border:var(--border);*/
|
|
||||||
background-image: var(--banner-footer);
|
background-image: var(--banner-footer);
|
||||||
/*background-size: 100% 100%;*/
|
|
||||||
height:30px;
|
height:30px;
|
||||||
margin-bottom:var(--content-spacing);
|
margin-bottom:var(--content-spacing);
|
||||||
margin-top:var(--content-spacing);
|
margin-top:var(--content-spacing);
|
||||||
text-align:center;
|
text-align:center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* button styles */
|
/* button styles */
|
||||||
button {
|
button {
|
||||||
background-image:var(--titleBars);
|
background-image:var(--titleBars);
|
||||||
@ -170,8 +186,8 @@ h2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#themeDiv {
|
#themeDiv {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 550px;
|
top: 550px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 640px) {
|
@media only screen and (max-width: 640px) {
|
||||||
@ -188,7 +204,7 @@ top: 550px;
|
|||||||
}
|
}
|
||||||
aside {
|
aside {
|
||||||
display:block;
|
display:block;
|
||||||
width:100%;
|
width:50%;
|
||||||
order:1;
|
order:1;
|
||||||
margin-left:0;
|
margin-left:0;
|
||||||
}
|
}
|
||||||
@ -202,9 +218,10 @@ top: 550px;
|
|||||||
nav ul > ul {
|
nav ul > ul {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-height: 640px) {
|
||||||
|
nav ul > ul {
|
||||||
|
display:none;
|
||||||
}
|
}
|
||||||
@media only screen and (max-height: 640px) {
|
}
|
||||||
nav ul > ul {
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
}
|
|
17
index.html
17
index.html
@ -9,7 +9,7 @@
|
|||||||
<link rel="stylesheet" href="assets/style/style.css">
|
<link rel="stylesheet" href="assets/style/style.css">
|
||||||
<!-- <script src="assets/scripts/load.js"></script> -->
|
<!-- <script src="assets/scripts/load.js"></script> -->
|
||||||
<!-- <script src="//gc.zgo.at/count.js" data-goatcounter="https://sadgrl.goatcounter.com/count" async=""></script> -->
|
<!-- <script src="//gc.zgo.at/count.js" data-goatcounter="https://sadgrl.goatcounter.com/count" async=""></script> -->
|
||||||
<link rel="icon" href="/assets/images/fav.gif" type="image/gif">
|
<script src="https://kit.fontawesome.com/e6a86da546.js" crossorigin="anonymous"></script> <link rel="icon" href="/assets/images/fav.gif" type="image/gif">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -19,31 +19,32 @@
|
|||||||
|
|
||||||
<main>
|
<main>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<div class="title"> About</div>
|
<div class="title"> <span class="fa-solid fa-user"></span> whoami</div>
|
||||||
|
<div class="contentDaddy">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>
|
<p>
|
||||||
Network, aerospace, and software engineer turned
|
Network, aerospace, and software engineer turned
|
||||||
cybersecurity professional. Interested in the intersection of AI with cybersecurity,
|
cybersecurity professional. Exploring the applications of AI in offensive security,
|
||||||
software-defined networking, and serverless architectures.
|
software-defined networking, and serverless architectures.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="title"> <span class="fa-solid fa-wrench"></span> updates
|
||||||
<div class="title"> What's new?
|
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
<p class="update">01/10/2024: Generated the cool bg image with DALL-E.</p>
|
||||||
<p class="update">12/26/2023: This site is
|
<p class="update">12/26/2023: This site is
|
||||||
officially online.</p>
|
officially online.</p>
|
||||||
<p class="update">12/05/2023: Finished the home
|
<p class="update">12/05/2023: Finished the home
|
||||||
datacenter project.</p>
|
datacenter project.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="title"> Blog posts</div>
|
<div class="title"> <span class="fa-solid fa-commenting"></span> blog </div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p><a href='./homenetwork.html'>
|
<p class="blog"><a href='./homenetwork.html'>
|
||||||
Home "datacenter" is what Americans needed,
|
Home "datacenter" is what Americans needed,
|
||||||
but didn't deserve.
|
but didn't deserve.
|
||||||
</a></p>
|
</a></p>
|
||||||
<p><a href='./juniperfanmod.html'>
|
<p class="blog"><a href='./juniperfanmod.html'>
|
||||||
Bribing a loud enterprise switch with Noctua fans.
|
Bribing a loud enterprise switch with Noctua fans.
|
||||||
</a></p>
|
</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user