basic project card and projects page setup
@@ -1,8 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
# php -- BEGIN cPanel-generated handler, do not edit
|
|
||||||
# Set the “ea-php80” package as the default “PHP” programming language.
|
|
||||||
<IfModule mime_module>
|
|
||||||
AddHandler application/x-httpd-ea-php80___lsphp .php .php8 .phtml
|
|
||||||
</IfModule>
|
|
||||||
# php -- END cPanel-generated handler, do not edit
|
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<!-- Required meta tags -->
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- CSS only -->
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
|
||||||
|
<link href="css/style.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<title>Josh Ashton</title>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<!-- Navigation -->
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||||
|
<a class="navbar-brand" href="index.html">Josh Ashton</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarNav">
|
||||||
|
<ul class="navbar-nav nav-fill w-100">
|
||||||
|
<a class="nav-link" href="projects">
|
||||||
|
<li class="nav-item">Projects</li>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="nav-link" href="about.html">
|
||||||
|
<li class="nav-item">About</li>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="nav-link" href="contact.html">
|
||||||
|
<li class="nav-item">Contact</li>
|
||||||
|
</a>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<p>About me</p>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
|
||||||
|
<!-- JavaScript Bundle with Popper -->
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<!-- Required meta tags -->
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- CSS only -->
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
|
||||||
|
<link href="css/style.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<title>Josh Ashton</title>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<!-- Navigation -->
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||||
|
<a class="navbar-brand" href="index.html">Josh Ashton</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarNav">
|
||||||
|
<ul class="navbar-nav nav-fill w-100">
|
||||||
|
<a class="nav-link" href="projects">
|
||||||
|
<li class="nav-item">Projects</li>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="nav-link" href="about.html">
|
||||||
|
<li class="nav-item">About</li>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="nav-link" href="contact.html">
|
||||||
|
<li class="nav-item">Contact</li>
|
||||||
|
</a>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<p>Contact me</p>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
|
||||||
|
<!-- JavaScript Bundle with Popper -->
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -21,6 +21,7 @@ body {
|
|||||||
background-position: right,center;
|
background-position: right,center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TEXT */
|
/* TEXT */
|
||||||
* {
|
* {
|
||||||
font-family: Lato, sans-serif;
|
font-family: Lato, sans-serif;
|
||||||
@@ -128,40 +129,11 @@ p {
|
|||||||
padding-bottom: 1vw;
|
padding-bottom: 1vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cards {
|
.card-text {
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
flex: 1;
|
|
||||||
background-color: white;
|
|
||||||
color: #4A245E;
|
|
||||||
}
|
|
||||||
|
|
||||||
#getNewQuote {
|
|
||||||
margin-top: 5vw;
|
|
||||||
font-size: 2vw;
|
font-size: 2vw;
|
||||||
border: 5px #4A245E solid;
|
|
||||||
border-radius: 1vw;
|
|
||||||
padding: 1vw;
|
|
||||||
background-color: #4A245E;
|
|
||||||
color: white;
|
|
||||||
|
|
||||||
animation: 500ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
#getNewQuote:hover {
|
|
||||||
background-color: white;
|
|
||||||
color: #4A245E;
|
|
||||||
border: 5px #4A245E solid;
|
|
||||||
}
|
|
||||||
|
|
||||||
#person {
|
|
||||||
padding: 1vw;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 991px) {
|
@media (max-width: 991px) {
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 12vw;
|
font-size: 12vw;
|
||||||
}
|
}
|
||||||
@@ -174,6 +146,10 @@ p {
|
|||||||
font-size: 6vw;
|
font-size: 6vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: 4vw;
|
||||||
|
}
|
||||||
|
|
||||||
p, .nav-link, .nav-link > .nav-item {
|
p, .nav-link, .nav-link > .nav-item {
|
||||||
font-size: 3vw;
|
font-size: 3vw;
|
||||||
}
|
}
|
||||||
@@ -181,5 +157,15 @@ p {
|
|||||||
.nav-link > .nav-item {
|
.nav-link > .nav-item {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*Buttons*/
|
||||||
|
.btn {
|
||||||
|
background-color: #4A245E;
|
||||||
|
border: none;
|
||||||
|
transition: background-color 300ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn:hover {
|
||||||
|
background-color: #673283;
|
||||||
}
|
}
|
||||||
|
|||||||
|
After Width: | Height: | Size: 4.6 MiB |
|
After Width: | Height: | Size: 2.7 MiB |
@@ -1,76 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>HTML5 Canvas</title>
|
|
||||||
<link rel="icon" href="https://fav.farm/🔥" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<ul>
|
|
||||||
<li id="0" class="color">Red</li>
|
|
||||||
<li id="122" class="color">Green</li>
|
|
||||||
<li id="255" class="color">Blue</li>
|
|
||||||
</ul>
|
|
||||||
<canvas id="draw" width="800" height="800"></canvas>
|
|
||||||
<script>
|
|
||||||
|
|
||||||
let isDrawing = false;
|
|
||||||
let lastX = 0;
|
|
||||||
let lastY = 0;
|
|
||||||
|
|
||||||
const canvas = document.querySelector('#draw');
|
|
||||||
canvas.width = window.innerWidth;
|
|
||||||
canvas.height = window.innerHeight;
|
|
||||||
canvas.addEventListener('mousemove', draw);
|
|
||||||
canvas.addEventListener('mouseup', () => isDrawing = false);
|
|
||||||
canvas.addEventListener('mouseout', () => isDrawing = false);
|
|
||||||
|
|
||||||
canvas.addEventListener('mousedown', (e) => {
|
|
||||||
isDrawing = true;
|
|
||||||
[lastX, lastY] = [e.offsetX, e.offsetY];
|
|
||||||
});
|
|
||||||
|
|
||||||
const ctx = canvas.getContext('2d');
|
|
||||||
ctx.strokeStyle = '#BADA55';
|
|
||||||
ctx.lineJoin = 'round';
|
|
||||||
ctx.lineCap = 'round';
|
|
||||||
|
|
||||||
const buttons = document.querySelectorAll('.color');
|
|
||||||
buttons.forEach(button => button.addEventListener('click', updateColor));
|
|
||||||
|
|
||||||
function updateColor() {
|
|
||||||
ctx.strokeStyle = `hsl(${this.id}, 100%, 50%)`;
|
|
||||||
}
|
|
||||||
|
|
||||||
function draw(e) {
|
|
||||||
if(!isDrawing) return;
|
|
||||||
ctx.beginPath();
|
|
||||||
ctx.moveTo(lastX, lastY);
|
|
||||||
[lastX, lastY] = [e.offsetX, e.offsetY];
|
|
||||||
ctx.lineTo(lastX, lastY);
|
|
||||||
ctx.stroke();
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
html, body {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
|
||||||
display: inline-block;
|
|
||||||
list-style-type: none;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
float: left;
|
|
||||||
display: block;
|
|
||||||
padding: 5px;
|
|
||||||
border: 2px solid black;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -5,64 +5,75 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- CSS only -->
|
<!-- CSS only -->
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
|
||||||
<link href="css/style.css" rel="stylesheet">
|
<link href="css/style.css" rel="stylesheet">
|
||||||
|
|
||||||
<audio>
|
<title>Josh Ashton</title>
|
||||||
Your browser isn't invited for super fun audio time.
|
|
||||||
</audio>
|
|
||||||
|
|
||||||
<title>Joshua Ashton</title>
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- Navigation -->
|
<!-- Navigation -->
|
||||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||||
<a class="navbar-brand" href="">Josh Ashton</a>
|
<a class="navbar-brand" href="index.html">Josh Ashton</a>
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="collapse navbar-collapse" id="navbarNav">
|
<div class="collapse navbar-collapse" id="navbarNav">
|
||||||
<ul class="navbar-nav nav-fill w-100">
|
<ul class="navbar-nav nav-fill w-100">
|
||||||
<a class="nav-link" target="_blank" href="1430">
|
<a class="nav-link" href="projects">
|
||||||
<li class="nav-item">CSIS 1430</li>
|
<li class="nav-item">Projects</li>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="nav-link" href="about.html">
|
||||||
|
<li class="nav-item">About</li>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="nav-link" href="contact.html">
|
||||||
|
<li class="nav-item">Contact</li>
|
||||||
</a>
|
</a>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div class="custom-container" id="splash">
|
<div class="custom-container" id="splash">
|
||||||
|
|
||||||
<h1 class="light-text">Hi, I'm Josh Ashton!</h1>
|
<h1 class="light-text">Hi, I'm Josh Ashton!</h1>
|
||||||
|
|
||||||
<h2 class="light-text">Aspiring developer at SLCC</h2>
|
<h2 class="light-text">Aspiring developer at SLCC</h2>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3 class="light-text">Projects I'm Proud of</h3>
|
<div class="row custom-container cards">
|
||||||
<div class="cards">
|
<h3 class="light-text">Featured Projects</h3>
|
||||||
<div class="custom-container card">
|
|
||||||
<h4 class="dark-text">1st Project to Highlight</h4>
|
<div class="col">
|
||||||
|
<div class="card">
|
||||||
|
<img class="card-img-top" src="/public_html/img/dnd.png" alt="Card image cap">
|
||||||
|
<div class="card-body">
|
||||||
|
<h2 class="card-title dark-text">DnD Character Builder</h2>
|
||||||
|
<p class="dark-text">Dungeons and Dragons character builder app, developed in Java.</p>
|
||||||
|
<a target="_blank" href="https://github.com/quaxlyqueen/dnd" class="btn btn-primary">View Code on Github</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="custom-container card">
|
|
||||||
<h4 class="dark-text">2nd Project to Highlight</h4>
|
|
||||||
</div>
|
|
||||||
<div class="custom-container card">
|
|
||||||
<h4 class="dark-text">3rd Project to Highlight</h4>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="col">
|
||||||
|
<div class="card">
|
||||||
|
<img class="card-img-top" src="/public_html/img/graph.png" alt="Card image cap">
|
||||||
|
<div class="card-body">
|
||||||
|
<h2 class="card-title dark-text">Graph Visualizer</h2>
|
||||||
|
<p class="dark-text">Visual and interactive representation of a graph data structure, developed in Java.</p>
|
||||||
|
<a target="_blank" href="https://github.com/quaxlyqueen/2420-graph-visualizer" class="btn btn-primary">View Code on Github</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
|
||||||
<!-- JavaScript Bundle with Popper -->
|
<!-- JavaScript Bundle with Popper -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
|
||||||
<script src="js/script.js"></script>
|
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 36 MiB After Width: | Height: | Size: 36 MiB |
|
Before Width: | Height: | Size: 8.4 MiB After Width: | Height: | Size: 8.4 MiB |
|
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.4 MiB |
|
Before Width: | Height: | Size: 3.5 MiB After Width: | Height: | Size: 3.5 MiB |
|
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 6.3 MiB After Width: | Height: | Size: 6.3 MiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 3.2 MiB After Width: | Height: | Size: 3.2 MiB |
@@ -23,7 +23,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<!-- Navigation -->
|
<!-- Navigation -->
|
||||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||||
<a class="navbar-brand" href="">Josh Ashton</a>
|
<a class="navbar-brand" href="www.joshuaashton.com">Josh Ashton</a>
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
|
Before Width: | Height: | Size: 8.4 MiB After Width: | Height: | Size: 8.4 MiB |
|
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.4 MiB |
|
Before Width: | Height: | Size: 3.5 MiB After Width: | Height: | Size: 3.5 MiB |
|
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 6.3 MiB After Width: | Height: | Size: 6.3 MiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 3.2 MiB After Width: | Height: | Size: 3.2 MiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |