Skip to content

Commit

Permalink
initial commit of the hosted Atlas Search Workshop
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-captain committed Mar 29, 2022
1 parent 6401781 commit b9cd8e1
Show file tree
Hide file tree
Showing 18 changed files with 247 additions and 65 deletions.
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,10 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"autoprefixer": "^10.4.4",
"postcss": "^8.4.12",
"tailwindcss": "^3.0.23"
}
}
6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
Binary file modified public/favicon.ico
Binary file not shown.
7 changes: 2 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<meta name="description" content="Atlas Search Workshop for 2022" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
Expand All @@ -24,7 +21,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Atlas Search Workshop</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
120 changes: 103 additions & 17 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,109 @@
import logo from './logo.svg';
import './App.css';
import React from "react";
import SearchHero from "./images/SearchHero.png";
import IndexImage from "./images/indexImage.svg";
import Karen from "./images/Karen1.png";
import SearchIcon from "./images/SearchIcon.png";
import LOGO from "./images/Logomark.svg";
import Twitter from "./images/Twitterblue.png";

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
<div h-screen bg-white>
<div className="flex w-full justify-between items-center bg-slateblue text-white">
<div className="flex text-2xl mx-20 ">
<img className="mr-10 my-auto h-16" src={LOGO} alt="logo" />
<div className="my-auto">Atlas Search Workshop</div>
</div>
<div className="flex text-2xl mx-20 "> 5 Avril 2022</div>
</div>

<div className="flex flex-col px-40 pt-10">
<div className="flex items-center">
<img src={SearchHero} alt="search hero" className="mx-6 w-48" />
<div className=" mx-4 flow-root text-xl">
Avec Atlas Search, nous avons rendu le travail avec les données
encore plus facile en vous permettant de construire des capacités de
recherche puissantes, flexibles et sophistiquées dans vos
applications MongoDB !
</div>
</div>
<div className="flex items-center">
<div className=" mx-4 mt-10 w-3/4 text-xl">
<div>
The following hardware and installations are required to complete
this workshop:
</div>
<br></br>
<div>
1. local computer with internet connection and a modern browser.
</div>
<br></br>
<div>
2.{" "}
<a
className="underline decoration-indigo-500"
target="_blank"
rel="noopener noreferrer"
href="https://cloud.mongodb.com"
>
MongoDB Atlas Account and free cluster
</a>
</div>
<br></br>
<div>
3.{" "}
<a
className="underline decoration-indigo-500"
target="_blank"
rel="noopener noreferrer"
href="https://www.mongodb.com/try/download/compass?tck=docs_compass"
>
MongoDB Compass
</a>
</div>
<br></br>
<div>
4. The frontend application below hosted on GitHub and
CodeSandox.io sits ready for you to fork.
</div>
</div>
<img src={SearchIcon} alt="search hero" className="mx-6 w-36" />
</div>
</div>

<div className="h-full w-100">
<iframe
src="https://codesandbox.io/embed/festive-platform-gshdc3?fontsize=14&hidenavigation=1&theme=dark"
className="mt-20 w-11/12 mx-auto h-96"
title="festive-platform-gshdc3"
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
></iframe>
</div>

<div className="flex mt-10 text-black px-12 text-lg pb-2">
<img src={Karen} alt="search hero" className="mx-6 w-36 rounded-full" />
<div className="flex flex-col pt-12">
<div className="mt-6">
Karen Huaulmé<br></br>Principal Developer Advocate
</div>
<div className="flex">
<a
target="_blank"
rel="noopener noreferrer"
href="https://twitter.com/youoldmaid"
>
{" "}
<img
src={Twitter}
alt="twitter"
className="w-12 object-contain"
/>
</a>
<div className="my-auto ml-2">@YouOldMaid</div>
</div>
</div>
</div>
</div>
);
}
Expand Down
Binary file added src/images/Karen1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/Logomark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/SearchHero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/SearchIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/Twitterblue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b9cd8e1

Please sign in to comment.