Skip to content

Commit

Permalink
Merge pull request #6 from codess-aus/codespace-crispy-barnacle-7jwpr…
Browse files Browse the repository at this point in the history
…g5542p6gj

Pending changes exported from your codespace
  • Loading branch information
codess-aus authored May 1, 2024
2 parents 6932395 + 559a83b commit 42da1a4
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import About from "./Components/About";
import Footer from "./Components/Footer";
import Header from "./Components/Header";
import Home from "./Components/Home";
import Portfolio from "./Components/Portfolio";
import Features from "./Components/Features";

import "./styles.css";

Expand Down Expand Up @@ -44,7 +44,7 @@ const App = () => {
<Header />
<Home name={siteProps.name} title={siteProps.title} />
<About />
<Portfolio />
<Features />
<Footer {...siteProps} primaryColor={primaryColor} secondaryColor={secondaryColor} />
</div>
);
Expand Down
87 changes: 87 additions & 0 deletions src/Components/Features.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
/**
* Portfolio component
*
* Highlights some of your creations. These can be designs, websites,
* open source contributions, articles you've written and more.
*
* This is a great area for you to to continually add to and refine
* as you continue to learn and create.
*/

import React from "react";

/**
* Desk image
*
* Below is a sample desk image. Feel free to update this to an image of your choice,
* updating below imageAltText to string that represents what you see in that image.
*
* Need an image? Check out https://unsplash.com to download a photo you
* freely use on your site.
*/
import image from "../images/learningapp.png";

const imageAltText = "image of our learning app";

/**
* Project list
*
* An array of objects that will be used to display for your project
* links section. Below is a sample, update to reflect links you'd like to highlight.
*/
const projectList = [
{
title: "Cognitive Semantic Search",
description: "Rank courses according to what the user is interested in, grounded in user content.",
url: "https://learn.microsoft.com/en-us/azure/architecture/ai-ml/openai/idea/search-and-query-using-openai-service",
image: "https://raw.githubusercontent.com/codess-aus/CWBHackathonApp/main/src/images/semanticsearch.png", // replace with your image URL
},
{
title: "Vector Embeddings",
description: "Linking meaningful content and ideas",
url: "https://learn.microsoft.com/en-us/azure/ai-services/openai/tutorials/embeddings?tabs=python-new%2Ccommand-line&pivots=programming-language-python",
image: "https://raw.githubusercontent.com/codess-aus/CWBHackathonApp/main/src/images/designacharacter.png", // replace with your image URL
},
{
title: "Chat Avatar",
description: "Human-like avatars to interact with users in a more engaging way.",
url: "https://learn.microsoft.com/en-us/azure/ai-services/speech-service/text-to-speech-avatar/what-is-text-to-speech-avatar",
image: "https://raw.githubusercontent.com/codess-aus/CWBHackathonApp/main/src/images/character2.png", // replace with your image URL
// replace with your image URL
},
{
title: "Speaker Recognition",
description: "AI recognises speaker and interacts with them contextually.",
url: "https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speaker-recognition-overview",
image: "https://raw.githubusercontent.com/codess-aus/CWBHackathonApp/main/src/images/blockchain.png", // replace with your image URL
},
];

const Features = () => {
return (
<section className="padding" id="features">
<h2 style={{ textAlign: "center" }}>Features</h2>
<div style={{ display: "flex", flexDirection: "row", paddingTop: "3rem" }}>
<div style={{ maxWidth: "40%", alignSelf: "center" }}>
<img
src={image}
style={{ height: "90%", width: "100%", objectFit: "cover" }}
alt={imageAltText}
/>
</div>
<div className="container">
{projectList.map((project) => (
<div className="box" key={project.title}>
<a href={project.url} target="_blank" rel="noopener noreferrer">
<h3 style={{ flexBasis: "40px" }}>{project.title}</h3>
<img src={project.image} alt={project.title} style={{ width: "100%", height: "auto" }} /> {/* Add this line */}
</a>
<p className="small">{project.description}</p>
</div>
))}
</div>
</div>
</section>
);
};
export default Features;
2 changes: 1 addition & 1 deletion src/Components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Header = () => {
>
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#portfolio">Portfolio</a>
<a href="#features">Features</a>
<a href="#footer">Contact</a>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions src/Components/Portfolio.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ const projectList = [
},
];

const Portfolio = () => {
const Features = () => {
return (
<section className="padding" id="portfolio">
<h2 style={{ textAlign: "center" }}>Portfolio</h2>
<section className="padding" id="features">
<h2 style={{ textAlign: "center" }}>Features</h2>
<div style={{ display: "flex", flexDirection: "row", paddingTop: "3rem" }}>
<div style={{ maxWidth: "40%", alignSelf: "center" }}>
<img
Expand All @@ -84,4 +84,4 @@ const Portfolio = () => {
</section>
);
};
export default Portfolio;
export default Features;

0 comments on commit 42da1a4

Please sign in to comment.