This commit is contained in:
Joshua Ashton
2024-12-26 08:51:06 -07:00
parent b089f08458
commit 1c3249e3a1
5 changed files with 982 additions and 6 deletions
+971
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -6,6 +6,7 @@
"@fortawesome/react-fontawesome": "^0.2.2", "@fortawesome/react-fontawesome": "^0.2.2",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"serve": "^14.2.4",
"swiper": "^10.0.0" "swiper": "^10.0.0"
}, },
"devDependencies": { "devDependencies": {
@@ -15,7 +16,7 @@
"version": "0.0.1", "version": "0.0.1",
"scripts": { "scripts": {
"build": "vite build", "build": "vite build",
"dev": "vite", "dev": "vite --host",
"start": "vite" "start": "vite --host"
} }
} }
+1 -1
View File
@@ -37,7 +37,7 @@ export default function App() {
{ {
title: "One AI", title: "One AI",
description: "ASDF", description: "ASDF",
image: "/images/projects/one-ai.png", image: "/images/one-ai-cropped.png",
imageGallery: null, imageGallery: null,
url: "https://github.com/quaxlyqueen/one-ai", url: "https://github.com/quaxlyqueen/one-ai",
}, },
+3 -1
View File
@@ -15,7 +15,9 @@ export default function ProjectCard({
<div className="project-text"> <div className="project-text">
<div className="row"> <div className="row">
<h3 className="project-header">{title}</h3> <h3 className="project-header">{title}</h3>
<FontAwesomeIcon icon={faGithub} /> <a href={url} target="_blank">
<FontAwesomeIcon icon={faGithub} />
</a>
</div> </div>
<p>{description}</p> <p>{description}</p>
</div> </div>
+4 -2
View File
@@ -105,11 +105,14 @@ body {
column-gap: 20vw; column-gap: 20vw;
} }
.project-card img {
height: 100%;
}
.project-text { .project-text {
display: grid; display: grid;
grid-template-columns: 100%; grid-template-columns: 100%;
grid-template-rows: 20% 70%; grid-template-rows: 20% 70%;
align-text: left;
} }
.project-text h3 { .project-text h3 {
@@ -445,7 +448,6 @@ body {
grid-template-columns: 100%; grid-template-columns: 100%;
grid-template-rows: 30% 30% 30%; grid-template-rows: 30% 30% 30%;
column-gap: 0; column-gap: 0;
padding: 30px;
} }
.card { .card {