Skip to content

Commit

Permalink
ci: add junior dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron de las Alas committed Oct 2, 2023
1 parent 6d30af1 commit b556f3f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/components/navbar/navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,39 +17,39 @@ export default class NavBar extends React.Component {
render () {
return (
<div id="header">
<a href="/">
<a href="/junior">
<div id="header-logo-wrapper">
<img
alt="ScratchJr Logo"
id="header-logo"
src="/images/scratchjrlogo.png"
src="/junior/images/scratchjrlogo.png"
/>
</div>
</a>
<div id="header-nav">
<div className="header-nav-item-wrapper">
<a href="/about">
<a href="/junior/about">
<div className={this.generateHeaderClasses('about')}>
About
</div>
</a>
</div>
<div className="header-nav-item-wrapper">
<a href="/learn">
<a href="/junior/learn">
<div className={this.generateHeaderClasses('learn')}>
Learn
</div>
</a>
</div>
<div className="header-nav-item-wrapper">
<a href="/teach">
<a href="/junior/teach">
<div className={this.generateHeaderClasses('teach')}>
Teach
</div>
</a>
</div>
<div className="header-nav-item-wrapper">
<a href="/outreach">
<a href="/junior/outreach">
<div className={this.generateHeaderClasses('outreach')}>
Outreach
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<meta property="og:image:height" content="<%- htmlWebpackPlugin.options.og_image_height %>" />

<!-- Favicon & ScratchJr styles -->
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="shortcut icon" href="/junior/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/junior/style/site.css">
<link rel="stylesheet" type="text/css" href="/junior/style/content.css">

Expand Down Expand Up @@ -70,7 +70,7 @@
</div>

<!-- Scripts -->
<script src="/<%= htmlWebpackPlugin.files.chunks[htmlWebpackPlugin.options.route.name].entry %>"></script>
<script src="/junior/<%= htmlWebpackPlugin.files.chunks[htmlWebpackPlugin.options.route.name].entry %>"></script>

</body>
</html>

0 comments on commit b556f3f

Please sign in to comment.