-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add orcular content in english * chore: remove ua academy content * fix: internal links * fix: relative image links * fix: header images * fix: replace name with id attribute * fix: relative links * fix: academy index images * feat: add ua translations * fix: hide search button * fix: back button * fix: footer logo UA * fix: module descriptions * fix: menu * fix: translation * Update lasercutting.mdx * Update 3dprinting.mdx * fix: module titles --------- Co-authored-by: Jacky-Bertlich <[email protected]>
- Loading branch information
1 parent
6b1bf96
commit 8b0374f
Showing
194 changed files
with
4,030 additions
and
752 deletions.
There are no files selected for viewing
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
BIN
+1.04 MB
public/images/academy/3dmodels/3ddesign/11_Autodesk_Fusion_360_example.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
BIN
+856 KB
public/images/academy/3dmodels/3ddesign/12_Autodesk_Fusion_360_example.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
BIN
+1.47 MB
public/images/academy/3dmodels/3ddesign/13_Blender_sculpting_example.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
BIN
+2.09 MB
public/images/academy/3dmodels/3ddesign/14_Blender_rendering_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
+932 KB
public/images/academy/3dmodels/3ddesign/16_Blender_sculpting_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
+39 KB
public/images/academy/3dmodels/3ddesign/4_FreeCAD_PartDesign_Revolution.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
BIN
+32.6 KB
public/images/academy/3dmodels/3ddesign/5_FreeCAD_PartDesign_Pocket.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
+103 KB
public/images/academy/3dmodels/3ddesign/7_FreeCAD_PartDesign_example.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
BIN
+143 KB
public/images/academy/3dmodels/3ddesign/8_FreeCAD_Drawing_TechDraw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
BIN
+562 KB
public/images/academy/3dmodels/3dscanning/2_3D_scanning_MeshLab_example.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
BIN
+1.36 MB
public/images/academy/3dmodels/3dscanning/3_Photogrammetry_with_camera.png
Oops, something went wrong.
Binary file added
BIN
+1.34 MB
public/images/academy/3dmodels/3dscanning/4_Photogrammetry_Meshroom.png
Oops, something went wrong.
Binary file added
BIN
+1.3 MB
public/images/academy/3dmodels/3dscanning/5_Photogrammetry_Meshroom2Blender.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+255 KB
public/images/academy/3dmodels/3dscanning/8_Polygon_Mesh_Dolphin_example.png
Oops, something went wrong.
Binary file added
BIN
+671 KB
public/images/academy/3dmodels/3dscanning/9_Point_Cloud_Tux_example.png
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file added
BIN
+936 KB
public/images/academy/digitalproduction/3dprinting/10_3D_printed_objects.png
Oops, something went wrong.
Binary file added
BIN
+609 KB
public/images/academy/digitalproduction/3dprinting/11_3D_printed_object.png
Oops, something went wrong.
Binary file added
BIN
+955 KB
public/images/academy/digitalproduction/3dprinting/12_3D_printed_object.png
Oops, something went wrong.
Binary file added
BIN
+502 KB
public/images/academy/digitalproduction/3dprinting/13_3D_printed_object.png
Oops, something went wrong.
Binary file added
BIN
+1.51 MB
public/images/academy/digitalproduction/3dprinting/14_Filament_for_3D_printing.png
Oops, something went wrong.
Binary file added
BIN
+880 KB
public/images/academy/digitalproduction/3dprinting/15_Filament_for_3D_printing.png
Oops, something went wrong.
Binary file added
BIN
+649 KB
public/images/academy/digitalproduction/3dprinting/16_3D_printing_color_mixing.png
Oops, something went wrong.
Binary file added
BIN
+181 KB
...gitalproduction/3dprinting/17_Die_wichtigsten_Komponenten_eines_3D-Druckers.png
Oops, something went wrong.
Binary file added
BIN
+166 KB
...demy/digitalproduction/3dprinting/17_EN_The_main_components_of_a_3D_printer.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+964 KB
...ages/academy/digitalproduction/3dprinting/1_3D_Printer_Open_Source_Hardware.png
Oops, something went wrong.
Binary file added
BIN
+163 KB
.../images/academy/digitalproduction/3dprinting/20_X-_Y-_and_Z-axis_3D_printer.png
Oops, something went wrong.
Binary file added
BIN
+121 KB
...demy/digitalproduction/3dprinting/21_Top_view_3D_printer_with_X-_and_Y-axis.png
Oops, something went wrong.
Binary file added
BIN
+78.1 KB
...my/digitalproduction/3dprinting/22_Front_view_3D_printer_with_X-_and_Z-axis.png
Oops, something went wrong.
Binary file added
BIN
+75.6 KB
...ic/images/academy/digitalproduction/3dprinting/23_3D_CAD_model_part_FreeCAD.png
Oops, something went wrong.
Binary file added
BIN
+450 KB
public/images/academy/digitalproduction/3dprinting/24_Slicing_in_PrusaSlicer.png
Oops, something went wrong.
Binary file added
BIN
+519 KB
public/images/academy/digitalproduction/3dprinting/25_Slicing_in_PrusaSlicer.png
Oops, something went wrong.
Binary file added
BIN
+22.6 KB
...ademy/digitalproduction/3dprinting/26_Slicing_in_PrusaSlicer_visible_layers.png
Oops, something went wrong.
Binary file added
BIN
+209 KB
...my/digitalproduction/3dprinting/27_Slicing_simulation_infill_in_PrusaSlicer.png
Oops, something went wrong.
Binary file added
BIN
+138 KB
...my/digitalproduction/3dprinting/28_Slicing_simulation_infill_in_PrusaSlicer.png
Oops, something went wrong.
Binary file added
BIN
+39 KB
.../digitalproduction/3dprinting/29_Layer_angle_minimum_45_degrees_3D_printing.png
Oops, something went wrong.
Binary file added
BIN
+798 KB
public/images/academy/digitalproduction/3dprinting/2_Prusa_3D_Printer.png
Oops, something went wrong.
Binary file added
BIN
+178 KB
...italproduction/3dprinting/30_3D_printing_object_45_degree_angle_PrusaSlicer.png
Oops, something went wrong.
Binary file added
BIN
+88.3 KB
...italproduction/3dprinting/31_3D_printing_object_45_degree_angle_PrusaSlicer.png
Oops, something went wrong.
Binary file added
BIN
+759 KB
...duction/3dprinting/32_Flipping_object_in_PrusaSlicer_for_better_3D_printing.png
Oops, something went wrong.
Binary file added
BIN
+2.44 MB
...images/academy/digitalproduction/3dprinting/33_Support_material_3D_printing.png
Oops, something went wrong.
Binary file added
BIN
+287 KB
...es/academy/digitalproduction/3dprinting/34_Bridging_3D_printing_PrusaSlicer.png
Oops, something went wrong.
Binary file added
BIN
+753 KB
...my/digitalproduction/3dprinting/35_Infill_3D_printing_UltiMaker_Cura_slicer.png
Oops, something went wrong.
Binary file added
BIN
+672 KB
public/images/academy/digitalproduction/3dprinting/36_Infill_3D_printing.png
Oops, something went wrong.
Binary file added
BIN
+344 KB
public/images/academy/digitalproduction/3dprinting/37_Purge_line_3D_printing.png
Oops, something went wrong.
Binary file added
BIN
+274 KB
public/images/academy/digitalproduction/3dprinting/38_Skirt_3D_printing.png
Oops, something went wrong.
Binary file added
BIN
+286 KB
public/images/academy/digitalproduction/3dprinting/39_First_layer_3D_printing.png
Oops, something went wrong.
Binary file added
BIN
+859 KB
public/images/academy/digitalproduction/3dprinting/3_BigFDM_3D_Printer.png
Oops, something went wrong.
Binary file added
BIN
+320 KB
public/images/academy/digitalproduction/3dprinting/40_First_layer_3D_printing.png
Oops, something went wrong.
Binary file added
BIN
+1.95 MB
public/images/academy/digitalproduction/3dprinting/4_3D_printing_buildings.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+1.17 MB
.../academy/digitalproduction/3dprinting/6_Visible_layers_on_3D_printed_object.png
Oops, something went wrong.
Binary file added
BIN
+1.08 MB
public/images/academy/digitalproduction/3dprinting/7_3D_printed_speaker_casing.png
Oops, something went wrong.
Binary file added
BIN
+1.68 MB
.../academy/digitalproduction/3dprinting/8_3D_printed_jet_engine_turbine_model.png
Oops, something went wrong.
Binary file added
BIN
+1.73 MB
public/images/academy/digitalproduction/3dprinting/9_3D_printing_a_yarn_bowl.png
Oops, something went wrong.
Binary file added
BIN
+2.11 MB
...gitalproduction/cncmilling/10_CNC_milling_recycled_plastic_Precious_Plastic.png
Oops, something went wrong.
Binary file added
BIN
+1 MB
public/images/academy/digitalproduction/cncmilling/11_5-axis_CNC_machine.png
Oops, something went wrong.
Binary file added
BIN
+1.55 MB
public/images/academy/digitalproduction/cncmilling/12_Maslow_CNC_machine.png
Oops, something went wrong.
Binary file added
BIN
+2.92 MB
...tion/cncmilling/13_CNC_milling_recycled_plastic_Precious_Plastic_Maslow_CNC.png
Oops, something went wrong.
Binary file added
BIN
+1.57 MB
...ic/images/academy/digitalproduction/cncmilling/14_Cutting_fluid_CNC_milling.png
Oops, something went wrong.
Binary file added
BIN
+162 KB
...mages/academy/digitalproduction/cncmilling/15_CAM_in_FreeCAD_Path_workbench.png
Oops, something went wrong.
Binary file added
BIN
+1.62 MB
public/images/academy/digitalproduction/cncmilling/16_Milling_cutter.png
Oops, something went wrong.
Binary file added
BIN
+141 KB
...ic/images/academy/digitalproduction/cncmilling/17_EN_CNC_milling_parameters.png
Oops, something went wrong.
Binary file added
BIN
+148 KB
...c/images/academy/digitalproduction/cncmilling/17_Parameter_beim_CNC_Fraesen.png
Oops, something went wrong.
Binary file added
BIN
+121 KB
...mages/academy/digitalproduction/cncmilling/18_CAM_in_FreeCAD_Path_workbench.png
Oops, something went wrong.
Binary file added
BIN
+22.5 KB
...mages/academy/digitalproduction/cncmilling/19_CAM_in_FreeCAD_Path_workbench.png
Oops, something went wrong.
Binary file added
BIN
+701 KB
public/images/academy/digitalproduction/cncmilling/1_Milling_cutter.png
Oops, something went wrong.
Binary file added
BIN
+126 KB
.../cncmilling/20_FreeCAD_Path_workbench_Visual_reference_for_Depth_properties.png
Oops, something went wrong.
Binary file added
BIN
+729 KB
...my/digitalproduction/cncmilling/21_FreeCAD_Path_workbench_Profile_operation.png
Oops, something went wrong.
Binary file added
BIN
+80.3 KB
...emy/digitalproduction/cncmilling/22_FreeCAD_Path_workbench_Pocket_operation.png
Oops, something went wrong.
Binary file added
BIN
+194 KB
...my/digitalproduction/cncmilling/23_FreeCAD_Path_workbench_with_holding_tags.png
Oops, something went wrong.
Binary file added
BIN
+69.4 KB
...demy/digitalproduction/cncmilling/24_FreeCAD_Path_workbench_Helix_operation.png
Oops, something went wrong.
Binary file added
BIN
+133 KB
...roduction/cncmilling/25_FreeCAD_Path_workbench_simulation_with_holding_tags.png
Oops, something went wrong.
Binary file added
BIN
+34.1 KB
...roduction/cncmilling/26_FreeCAD_Path_workbench_simulation_with_holding_tags.png
Oops, something went wrong.
Binary file added
BIN
+758 KB
...s/academy/digitalproduction/cncmilling/27_Holding_tags_CNC_milled_aluminium.png
Oops, something went wrong.
Binary file added
BIN
+922 KB
...images/academy/digitalproduction/cncmilling/28_Holding_tags_CNC_milled_wood.png
Oops, something went wrong.
Binary file added
BIN
+113 KB
...ademy/digitalproduction/cncmilling/29_FreeCAD_Path_workbench_CAM_simulation.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+1.73 MB
public/images/academy/digitalproduction/cncmilling/3_CNC_milling_aluminium.png
Oops, something went wrong.
Binary file added
BIN
+973 KB
public/images/academy/digitalproduction/cncmilling/4_CNC_milling_machine.png
Oops, something went wrong.
Binary file added
BIN
+845 KB
...emy/digitalproduction/cncmilling/5_Open_Source_Hardware_CNC_milling_machine.png
Oops, something went wrong.
Binary file added
BIN
+1.39 MB
...c/images/academy/digitalproduction/cncmilling/6_CNC_milling_machine_fab_lab.png
Oops, something went wrong.
Binary file added
BIN
+1.83 MB
public/images/academy/digitalproduction/cncmilling/7_CNC_milled_wood_parts_box.png
Oops, something went wrong.
Binary file added
BIN
+1.63 MB
public/images/academy/digitalproduction/cncmilling/8_CNC_milling_metal.png
Oops, something went wrong.
Binary file added
BIN
+2.61 MB
...igitalproduction/cncmilling/9_CNC_milling_recycled_plastic_Precious_Plastic.png
Oops, something went wrong.
Binary file added
BIN
+620 KB
.../images/academy/digitalproduction/lasercutting/10_Laser_engraving_test_card.png
Oops, something went wrong.
Binary file added
BIN
+219 KB
...emy/digitalproduction/lasercutting/11_Laser_cut_designed_vs_measured_length.png
Oops, something went wrong.
Binary file added
BIN
+67.3 KB
...emy/digitalproduction/lasercutting/12_EN_Vector_graphics_vs_Raster_graphics.png
Oops, something went wrong.
Binary file added
BIN
+65.2 KB
...ages/academy/digitalproduction/lasercutting/12_Vektorgrafik_vs_Rastergrafik.png
Oops, something went wrong.
Binary file added
BIN
+400 KB
...cutting/13_Example_svg_file_vector_graphics_for_laser_cutting_and_engraving.png
Oops, something went wrong.
Binary file added
BIN
+1.67 MB
...es/academy/digitalproduction/lasercutting/14_Laser_cut_and_engraved_plywood.png
Oops, something went wrong.
Binary file added
BIN
+130 KB
...oduction/lasercutting/15_Example_svg_file_vector_graphics_for_laser_cutting.png
Oops, something went wrong.
Binary file added
BIN
+2.02 MB
...talproduction/lasercutting/16_3D_printing_and_laser_cutting_orcuCar_Orcular.png
Oops, something went wrong.
Binary file added
BIN
+869 KB
...ges/academy/digitalproduction/lasercutting/17_Laser_cut_box_push-fit_system.png
Oops, something went wrong.
Binary file added
BIN
+193 KB
...roduction/lasercutting/18_Vector_graphics_for_laser_cut_box_push-fit_system.png
Oops, something went wrong.
Binary file added
BIN
+605 KB
...9_3D_CAD_designed_product_laser_cutting_3D_printing_FreeCAD_orcuCar_Orcular.png
Oops, something went wrong.
Binary file added
BIN
+1.77 MB
public/images/academy/digitalproduction/lasercutting/1_Laser_cutting_wood.png
Oops, something went wrong.
Binary file added
BIN
+2.08 MB
...images/academy/digitalproduction/lasercutting/20_Laser_cut_box_living_hinge.png
Oops, something went wrong.
Binary file added
BIN
+831 KB
...mages/academy/digitalproduction/lasercutting/21_Laser_cut_wood_living_hinge.png
Oops, something went wrong.
Binary file added
BIN
+1.7 MB
public/images/academy/digitalproduction/lasercutting/2_Laser_engraving_wood.png
Oops, something went wrong.
Binary file added
BIN
+889 KB
...igitalproduction/lasercutting/3_Fabulaser_Open_Source_Hardware_Laser_cutter.png
Oops, something went wrong.
Binary file added
BIN
+1.68 MB
public/images/academy/digitalproduction/lasercutting/4_Laser_cutter_fab_lab.png
Oops, something went wrong.
Binary file added
BIN
+2.3 MB
...ges/academy/digitalproduction/lasercutting/5_Laser_cut_and_engraved_objects.png
Oops, something went wrong.
Binary file added
BIN
+1.23 MB
...my/digitalproduction/lasercutting/6_Laser_cut_and_engraved_acrylic_and_wood.png
Oops, something went wrong.
Binary file added
BIN
+1.86 MB
...ges/academy/digitalproduction/lasercutting/7_Laser_cut_and_engraved_plywood.png
Oops, something went wrong.
Binary file added
BIN
+972 KB
public/images/academy/digitalproduction/lasercutting/8_Laser_cutting_metal.png
Oops, something went wrong.
Binary file added
BIN
+1.26 MB
public/images/academy/digitalproduction/lasercutting/9_Laser_cutting_test_card.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
import { Card, CardContainer } from "@components"; | ||
interface Props { | ||
language?: string; | ||
} | ||
const { language = "en" } = Astro.props; | ||
--- | ||
|
||
<CardContainer className="lg:h-[408px]"> | ||
<Card | ||
title={language === "ua" | ||
? "Ти знаходишся в Україні і думаєш, що ми можемо бути тобі корисними?" | ||
: "You are based in Ukraine and think we could help you?"} | ||
bg={4} | ||
target="mailto:[email protected]" | ||
actionCaption={language === "ua" ? "Контактуй з нами" : "Get in contact"} | ||
> | ||
{ | ||
language === "ua" | ||
? "Школи, університети, громадські організації, стартапи та інші організації можуть звернутись до нас з запитом на спільний з Толокаром проект, воркшоп або тренінг." | ||
: "Schools, universities, NGOs, Startups and other organizations can reach out to us to request the Tolocars for projects, workshops and trainings." | ||
} | ||
</Card> | ||
<Card | ||
title={language === "ua" | ||
? "Ти мейкер і хочеш налагодити партнерство з нами?" | ||
: "You are a Maker and want to partner with us?"} | ||
bg={5} | ||
target="mailto:[email protected]" | ||
actionCaption={language === "ua" ? "Контактуй з нами" : "Get in contact"} | ||
> | ||
Ми шукаємо мейкерів, фаблаби, хакерспейси, мейкерспейси та інші спільноти, | ||
які мають бажання налагодити партнерство з нами в Україні або в інших | ||
країнах. | ||
</Card> | ||
</CardContainer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,14 @@ import { | |
AcademyHeroImage, | ||
BackButton, | ||
ContentSection, | ||
Card, | ||
CardContainer, | ||
TableOfContents, | ||
} from "@components"; | ||
import type { AcademyPageFrontmatter } from "@interfaces/IAcademy"; | ||
import { getParentPage } from "@util/ContentTransformer"; | ||
import fs from "node:fs"; | ||
import Giscus from "@components/Giscus.astro"; | ||
import CommonUtils from "@util/CommonUtils"; | ||
import FooterCards from "@components/FooterCards.astro"; | ||
const rawAcademyContent = await Astro.glob<AcademyPageFrontmatter>( | ||
"../pages/en/academy/*/*.mdx" | ||
|
@@ -25,13 +24,21 @@ const statsMtime = fs.statSync(file).mtime; | |
const editDate = new Date(statsMtime); | ||
const parentPage = getParentPage(rawAcademyContent, url); | ||
const localeFromUrl = | ||
Astro?.url?.pathname.replace(baseUrl, "").split("/").filter(Boolean)[0] || | ||
"en"; | ||
--- | ||
|
||
<BaseLayout frontmatter={frontmatter}> | ||
<div class="mt-20 container-width"> | ||
<BackButton target={`${baseUrl}en/academy`} | ||
>Back to Academy Overview</BackButton | ||
> | ||
<BackButton target={`${baseUrl}${localeFromUrl}/academy`}> | ||
{ | ||
localeFromUrl === "ua" | ||
? "Повернутися до огляду Makerspace Academy" | ||
: "Back to Academy Overview" | ||
} | ||
</BackButton> | ||
</div> | ||
<div class="container-width-hero"> | ||
<AcademyHeroImage | ||
|
@@ -75,24 +82,6 @@ const parentPage = getParentPage(rawAcademyContent, url); | |
}`} | ||
> | ||
</div> | ||
<CardContainer className="lg:h-[408px]"> | ||
<Card | ||
title="You are based in Ukraine and think we could help you?" | ||
bg={4} | ||
target="mailto:[email protected]" | ||
actionCaption="Get in contact" | ||
>Schools, universities, NGOs, Startups and other organizations can reach | ||
out to us to request the Tolocars for projects, workshops and trainings.</Card | ||
> | ||
<Card | ||
title="You are a Maker and want to partner with us?" | ||
bg={5} | ||
target="mailto:[email protected]" | ||
actionCaption="Get in contact" | ||
>We are looking for Makers, FabLabs, Hackerspaces, Makerspaces and other | ||
Communities who wants to partner with us in the Ukraine and | ||
internationally over the internet.</Card | ||
> | ||
</CardContainer> | ||
<FooterCards language={localeFromUrl} /> | ||
</ContentSection> | ||
</BaseLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,21 @@ | ||
--- | ||
import FooterCards from "@components/FooterCards.astro"; | ||
import BaseLayout from "./BaseLayout.astro"; | ||
import { ContentSection, Card, CardContainer } from "@components"; | ||
import { ContentSection } from "@components"; | ||
import CommonUtils from "@util/CommonUtils"; | ||
const { frontmatter } = Astro.props; | ||
const baseUrl = CommonUtils.getBaseUrl(false); | ||
const localeFromUrl = | ||
Astro?.url?.pathname.replace(baseUrl, "").split("/").filter(Boolean)[0] || | ||
"en"; | ||
--- | ||
|
||
<BaseLayout footerGrey={true} frontmatter={frontmatter}> | ||
<slot /> | ||
<ContentSection> | ||
<div class="absolute w-full bg-white h-64 top-0"></div> | ||
<CardContainer className="lg:h-[408px]"> | ||
<Card | ||
title="You are based in Ukraine and think we could help you?" | ||
bg={4} | ||
target="mailto:[email protected]" | ||
actionCaption="Get in contact" | ||
>Schools, universities, NGOs, Startups and other organizations can reach | ||
out to us to request the Tolocars for projects, workshops and trainings.</Card | ||
> | ||
<Card | ||
title="You are a Maker and want to partner with us?" | ||
bg={5} | ||
target="mailto:[email protected]" | ||
actionCaption="Get in contact" | ||
>We are looking for Makers, FabLabs, Hackerspaces, Makerspaces and other | ||
Communities who wants to partner with us in the Ukraine and | ||
internationally over the internet.</Card | ||
> | ||
</CardContainer> | ||
<FooterCards language={localeFromUrl} /> | ||
</ContentSection> | ||
</BaseLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
menu: | ||
- title: Home | ||
target: "/en/#top" | ||
target: "en/#top" | ||
hideInFooter: true | ||
|
||
- title: What is a Tolocar? | ||
|
Oops, something went wrong.