From 9df55b847440abe9dd02d7e882b8dbd6be09fb4b Mon Sep 17 00:00:00 2001 From: Florent Ravenel Date: Mon, 6 Nov 2023 11:38:56 +0100 Subject: [PATCH] feat: add logo to image_url --- generate_readme.ipynb | 76 ++++++++----------------------------------- 1 file changed, 14 insertions(+), 62 deletions(-) diff --git a/generate_readme.ipynb b/generate_readme.ipynb index dc57ff6f09..d4ee0a2cc2 100644 --- a/generate_readme.ipynb +++ b/generate_readme.ipynb @@ -40,12 +40,6 @@ "execution_count": null, "id": "sitting-directory", "metadata": { - "execution": { - "iopub.execute_input": "2023-11-05T16:46:05.875610Z", - "iopub.status.busy": "2023-11-05T16:46:05.875420Z", - "iopub.status.idle": "2023-11-05T16:46:08.325553Z", - "shell.execute_reply": "2023-11-05T16:46:08.324904Z" - }, "tags": [] }, "outputs": [], @@ -93,12 +87,6 @@ "execution_count": null, "id": "guided-edgar", "metadata": { - "execution": { - "iopub.execute_input": "2023-11-05T16:46:08.328829Z", - "iopub.status.busy": "2023-11-05T16:46:08.328438Z", - "iopub.status.idle": "2023-11-05T16:46:08.332213Z", - "shell.execute_reply": "2023-11-05T16:46:08.331643Z" - }, "tags": [] }, "outputs": [], @@ -139,12 +127,6 @@ "execution_count": null, "id": "36c9011e-5f51-4779-8062-a627503100e1", "metadata": { - "execution": { - "iopub.execute_input": "2023-11-05T16:46:08.334921Z", - "iopub.status.busy": "2023-11-05T16:46:08.334555Z", - "iopub.status.idle": "2023-11-05T16:46:08.530772Z", - "shell.execute_reply": "2023-11-05T16:46:08.530186Z" - }, "tags": [] }, "outputs": [], @@ -210,12 +192,6 @@ "execution_count": null, "id": "7fa60d66-a43a-4ba3-abfb-ee1779afdfc3", "metadata": { - "execution": { - "iopub.execute_input": "2023-11-05T16:46:08.533654Z", - "iopub.status.busy": "2023-11-05T16:46:08.533183Z", - "iopub.status.idle": "2023-11-05T16:46:08.536880Z", - "shell.execute_reply": "2023-11-05T16:46:08.536353Z" - }, "tags": [] }, "outputs": [], @@ -250,12 +226,6 @@ "execution_count": null, "id": "f9a4c7b2-d667-4555-98ed-31786278e947", "metadata": { - "execution": { - "iopub.execute_input": "2023-11-05T16:46:08.539399Z", - "iopub.status.busy": "2023-11-05T16:46:08.539100Z", - "iopub.status.idle": "2023-11-05T16:46:08.552845Z", - "shell.execute_reply": "2023-11-05T16:46:08.552214Z" - }, "tags": [] }, "outputs": [], @@ -385,12 +355,6 @@ "execution_count": null, "id": "9f21cfbb-2bcc-4bca-81a4-fad14b081371", "metadata": { - "execution": { - "iopub.execute_input": "2023-11-05T16:46:08.555180Z", - "iopub.status.busy": "2023-11-05T16:46:08.554989Z", - "iopub.status.idle": "2023-11-05T16:46:08.560769Z", - "shell.execute_reply": "2023-11-05T16:46:08.560243Z" - }, "tags": [] }, "outputs": [], @@ -478,12 +442,6 @@ "execution_count": null, "id": "94dcc3bd-07e2-48a3-bf81-a327e940a934", "metadata": { - "execution": { - "iopub.execute_input": "2023-11-05T16:46:08.563100Z", - "iopub.status.busy": "2023-11-05T16:46:08.562910Z", - "iopub.status.idle": "2023-11-05T16:46:08.566494Z", - "shell.execute_reply": "2023-11-05T16:46:08.565939Z" - }, "tags": [] }, "outputs": [], @@ -520,12 +478,6 @@ "execution_count": null, "id": "e45fc17e-ba5a-4317-92b3-f6de4c1a0bde", "metadata": { - "execution": { - "iopub.execute_input": "2023-11-05T16:46:08.568822Z", - "iopub.status.busy": "2023-11-05T16:46:08.568634Z", - "iopub.status.idle": "2023-11-05T16:46:11.420702Z", - "shell.execute_reply": "2023-11-05T16:46:11.420060Z" - }, "tags": [] }, "outputs": [], @@ -572,6 +524,18 @@ " new_title_cell\n", " )\n", " print(\"✅ Title cell successfully updated\")\n", + " \n", + " # Image URL\n", + " image_url = \"\"\n", + " aws_url = \"https://media.licdn.com/dms/image/C560BAQER_QnUTXrPJw/company-logo_200_200/0/1670264050886?e=1707350400&v=beta&t=MgLMbMJCebJ3_IYqkifY8XNrz4cp9Z29lDvXa8a0OL0\"\n", + " linkedin_url = \"https://media.licdn.com/dms/image/C560BAQHaVYd13rRz3A/company-logo_200_200/0/1638831589865?e=1707350400&v=beta&t=43UtGFVTYryl189dtNZY69KCroFgdE4gfQEJLBsrbPI\"\n", + " notion_url = \"https://media.licdn.com/dms/image/D560BAQGSOTc29sEYDA/company-logo_200_200/0/1680539341112/notionhq_logo?e=1707350400&v=beta&t=QqIF5DJE51fQ2wQINxrk96YU-sOCQDwWXAjZGH7aZxA\"\n", + " if tool == \"AWS\":\n", + " image_url = aws_url\n", + " if tool == \"LinkedIn\":\n", + " image_url = linkedin_url\n", + " if tool == \"Notion\":\n", + " image_url = notion_url\n", "\n", " # Update json\n", " new_json = {\n", @@ -589,7 +553,7 @@ " \"open_in_chat\": open_in_chat,\n", " \"notebook_url\": html_url,\n", " \"imports\": imports,\n", - " \"image_url\": \"\",\n", + " \"image_url\": image_url,\n", " }\n", " json_templates.append(new_json)\n", " \n", @@ -623,12 +587,6 @@ "execution_count": null, "id": "younger-consensus", "metadata": { - "execution": { - "iopub.execute_input": "2023-11-05T16:46:11.423645Z", - "iopub.status.busy": "2023-11-05T16:46:11.423178Z", - "iopub.status.idle": "2023-11-05T16:46:11.428571Z", - "shell.execute_reply": "2023-11-05T16:46:11.428074Z" - }, "tags": [] }, "outputs": [], @@ -660,12 +618,6 @@ "execution_count": null, "id": "2a95cba3-027c-4a57-8bfa-2ee1e9053bb7", "metadata": { - "execution": { - "iopub.execute_input": "2023-11-05T16:46:11.430855Z", - "iopub.status.busy": "2023-11-05T16:46:11.430663Z", - "iopub.status.idle": "2023-11-05T16:46:11.461815Z", - "shell.execute_reply": "2023-11-05T16:46:11.461259Z" - }, "tags": [] }, "outputs": [], @@ -704,7 +656,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.18" + "version": "3.9.6" }, "widgets": { "application/vnd.jupyter.widget-state+json": {